Re: [PATCH] 2.4.18 IPv4/devinet enhancements for down'ing interfaces

Julian Anastasov (ja@ssi.bg)
Sat, 27 Jul 2002 09:49:03 +0000 (GMT)


Hello,

Bhavesh_P_Davda wrote:

> However, a simple "ifconfig eth0 192.11.13.15 netmask 255.255.255.192 up",
> followed by an "ifconfig eth0 down" still leaves FIB rules in place for
> the 192.11.13.15 address, so that an ARP request that arrives on, say eth1
> for 192.11.13.15 would result in a response being generated from eth1 for
> the old 192.11.13.15 address that was on eth0, even though eth0 is down.
>
> There are a couple of ways that one can get around this problem:

You can also solve it with ip:

ip addr del 192.11.13.15/26 dev eth0

ifconfig does not delete the last remaining primary address

Regards

--
Julian Anastasov <ja@ssi.bg>

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