[NTLUG:Discuss] eth0:0 on CentOS
David Simmons
dsimmons at powersmiths.com
Tue Sep 13 08:53:43 CDT 2005
Guys,
I have a system that used to have two IP address' running on a CentOS
system (it's a server, so it's only running command-line, no gui -
that's important, as the CentOS Docs only show GUI). It did this by
having an alias file eth0:0
in /etc/sysconfig/network-scripts/ifcfg-eth0:0
Want to change this system, so that it now only has one IP
address.....so I erased the above mentioned ifcfg-eth0:0 file and
rebooted...but I got:
[root at mail root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:DA:80:72:42
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2047 errors:0 dropped:0 overruns:0 frame:0
TX packets:2098 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:319114 (311.6 Kb) TX bytes:851785 (831.8 Kb)
Interrupt:10 Base address:0xc800
eth0:0 Link encap:Ethernet HWaddr 00:50:DA:80:72:42
inet addr:67.14.219.111 Bcast:67.14.219.255 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xc800
so I did:
[root at mail /]# find / -name "*eth0*" -print
/proc/sys/net/ipv4/conf/eth0
/proc/sys/net/ipv4/neigh/eth0
/var/lib/dhcp/dhclient-eth0.leases
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ORIGINAL_ifcfg-eth0
/etc/sysconfig/network-scripts/WAS_NS2_ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth0:0
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
/etc/sysconfig/networking/profiles/default/ifcfg-eth0:0
and erased all of these other ifcfg-eth0:0 files....and rebooted...but still continue to have the second eth0:0 appearing
and my main 'eth0' now doesn't have an IP address.
HELP...any way, from command-line, to get rid of this? What am I missing?
Thanks in advance - Dave
More information about the Discuss
mailing list