Static Routes [message #35831] |
Sun, 26 April 2009 14:35 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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?
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
Re: Static Routes [message #35845 is a reply to message #35831] |
Mon, 27 April 2009 12:23 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
|
[quote]On the VEs .conf file I add a line
IP_ADDRESS="192.168.3.253"[quote]
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.
Quote: | 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
|
|
|