while the network configuration in the ifcfg-eth0 is as follows:
IPADDR=x.x.31.231
BROADCAST=x.255.255.255
NETWORK=x.x.31.0
NETMASK=255.255.255.0
GATEWAY=x.x.31.1
after /sbin/ifup eth0
/sbin/ifconfig eth0 displays a magic configuration as :
eth0 Link encap:Ethernet HWaddr xxxxxx
inet addr:x.x.35.200 Bcast:x.x.35.255 Mask:255.255.255.128
.........................
fiddling over and over (ifdown then ifup, and also including to restart network and NetManager services), just no damn a use! The system always applies this weird IP configuration !!
Finally, the bug got found by just "grep "x.x.35.200" /etc/sysconfig/network-scripts/* ", there is another file
ifcfg-reference there that contains this surprising configuration above.
Move this extraneous file, either deleting or moving to other directory, the problem got rid of !
No comments:
Post a Comment