If I do a "ifconfig eth0 192.168.244.81 netmask 255.255.255.0 up",
when my old IP address is 192.168.244.80, then the rh box changes the
ip address, and can only be reached from 192.168.244.81, however if I
wish to revert back using "service network restart", which should
examine the below file(among others) and revert the IP address back to
192.168.244.80, which it does, but it also leaves the .81, which can
be reached from a windowsXP machine on the network, even if I do a
"arp -d" and dump the arp cache. If I do a "ifconfig -a", the only
interface that shows up is eth0(with no virtual interfaces ie :1) but
with the "inet addr" of .81. WTF! "ifdown eth0" & "ifup eth0" do not
fix this. I thought the only way to have multiple IP addresses on the
same interface was to have virtual interfaces. Any ideas?
"contents of /etc/sysconfig/network-scripts/ifcfg-eth0"
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.244.255
IPADDR=192.168.244.80
NETMASK=255.255.255.0
NETWORK=192.168.244.0
ONBOOT=yes
Linux version 2.4.7-10 ((E-Mail Removed)) (gcc
version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6
16:46:36 EDT 2001
Red Hat Linux release 7.2 (Enigma)
|