[LARTC] Policy routing - tables not working

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Simple question.

When i place a route in 'main' table packets are sent. When i place the
same route in my table and make a rule to look up this table when
packets match rule, the packets are not sent ('network unreachable').

The rule mathces packets with fwmark 1
(ip rule fwmark 1 table mail)

table mail has a route to subnet 50/8 via 30.0.0.1
(ip route add 50/8 via 30.0.0.1)

Have checked and packets are being marked correctly.

Have tried policy rouign with source address and still did not work.

Using linux -2.3.99-pre7

Have set up /etc/iproute2/rt_tables file


Any help would be appreciated.

Greg.
 
-- 
----------------------
Gregory OSINAIKE (ee9829@xxxxxxxxxxxxxx)
Electronic Engineering Department
Queen Mary and Westfield College



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux