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@elec.qmw.ac.uk)
Electronic Engineering Department
Queen Mary and Westfield College
On Sun, Mar 25, 2001 at 06:50:09PM +0100, Gregory OSINAIKE wrote:> 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.Show your exact commandlines, your setup is not entirely clear to me. Regards, bert -- http://www.PowerDNS.com Versatile DNS Services Trilab The Technology People ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet