IP addr of "down" NIC still valid?

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

 



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

[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