Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a plesk 11 setup running centos5 and i'm a little confused by something.

On the server I have 2 ips from 2 different ranges. They are public IP's pingable from the outside world and working fine.

To not give out the IP's lets say they were 192.168.1.2 and 192.168.2.2.

On a normal linux setup you would define the ifcfg:ethX file as including both the ranges gateways and broadcast address to make it work.

On a plesk environment in /etc/sysscripts/network-scripts/ I see 2 files:

File: ifcfg-etho0

DEVICE="eth0"
BOOTPROTO="static"
BROADCAST="192.168.1.255"
DNS1="8.8.8.8"
GATEWAY="129.168.1.1"
HWADDR="XXXXXXXXXXXX"
IPADDR="192.168.1.2"
NETMASK="255.255.255.0"
NM_CONTROLLED="yes"
ONBOOT="yes"

and the second file:

ifcfg-eth0:1

DEVICE="eth0:1"
IPADDR="192.168.2.2"
NETMASK="255.255.255.0"

my question is how is traffic getting to the 192.168.2.2 address, no where can i find gateways or broadcasts from that range and yet it's working absolutely fine - any ideas?

share|improve this question

put on hold as off-topic by HopelessN00b 2 days ago

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

I suppose that IP address and subnet mask is enough to determine broadcast and discovery gateway, check this article

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.