netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Weak host model vs .interface down
@ 2010-06-11 12:24 Joakim Tjernlund
  2010-06-11 15:48 ` [PATCH net-next-2.6] ipv4: sysctl to block responding on down interface Stephen Hemminger
  2010-06-11 16:32 ` Weak host model vs .interface down Rick Jones
  0 siblings, 2 replies; 23+ messages in thread
From: Joakim Tjernlund @ 2010-06-11 12:24 UTC (permalink / raw)
  To: netdev


Linux uses the weak host model which makes the IP addresses part of the system
rather than the interface. However consider this:

System A, eth0 connected to the network
# > ifconfig eth0 192.168.1.16
# > ifconfig eth1 192.168.1.17 down

System B
# > ping 192.168.1.17
PING 192.168.1.17 (192.168.1.17) 56(84) bytes of data.
64 bytes from 192.168.1.17: icmp_seq=1 ttl=64 time=0.618 ms

Isn't it a bit much to respond on 192.168.1.17 when its interface is down?
I even tried to set rp_filter=1 for all interfaces and that didn't help
either(not that I should need to)

   Jocke


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2010-07-01 11:51 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11 12:24 Weak host model vs .interface down Joakim Tjernlund
2010-06-11 15:48 ` [PATCH net-next-2.6] ipv4: sysctl to block responding on down interface Stephen Hemminger
2010-06-22 17:15   ` David Miller
2010-06-30 20:55     ` Stephen Hemminger
2010-06-30 20:58       ` David Miller
2010-06-28 19:03   ` Joakim Tjernlund
2010-06-28 19:42     ` Eric Dumazet
2010-06-28 21:09       ` Joakim Tjernlund
2010-06-28 21:28         ` Mitchell Erblich
2010-06-28 21:58           ` Joakim Tjernlund
2010-06-28 21:57         ` David Miller
2010-06-28 23:30           ` Joakim Tjernlund
2010-06-29  3:01             ` David Miller
2010-07-01 11:23     ` Andi Kleen
2010-07-01 11:48       ` Joakim Tjernlund
2010-06-11 16:32 ` Weak host model vs .interface down Rick Jones
2010-06-11 17:06   ` Joakim Tjernlund
2010-06-11 17:13     ` Rick Jones
2010-06-11 19:41       ` Joakim Tjernlund
2010-06-11 23:57         ` Mark Smith
2010-06-12  9:34           ` Joakim Tjernlund
2010-06-11 19:50     ` Mitchell Erblich
2010-06-11 20:46       ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).