Bug 13127

Summary: Routing broken in 3.2-STABLE 1999-07-29?
Product: Base System Reporter: seth <seth>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-STABLE   
Hardware: Any   
OS: Any   

Description seth 1999-08-14 00:00:00 UTC
ifconfig -a returns

freebie 517: ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 172.17.236.10 netmask 0xfffffc00 broadcast 172.17.239.255
        ether 00:10:5a:22:14:82 
        media: 100baseTX <full-duplex>
        supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet w.x.96.162 netmask 0xffffc000 broadcast w.x.127.255
        ether 00:c0:4f:68:dc:ec 
        media: 100baseTX <full-duplex>
        supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 

netstat -nr with hosts removed looks like this:
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            w.x.64.1       UGSc        2        7      xl1
127.0.0.1          127.0.0.1          UH          1     1215      lo0
w.x.64/18          link#2             UC          0        0      xl1
172.17/24          172.17.236.1       UGSc        1      835      xl0
172.17.1/24        172.17.236.1       UGSc        6        2      xl0
172.17.204/23      172.17.236.1       UGSc        0        0      xl0
172.17.206/23      172.17.236.1       UGSc        0        0      xl0
172.17.208/23      172.17.236.1       UGSc        0        0      xl0
172.17.210/23      172.17.236.1       UGSc        0        0      xl0
172.17.212/23      172.17.236.1       UGSc        0        0      xl0
172.17.214/23      172.17.236.1       UGSc        0        0      xl0
172.17.216/23      172.17.236.1       UGSc        0        0      xl0
172.17.218/23      172.17.236.1       UGSc        0     1006      xl0
172.17.220/23      172.17.236.1       UGSc        0       99      xl0
172.17.222/23      172.17.236.1       UGSc        0       45      xl0
172.17.224/23      172.17.236.1       UGSc        0       29      xl0
172.17.226/23      172.17.236.1       UGSc        0       17      xl0
172.17.228/23      172.17.236.1       UGSc        0        0      xl0
172.17.230/23      172.17.236.1       UGSc        0        0      xl0
172.17.232/23      172.17.236.1       UGSc        0        0      xl0


However, a ping to 172.17.72.73 (should be going to default), returns


freebie 516: ping 172.17.72.73
PING 172.17.72.73 (172.17.72.73): 56 data bytes
ping: sendto: No route to host

How-To-Repeat: 

Add the static routes above using the following commands:

route add -net 172.17.204.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.206.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.208.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.210.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.212.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.214.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.216.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.218.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.220.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.222.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.224.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.226.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.228.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.230.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.232.0 172.17.236.1 -netmask 255.255.254.0
route add -net 172.17.1.0 172.17.236.1 -netmask 255.255.255.0
route add -net 172.17.0.0 172.17.236.1 -netmask 255.255.255.0
      
Attempt a ping to an address within the /16 but outside any of the static
routes.
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-08-14 00:08:30 UTC
State Changed
From-To: open->closed

Originator reports that the problem was user error.