Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-19-2009, 05:34 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 8

Rep: Reputation: 0
marking ARP packets with ebtables problem

I want to mark ARP packets (incoming and outgoing) and direct them to a specific routing tables by using ip rules. I am using ebtables to mark the packets but somehow not mark in the skb when it hits arp_process. Here is my configuration

ebtables -t nat -A PREROUTING -p arp --arp-ip-dst -j mark --mark-set 80

ebtables -t nat -A OUTPUT -p arp --arp-ip-src -j mark --mark-set 80

256: from all lookup local
32765: from all fwmark 0x50 lookup table eth0tbl
32766: from all lookup main
32767: from all lookup default

[table eth0tbl] dev ctrl1 scope link
default via dev eth0

There is no route in the main table.

Can any one please point to the problem in this setup.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can we block arp packets? Linux.tar.gz Linux - Networking 13 09-13-2011 03:18 AM
Filtering ARP Packets steve_austin Programming 0 03-21-2009 11:54 AM
Need Help to extractation from ARP packets waqqasar Programming 0 07-11-2006 07:33 AM
What are ARP packets? abefroman Linux - Security 2 05-23-2005 01:52 AM
Flooded by ARP packets pymehta Linux - Networking 4 04-15-2005 08:46 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration