LARTC
[Top] [All Lists]

Re: [LARTC] Routing problem (RTNETLINK answers: Invalid argument) on mul

To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Routing problem (RTNETLINK answers: Invalid argument) on multiple internet link.
From: Paul Viney <paul@diasoft.nl>
Date: Wed, 14 Feb 2007 08:30:48 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <20070214025359.GS4088@samad.com.au>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <200702131450.13852.paul@diasoft.nl> <200702132254.51313.paul@diasoft.nl> <20070214025359.GS4088@samad.com.au>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: KMail/1.9.5
> > I still seem to have much the same problem. I no longer get ICMP
> > unreachable errors, but the packet just seems to disappear - I can't see
> > it being forwarded on any interface, nor can I find any kind of reply -
> > icmp or otherwise.
>
> sounds like a firewall issue!

It does sound like a firewall issue, but the only firewall rule I have at the 
moment is the one doing the DNAT. If I do 'iptables -t nat -L -v', then I can 
see the number of packets increasing. Once I remove the firewall rule, I get 
my "icmp unreachable" errors again. Funnily enough, if I then reinstate the 
firewall (dnat) rule, then I still get "icmp unreachable" errors and the 
packet count doesn't go up for the rule. It's almost as though the rule 
doesn't get consulted. 'ip route flush cache' doesn't make a difference. 
After about 5 minutes the "icmp unreachable" errors stop and the packet count 
starts going up, although I still can't find my packet on the next hop. (I do 
have forwarding switched on). The packet count on a iptables log rule on the 
forward table does not go up, giving me the impression that routing has 
failed. 
I also tried ip r get <random internet address> from 192.168.12.5, which did 
indeed give me the same "RTNETLINK answers: Invalid argument" error. I guess 
that means that my understanding of the purpose of 'ip r get' is indeed 
faulty. 

Thanks for all your help so far.

Paul Viney

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>