VPS Migration with OSPF

HostRipples Linux and windows VPS hosting discussion and support related issues with their solutions
Site Admin
Posts: 50
Joined: Thu May 30, 2013 10:28 pm

VPS Migration with OSPF

Postby hrdedicated » Sat Jun 01, 2013 7:48 am


Install the Quagga routing suite available on the official website. For many distributions, a prebuilt package is available:

Under Debian:

apt-get install quagga

Under Gentoo:

emerge quagga

Under Fedora:

yum install quagga

Quagga configuration

In /etc/quagga/zebra.conf just put a password to be able to access the telnet interface.

password zebra

In /etc/quagga/ospfd.conf configure the OSPF network and area in which is OpenVZ server will be and configure the redistribution of routes generated by the container.

password zebra
router ospf
redistribute kernel route-map only-ve
network YOUR_NETWORK/XX area
route-map only-ve permit 10
match interface venet0
line vty


Once your OpenVZ server takes part in the OSPF network, you can easily use the ‘vzmigrate’ command to migrate a container between different subnet of the network and the IP of the container will be redistributed in the whole network as a /32 (host route).

Thank you

Return to “VPS Hosting - Virtual Private Servers Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest