* [LARTC] ip rule and traceroute
@ 2002-10-04 3:25 Jacob Teplitsky
2002-10-04 20:30 ` Julian Anastasov
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Teplitsky @ 2002-10-04 3:25 UTC (permalink / raw)
To: lartc
I'm trying to force traceroute to use non default (not main) routing table, but it doesn't work.
Anyclues are appriciated.
Thanks
- Jacob
# ip route get 192.168.2.1
RTNETLINK answers: Network is unreachable
# ip route get 192.168.2.1 from 10.10.10.13
192.168.2.1 from 10.10.10.13 via 10.10.10.1 dev nr0
cache mtu 1500 advmss 1460
# traceroute -s 10.10.10.13 192.168.2.1
traceroute to 192.168.2.1 (192.168.2.1) from 10.10.10.13, 30 hops max, 40 byte packets
1 sendto: Network is unreachable
traceroute: wrote 192.168.2.1 40 chars, ret=-1
# ip rule
0: from all lookup local
1: from 10.10.10.13 lookup nr
32766: from all lookup main
32767: from all lookup 253
# ip route show table nr
default via 10.10.10.1 dev nr0
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] ip rule and traceroute
2002-10-04 3:25 [LARTC] ip rule and traceroute Jacob Teplitsky
@ 2002-10-04 20:30 ` Julian Anastasov
0 siblings, 0 replies; 2+ messages in thread
From: Julian Anastasov @ 2002-10-04 20:30 UTC (permalink / raw)
To: lartc
Hello,
On Thu, 3 Oct 2002, Jacob Teplitsky wrote:
> I'm trying to force traceroute to use non default (not main) routing table, but it doesn't work.
> Anyclues are appriciated.
> # traceroute -s 10.10.10.13 192.168.2.1
> traceroute to 192.168.2.1 (192.168.2.1) from 10.10.10.13, 30 hops max, 40 byte packets
> 1 sendto: Network is unreachable
> traceroute: wrote 192.168.2.1 40 chars, ret=-1
I noticed this problem some time ago:
http://marc.theaimsgroup.com/?l=netfilter&m\x101087206922268&w=2
But I don't know if recent traceroute versions have this problem fixed.
Regards
--
Julian Anastasov <ja@ssi.bg>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-04 20:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 3:25 [LARTC] ip rule and traceroute Jacob Teplitsky
2002-10-04 20:30 ` Julian Anastasov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.