Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 1996 20:46:46 -0500
From:      "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
To:        current@freebsd.org, fenner@parc.xerox.com
Subject:   Re: As of 960608, routed now complains bitterly.
Message-ID:  <9606190146.AA01599@iworks.InterWorks.org>

next in thread | raw e-mail | index | archive | help

> Has anyone who's had trouble with the new routed tried running it with
> '-tt -T /tmp/routed.log' or something, to see exactly what it thinks it's
> doing?

routed -q -T ~/routed.log -tt

[ starts ppp ]

bash# ifconfig ppp0          
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 204.213.233.105 --> 204.213.232.3 netmask 0xffffff00 

bash# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            pcnet.com          UGc         1        1      ppp0
rigel              localhost          UGHS        0        0       lo0
localhost          localhost          UH          1        0       lo0
pcnet.com          ts3-pt5.pcnet.com  UH          0        0      ppp0
ts3-pt5.pcnet.com  localhost          UH          0        0       lo0

[ seconds later ]

bash# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
rigel              localhost          UGHS        0        0       lo0
localhost          localhost          UH          1        0       lo0
pcnet.com          ts3-pt5.pcnet.com  UH          0        2      ppp0
ts3-pt5.pcnet.com  localhost          UH          0        0       lo0

[ notice no default route above ]

bash# cat ~/routed.log
trace command
Tracing actions started
Tracing packets started
Add interface lo0  127.0.0.1       --> 127.0.0.1/32 metric=1 <LOOPBACK> <PASSIVE|NO_RDISC> 
Add    127.0.0.1/32    --> 127.0.0.1       metric=1  <IF> lo0 21:44:31
--- 21:44:31 ---
ignore RTM_NEWADDR without dst
RTM_ADD 204.213.232.3/32 --> 204.213.233.105 from pid 0
--- 21:45:28 ---
note RTM_IFINFO with flags 0x8051 for index #4
--- 21:45:28 ---
Add interface ppp0 204.213.233.105 --> 204.213.232.3 metric=1 <PT-TO-PT> <BCAST_RDISC> 
turn on RIP
Add    204.213.232.3/32--> 204.213.233.105 metric=1  <IF> ppp0 21:45:28
Add    204.213.233.105/32--> 127.0.0.1       metric=1  <IF|LOCAL> ppp0 21:45:28
Send RIPv2 REQUEST to 204.213.232.3.520 via ppp0
sendto(ppp0, 204.213.232.3.520): Network is down
Chg interface ppp0 204.213.233.105 --> 204.213.232.3 metric=1 <PT-TO-PT> <BROKE|BCAST_RDISC> 
Chg    204.213.232.3/32--> 204.213.233.105 metric=1  <IF> ppp0 
       204.213.232.3/32-->                 metric=16 - hold-down=10 21:43:28
--- 21:45:28 ---
Send RIPv2 REQUEST to 204.213.232.3.520 via ppp0
--- 21:45:28 ---
time changed by -1 sec
--- 21:45:28 ---
RTM_MISS for 224.0.0.9
RTM_ADD 0.0.0.0 --> 204.213.232.3 from pid 189
interface ppp0 to 204.213.233.105 restored
--- 21:45:32 ---
Del    204.213.232.3/32--> 204.213.233.105 metric=16 21:43:27
re-install interface ppp0Add    204.213.232.3/32--> 204.213.233.105 metric=1  <IF> ppp0 21:45:32
--- 21:48:02 ---
RTM_ADD 0.0.0.0 --> 204.213.232.3 from pid 216
bash#

Any help?

Dan EIschen
deischen@iworks.InterWorks.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9606190146.AA01599>