Re: kernel not removing interfaces

Julian Anastasov (uli@linux.tu-varna.acad.bg)
Wed, 7 Jun 2000 06:47:38 +0300 (EEST)


Hello,

> i have a reproducable situation where the system responds to pings on an
> interface that does not show up in ifconfig. i'm running 2.2.14 on i386.
>
> the machine (let's call her borealis) has two interfaces. eth0 is connected
> to a local network (192.168.1.1), eth1 is connected to a dsl modem with a
> static ip (140.186.109.11). until recently, we were using ppp/ipmasq in
> place of eth1. i expect this to be a not uncommon setup.
>
> if i bring eth1 (dsl) down, i can still ping (even ssh in) on that interface
> from borealis or one of the machines she masquerades for (nothing).

This is a known issue. This is the way Linux 2.2+ is working.
Try something like this:

ifconfig eth1 0.0.0.0 down

If it is working you can update /sbin/ifdown to set addr
to 0.0.0.0 on down.

Regards

--
Julian Anastasov <uli@linux.tu-varna.acad.bg>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/