Subject: bin/4427: traceroute now requires explicit interface
To: None <gnats-bugs@gnats.netbsd.org>
From: Luke Mewburn <lukem@karybdis.cs.rmit.edu.au>
List: netbsd-bugs
Date: 11/04/1997 22:07:21
>Number:         4427
>Category:       bin
>Synopsis:       traceroute now requires a -i ppp0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   lm
>Arrival-Date:   Tue Nov  4 03:20:02 1997
>Last-Modified:
>Originator:     Luke Mewburn
>Organization:
NetBSD Code Grunts
>Release:        NetBSD-971015
>Environment:
System: NetBSD karybdis 1.3A NetBSD 1.3A (LUKEM) #3: Sun Oct 26 01:13:48 EST 1997 lukem@karybdis:/z/src/current/src/sys/arch/i386/compile/LUKEM i386

>Description:
	with the new traceroute, I get:

lukem@karybdis> traceroute cvs.netbsd.org
traceroute: Warning: Multiple interfaces found; using 192.168.42.42 @ ed0
traceroute to homeworld.cygnus.com (205.180.83.70), 30 hops max, 40 byte packets


>How-To-Repeat:
	have an ethernet card (ed0) and a ppp link (ppp0), the latter being
	your default route. do
		traceroute some-host-behind-ppp-link...

lukem@karybdis> netstat -in:
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>        00:00:de:ad:be:ef    82892     0   115522     0     4
ed0   1500  192.168.42    192.168.42.42        82892     0   115522     0     4
lo0   32976 <Link>                            176593     0   176593     0     0
lo0   32976 127           127.0.0.1           176593     0   176593     0     0
lo1   32976 <Link>                                14     0       14     0     0
lo1   32976 127           127.0.0.2               14     0       14     0     0
ppp0  1064  <Link>                            179263     0   220018     0     0
ppp0  1064  131.170.27.57 131.170.27.57       179263     0   220018     0     0
==

	netstat -rn:
==
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  Interface
default            131.170.24.8       UG          3     6715      -  ppp0
127.0.0.1          127.0.0.1          UH         12   165057      -  lo0
127.0.0.2          127.0.0.2          UH          1       14      -  lo1
131.170.24.8       131.170.27.57      UH          1        0      -  ppp0
192.168.42         link#1             UC          0        0      -  ed0
192.168.42.11      link#1             UHL         4    82687      -  ed0
192.168.42.42      00:00:de:ad:be:ef  UHL         4    11517      -  lo0
192.168.42.255     link#1             UHL         3     6057      -  ed0
==

>Fix:
	no idea; back out latest traceroute ? ;-)
>Audit-Trail:
>Unformatted: