Re: receiving broadcasts from host zero in a subnet?

kuznet@ms2.inr.ac.ru
Sat, 23 Oct 1999 17:11:45 +0400 (MSK DST)


Hello!

> > You need correct routing tables so that Linux knows that 192.168.1.255
> > is a broadcast.
>
> The 192.168.1.255 address is already the broadcast address

The advice was not quite correct. You should tell kernel that
192.168.1.0 is _not_ broadcast, because all the packets with broadcast
source are unconditionally dropped.

You can make this with ip (ftp.inr.ac.ru/ip-routing/iproute2-*):

ip route del broadcast 192.168.1.0

BTW could you tell me (for database of bogons), what firmware
sends bogus packets, and what kind of packets it sends.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/