All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Teplitsky <jacobt@bivio.net>
To: lartc@vger.kernel.org
Subject: [LARTC] ip rule and traceroute
Date: Fri, 04 Oct 2002 03:25:19 +0000	[thread overview]
Message-ID: <marc-lartc-103370198815464@msgid-missing> (raw)

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/

             reply	other threads:[~2002-10-04  3:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-04  3:25 Jacob Teplitsky [this message]
2002-10-04 20:30 ` [LARTC] ip rule and traceroute Julian Anastasov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103370198815464@msgid-missing \
    --to=jacobt@bivio.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.