Re: IP addr of "down" NIC still valid?

From: Joshua Stewart (joshua.stewart@comcast.net)
Date: Wed Jan 29 2003 - 19:11:30 EST


I setup eth0:1 as 10.10.10.10 and pinged it. Worked fine.
I did 'ifconfig eth0:1 down'. Pinged 10.10.10.10. No response.

I'm using kernel 2.4.20 and cannot reproduce your result. Sorry that I
can't help.

On Wed, 2003-01-29 at 16:07, Larry Sendlosky wrote:
> I have 2 NICs:
> eth0 is 192.168.0.10
> eth1 is 10.10.10.10
> default route is 192.168.0.1 (via eth0)
> Both NICs are "up".
> eth0 is the only NIC with cable connected (and working).
>
> If I ping 10.10.10.10, it works (via loopback).
> However, if I do 'ifconfig eth1 down' and then ping
> 10.10.10.10, it still works. Is this the correct behavior?
>
> Suppose there is "real" 10.10.10.0 network on the other
> side of the default gateway/router and I want to get
> to the "real" 10.10.10.10? Isn't "shutting down" the
> NIC via ifconfig enough?
>
> thanks
> larry
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html



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



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:02 EST