Editing VPS Migration with OSPF
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
[[Category:Networking]] | [[Category:Networking]] | ||
− | This article presents how to be able to migrate a | + | This article presents how to be able to migrate a VE between different subnets in the network by using a dynamic routing protocol such as OSPF. An already working OSPF setup is mandatory, this article only shows the OpenVZ specifics. |
== Quagga installation == | == Quagga installation == | ||
Line 25: | Line 25: | ||
</pre> | </pre> | ||
− | 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 | + | 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 VE. |
<pre> | <pre> | ||
Line 42: | Line 42: | ||
== Usage == | == Usage == | ||
− | Once your OpenVZ server takes part in the OSPF network, you can easily use the ‘vzmigrate’ command to migrate a | + | Once your OpenVZ server takes part in the OSPF network, you can easily use the ‘vzmigrate’ command to migrate a VE between different subnet of the network and the IP of the VE will be redistributed in the whole network as a /32 (host route). |
== Bugs == | == Bugs == | ||
− | To avoid problems with this setup the IP addresses of your | + | To avoid problems with this setup the IP addresses of your VE must be taken outside of any other subnet configured on your network. If the IP address of the VE is taken from an actual subnet, the other hosts of the subnet won't be able to communicate with it, except if you use proxy arp on the router. |