[lkml]   [2000]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Under 2.2.16, broadcast packets addressed to do not go out to all interfaces in a
machine with multiple network cards. They're getting
routed out the default gateway's interface instead.

If I ifconfig eth1 down (which has the gateway behind
it), I start getting "no route to host", even though
the other subnet's still up and the default gateway's
cleaned out of the routing tables. Under no
circumstances can I get the broadcast packet to go out
more than one interface (I hate to say "like it does
under windows" but in this case, yes).

The packets aren't actually getting sent to the
gateway, they're just getting sent out the gateway's
interface. They're still broadcast packets. I.E. in
a machine with only one NIC, broadcasting works fine.

Is there something I can echo into /proc somewhere to
make this work, or some magic combination of ifconfig
and route that will tell it to actually broadcast out
more than one interface? Should I mess around with
the ethernet bridging code? I don't know if any of
these will work. The problem seems to be conceptual:
when one packet goes into the stack, only one packet
comes out. Global broadcast means with multiple NICS,
multiple packets should come out (one per NIC), and
apparently there's no support for that.

Ummm... Help?

(I have config info and test code if you can't
reproduce this. I, unfortunately, have spent the
entire afternoon trying NOT to reproduce this.


Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.049 / U:1.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site