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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> -
> : 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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux