All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Accepting packets with frame dest.addr. ff:ff:ff:ff:ff:ff for routing
@ 2004-04-22  7:28 Martin Rusko
  2004-04-22 17:42 ` [LARTC] Accepting packets with frame dest.addr. ff:ff:ff:ff:ff:ff Tony Wasson
  2004-04-23  8:50 ` Martin Rusko
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Rusko @ 2004-04-22  7:28 UTC (permalink / raw)
  To: lartc

Hi all,

do anybody know, whether is it possible to route packets incoming to 
ethernet interface as broadcasts?

~~~~~|WirelessDevice/WD|-----eth0-|LinuxRouter/RT|-eth1---(10.18.63.0/24)

tcpdump: listening on eth0
0:a:e6:ac:e8:7a ff:ff:ff:ff:ff:ff 98: 192.168.7.11 > 10.18.63.249: icmp: 
echo request (DF)
0:a:e6:ac:e8:7a ff:ff:ff:ff:ff:ff 98: 192.168.7.11 > 10.18.63.249: icmp: 
echo request (DF)

Please notice, that echo request packets are in ethernet frames, heading 
to broadcast address (ff:ff:ff:ff:ff:ff).

Linux kernel seems to be, that refuse to route such packets (not 
intented for the MAC address of eth0 interface). But that interface 
received that packets, as seen in running tcpdump session. When that 
frames has "correct" MAC addresses, I mean destination is not a 
broadcast address, the same packet (source IP, destination IP) is routed 
without any problem.

Do you have any explanation, for this? Or better, does any linux 
networking guru know some magic, how to make linux kernel start routing 
also broadcasted packets?

Any help will be much appreciated. Also, when more info, why I see such 
packets is needed, I'm ready to serve.

          Best regards

               mARTin

-- 
Martin Rusko
PhD student
Department of Automation and Measurement
Faculty of Mechanical Engineering
Slovak University of Technology
--
E-mail: rusko@sunsite.mine.nu
Web:    http://sunsite.mine.nu/~rusko
--
motto: We are Microsoft! Resistance is futile. Open your
        source code and prepare for assimilation.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-23  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22  7:28 [LARTC] Accepting packets with frame dest.addr. ff:ff:ff:ff:ff:ff for routing Martin Rusko
2004-04-22 17:42 ` [LARTC] Accepting packets with frame dest.addr. ff:ff:ff:ff:ff:ff Tony Wasson
2004-04-23  8:50 ` Martin Rusko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.