Networking Archive

Howto: Libvirt, Vyatta, Failover IP and Hetzner

Overview We will use 2 Vyatta routers, make one primary gateway for all internal servers and when primary Vyatta crashes, the backup router will take gateway IP with help of VRRP and aditionally switch frontend Failover IPĀ from one server to another. Prerequisites 2 physical servers on Hetzner Failover IP Internal NIC in both servers, to

Loadbalancing / failover with IPVS and keepalived

Introduction Correct failover and loadbalancing is crucial for high availablility environment. With proper setup we can eliminate single points of failure in case of server crash. I use linux kernel’s support for load balancing, since that seems as well documented and scalable method. What I want to achieve here, is actually fully redundant architecture, so

Vyatta / VyOS: site-to-site OpenVPN + Open Shortest Path First (OSPF) setup

When you scale your network from one location to another, sooner or later you may want to merge those networks and have only one. To merge networks, you need to setup 2 routers and site-to-site connection between them. One of open source solutions is OpenVPN and Vyatta/VyOS. This article will cover setting up site-to-site connection

Network Layers – Schema

Usually on Hetzner I want to make sure I get most of our web servers. One of limitations is that each server has it’s own 100Mbit connection and if you want to use it, you should use iptables to link all your virtual servers to public ip, so I often end up writting some special