OpenVZ Forum

Home » General » Support » Static Routes
Static Routes [message #35831] Sun, 26 April 2009 14:35 Go to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
I'm just not good at this networking stuff. I have a cabinet of 8 computers and trying to create some local static IPs so that these computers can talk to each other locally. And trying to do it as simple as possible.

On the host I added a file called ifcfg-eth0:192


On the VEs .conf file I add a line


Seems to work OK as long as the new private IP addresses are not the first in the list. I'm just wondering what special about the first IP and if there should be some kind of GATEWAY line? Am I doing this right?

Re: Static Routes [message #35845 is a reply to message #35831] Mon, 27 April 2009 12:23 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

[quote]On the VEs .conf file I add a line


First, all the IP addresses of VE should be listed in the same IP_ADDRESS statement, i.e. multiple IP_ADDRESS assignments in config file won't work as expected.


if there should be some kind of GATEWAY line?

If all the boxes are on the same LAN (i.e. same network segment) no router/gateway is needed.

Kir Kolyshkin
Previous Topic: hidden iptables in containers
Next Topic: VE Processes
Goto Forum:

Current Time: Sat Dec 02 15:22:06 GMT 2023

Total time taken to generate the page: 0.04713 seconds