Re: kernel not removing interfaces

From: Julian Anastasov (uli@linux.tu-varna.acad.bg)
Date: Tue Jun 06 2000 - 22:47:38 EST


        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/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:27 EST