LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-30-2012, 12:29 PM   #1
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Rep: Reputation: 15
Question Reverse Path (packet) Filtering and policy based routing (iproute2)


I have a box with 2 NICs. The default route is via eth0.

The reverse path filtering (feature) of the kernel drops incoming packets where the route to the source IP address of the packet would go out a different NIC than the one it came in.

Policy-based routing (http://www.policyrouting.org/iproute2-toc.html) has helped to alleviate that problem by, in a sense, enabling me to provide a default-route per interface whereby I create a custom routing table and enforce routing rules to use that table.

However, I cannot get this policy-based routing to work the same way for multicast packets, where the source IP address can be pretty much anything. Does policy based routing apply to multicast packets? There are some 'multicast' keywords for the "ip rule" and "ip route" commands but either I am not using them correctly or they have no effect. Has anyone any experience with iproute2 and multicast to avoid dropped packets due to reverse path filtering?
 
  


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
Port-policy based routing, not a gateway murmel Linux - Networking 0 09-13-2009 09:16 PM
Policy based routing, leaking packets tetra Linux - Networking 0 04-22-2009 02:15 AM
Source based policy routing with one NIC ardora Linux - Networking 3 12-02-2007 08:02 AM
help with policy based routing GaijinPunch Linux - Networking 4 06-19-2005 06:35 PM
Halted packet filtering+routing+shaping router or bridge? Norel Linux - Networking 0 05-02-2002 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:37 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