won't broadcast to multiple NICs

From: Rob Landley (telomerase@yahoo.com)
Date: Thu Nov 02 2000 - 18:55:38 EST

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:12 EST