OpenVZ Forum


Home » General » Support » Static Routes
Static Routes [message #35831] Sun, 26 April 2009 14:35 Go to previous 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

DEVICE=eth0:192
ONBOOT=yes
BOOTPROTO=static
IPADDR="192.168.3.10"
NETMASK="255.255.255.0"
NETWORK="192.168.3.0"
BROADCAST="192.168.3.255"

On the VEs .conf file I add a line

IP_ADDRESS="192.168.3.253"

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?


 
Read Message
Read Message
Previous Topic: hidden iptables in containers
Next Topic: VE Processes
Goto Forum:
  


Current Time: Sat Sep 07 17:28:21 GMT 2024

Total time taken to generate the page: 0.05883 seconds