MAC filter

m.a.t.e.o <[email protected]>
Newsgroups gmane.linux.network.routing
Message-ID <[email protected]>
I did search a lot of post in this list and other, but never have a solution
that works...
I want to filter the INGRESS by MAC address...please, any help?

There are a "solution" that supposedly works, but did not work for me:


#######
for the MAC address: M0M1M2M3M4M5

tc filter add dev eth1 parent 1: protocol ip prio 5 u32 match u16 0x0800
0xffff at -2 match u16 0x4455 0xffff at -4 match u32 0x00112233 0xffffffff
at -8 flowid 1:40

#######

Thx, a lot.-

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.