• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3612
  • Last Modified:

Can't delete alias eth0:1

Somehow I've configured an alias for my eth0 device.  If I do ifconfig, I see eth0 and eth0:1.  I can do a ifconfig eth0:1 del xx.xx.xx.xx and it goes away.  However, if I do a 'ifdown eth0' and then 'ifup eth0', it's back out there.  When both are active, I notice a continual slowdown of network access.  Websites take several minutes to display, and pings just don't happen.  I use linuxconf to configure the devices, but there are not aliases configured in there.  Is there some way to permanently disable this device?  Could this cause the slowdown on my machine?

Thanks

Ben
Mandrake 9.0
Sony VAIO - 933 Mhz
0
bbressler
Asked:
bbressler
  • 3
  • 2
1 Solution
 
heskyttbergCommented:
Hi!

eth0 and eth0:1 is the same interface.

So delteing or removing eth0 will kill your LAN/Internet connection to the Linux box.

If you do ifconfig eth0 and ifconfig eth0:1 you'll notice that the hardware address, HWaddr XX:XX:XX:XX:XX:XX, is the same for both devices.

eth0:1, eth0:2 ..... eth0:n

They are used so you can multiple IP numbers to a NIC.
I don't know what max number of IPs you can have, but I think it's enough for most people.

Regards
/Hans - Erik Skyttberg
0
 
bbresslerAuthor Commented:
Right...but I want to get rid of the eth0:1 - for good.  Since they are on different subnets, I think it is slowing the connection way down.  When I remove it, the machine functions properly and has quick network speed.  With it enabled, it slows to a crawl quite quickly.  Thanks
0
 
heskyttbergCommented:
Hi!

I'm sorry I missed the ifdown, ifup first time!

Go here:

/etc/sysconfig/network-scripts

You should have a file called ifcfg-eth0

Edit that file and remove the offending lines.

Regards
/Hans - Erik Skyttberg
0
 
heskyttbergCommented:
Hi!

That is the place for redhat, but you should be able to find something similiar if you use another distro.

Regards
/Hans - Erik Skyttberg
0
 
bbresslerAuthor Commented:
Great job... Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now