Re: /sbin/route and virtual interfaces

Harald Milz (hm@seneca.muc.de)
Fri, 3 Sep 1999 23:08:03 +0200 (CEST)


Rob Bringman <rob@trion.com> wrote:
> [root@spy rob]# /usr/sbin/traceroute 192.168.1.5
> traceroute: Warning: Multiple interfaces found; using 172.16.1.3 @ eth0
> traceroute to 192.168.1.5 (192.168.1.5), 30 hops max, 40 byte packets
> 1 * * *
> 2 *

> ### this proves it. its trying to go out eth0 and not eth0:0 like it
> should

Right. It works correct on SuSE 6.2:

seneca # netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.23.13.1 0.0.0.0 255.255.255.255 UH 0 0 0 cipcb0
192.168.45.7 192.168.21.1 255.255.255.255 UGH 0 0 0 eth0
172.16.13.1 0.0.0.0 255.255.255.255 UH 0 0 0 isdn0
192.168.21.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.109.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.23.13.1 0.0.0.0 UG 0 0 0 cipcb0
seneca # traceroute 192.168.45.7
traceroute to 192.168.45.7 (192.168.45.7), 30 hops max, 40 byte packets
1 seneca_stby (192.168.21.1) 2994 ms !H 2999 ms !H 3000 ms !H

192.168.21.1 is on eth0:1. /sbin/route is in net_tool-1.52-5 on SuSE 6.2,
dunno if there is an equivalent on RH 6.0:

seneca # route --version
net-tools 1.52
route 1.96 (1999-01-01)
+NEW_ADDRT +RTF_IRTT +RTF_REJECT -I18N
AF: (inet) +UNIX +INET -INET6 +IPX +AX25 +NETROM +ATALK -ECONET -ROSE
HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +FR -ROSE -ASH -SIT
-FDDI -HIPPI -HDLC/LAPB

-- 
Arthur's Laws of Love:
	(1) People to whom you are attracted invariably think you
	    remind them of someone else.
	(2) The love letter you finally got the courage to send will be
	    delayed in the mail long enough for you to make a fool of
	    yourself in person.

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu