Networking Forums

Networking Forums > Computer Networking > Linux Networking > Traffic shapping filtering on the Ethenet Type number

Reply
Thread Tools Display Modes

Traffic shapping filtering on the Ethenet Type number

 
 
HangaS
Guest
Posts: n/a

 
      11-30-2005, 07:03 PM
Hi ALL,


I'm trying to use 'tc' filter to classify packets based on the
EthernetNumber (http://www.iana.org/assignments/ethernet-numbers) and
not on the Protocol Number
(http://www.iana.org/assignments/protocol-numbers).

Since I'm using my own Ether Number from the experimental range, I know
I can't use the iptable MARK target feature as 'iptables' only works on
the IP header level.

So, I'm trying to use the u32 filter option of 'tc' but with no result,
is it possible to classify packets on the ethernet level?

Can anyone give me some pointers or a tc filter exemple to mach the
ethernet number on a packet?

Thanks

HangaS

 
Reply With Quote
 
 
 
 
HangaS
Guest
Posts: n/a

 
      12-02-2005, 06:13 PM
I spent a some more time fishing in google and I came across this issue
in a FAQ from lartc.org

Looks like the trick is using u32 filter but with NEGATIVE offsets!
I would never though of that!

HangaS

 
Reply With Quote
 
HangaS
Guest
Posts: n/a

 
      12-02-2005, 06:16 PM
Here is the article..

http://www.docum.org/docum.org/faq/cache/62.html

 
Reply With Quote
 
HangaS
Guest
Posts: n/a

 
      12-02-2005, 06:16 PM
Here is the article..

http://www.docum.org/docum.org/faq/cache/62.html

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NetDecision Traffic Grapher (MRTG/PRTG type application) NetMechanica Home Networking 0 02-07-2008 07:19 AM
NetDecision Traffic Grapher (MRTG/PRTG type application) advanced.net.worker@gmail.com Broadband 4 02-05-2008 02:19 PM
IPTables filtering what should be allowed outbound traffic SmittyBroham Linux Networking 6 10-03-2005 05:42 PM
filtering outgoing esp traffic with 2.6 stack David Hajek Linux Networking 0 09-01-2004 09:19 AM
VPN - filtering PPTP traffic to LAN Philip Meyer Windows Networking 1 12-30-2003 08:16 PM



1 2 3 4 5 6 7 8 9 10 11