IP address / netmask issue (possibled conflict?)

wanos

Verified User
Joined
Aug 5, 2004
Messages
16
After searching for a reason why some servers have issues talking to my server I found that ifconfig & the DA CP show 2 different sets of netmask for some the IP's

I have IP range from 64.27.7.50 - 62
netmask of 255.255.255.240
getway of .49
& broadcast of .63

This all adds up fine.
When I checked ifconfig on redhat9 I found
eth0 inet addr:64.27.7.50 Bcast:255.255.255.255 Mask:255.255.255.240
eth0:0 inet addr:67.27.7.55 Bcast:67.27.7.63 Mask:255.255.255.240
eth0:1 inet addr:64.27.7.51 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:2 inet addr:64.27.7.52 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:3 inet addr:64.27.7.53 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:4 inet addr:64.27.7.54 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:5 inet addr:64.27.7.55 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:6 inet addr:64.27.7.56 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:7 inet addr:64.27.7.57 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:8 inet addr:64.27.7.58 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:9 inet addr:64.27.7.59 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:10 inet addr:64.27.7.60 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:11 inet addr:64.27.7.61 Bcast:64.27.7.63 Mask:255.0.0.0
eth0:12 inet addr:64.27.7.62 Bcast:64.27.7.63 Mask:255.0.0.0

NB : The IP .55 appears twice & the netmasks are wrong for most IP's.

When I check the CP admin -> IP management I get the correct netmask.

I have checked the daconf & other files listed in the startips script & I am unsure what area is causing this conflict & the doubleup.

Where would someone recommend I edit/look for the culprit & what is the best way to fix a live production box?
I saw the plugin for JBox but would rather fix it at the source than get a script that will override.

Thanks heaps for the help & the read
 
update

changed the static content at /etc/sysconfig/blah & it seems to be showing the correct info, even after rebooting.
It seems that the startip scripts can be ignored, which is great for me.
Now I need to get rid of the duplicate & they are all good.

This was found as I do not receive mail from hotmail & paypal .... which is still not occuring. I get mail from most mailsystems fine ... as I & my clients receive mail from all sorts of locations including yahoo & gmail.

Any Idea's ???

Cheers & thanx
 
The startip scripts will error out (but you probably won't see the error) if the IP#s are all set up in your OS startup scripts, since the startip scripts run after the network is started.

The ifconfig command will always show you what the server is actually doing.

While the masks shown for your virtual Network Interfaces 1 through 12 will work, they're very insecure and shouldn't be used.

Jeff
 
Back
Top