Skip to contentSkip to conversation

Forwarding IP broadcasts

DISCUSSION [email protected] 1 participant 1 message Aug 26, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,
Does anyone know how I could forward IP broadcasts?
That is when I receive a unicast/broadcast packet that is not addressed to the localhost I would like to change its address to 255.255.255.255 and forward it on.
I know that the reason linux does not like this, if you were to ping 255.255.255.255 and nodes forwarded broadcasts you could be in trouble :-)

Yet in a routing protocol I'm trying to implement, if I don't know the next hop for a packet I would like to use broadcasts in a controlled fashion,

So I was wondering do any of you know where broadcasts are dropped on forwarding and if you know how I could patch the kernel (or otherwise ) to get around this,

Thanks very much for your time,
Kevin