Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip

Ben Greear (greearb@candelatech.com)
Mon, 17 Sep 2001 14:39:31 -0700


"H. Peter Anvin" wrote:
>
> Ben Greear wrote:
> >
> > That will always work, even when you have multiple ethernet
> > interfaces??
> >
>
> It better. Otherwise you'd have the machine sending packets out one
> interface and in the other, and the two networks might not even be
> connected...
>
> -hpa

This is actually quite easy to have happen unless you turn on
arp-filter. Put both interfaces on the same network and funny
things happen (pkts go in one IF, and out the other...). Now,
you could probably argue that for such advanced (or broken)
networks, the user has to just be more careful/specific. I don't
know about the details for this specific issue, but so long as
the tool(s) allow (even if it's a PITA) one to force the
configuration to happen correctly, then it's no big deal...

Ben

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear
-
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/