LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 0
marking ARP packets with ebtables problem


Hi,
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 172.17.117.25 -j mark --mark-set 80

ebtables -t nat -A OUTPUT -p arp --arp-ip-src 172.17.117.25 -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]
172.17.0.0/16 dev ctrl1 scope link
default via 172.17.254.254 dev eth0

There is no route in the main table.

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

Thanks
 
  


Reply


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 02:18 AM
Filtering ARP Packets steve_austin Programming 0 03-21-2009 10:54 AM
Need Help to extractation from ARP packets waqqasar Programming 0 07-11-2006 06:33 AM
What are ARP packets? abefroman Linux - Security 2 05-23-2005 12:52 AM
Flooded by ARP packets pymehta Linux - Networking 4 04-15-2005 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:49 PM.

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