strange 4.8-STABLE routing table behavour

Eugene Grosbein eugen at kuzbass.ru
Sun Sep 21 22:39:18 PDT 2003


Hi!

netstat says me there are no routes through 172.20.2.105:

# netstat -rn | fgrep 172.20.2.105
172.20.2.105       00:60:94:23:da:43  UHLS       10     8062    rl1
# ifconfig rl1
rl1: flags=89c3<UP,BROADCAST,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet 172.20.2.75 netmask 0xffffff00 broadcast 172.20.2.255
        inet 172.20.2.77 netmask 0xffffffff broadcast 172.20.2.77
        ether 00:50:ba:5d:09:24
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

But route says there are:

# route -n get 172.20.100.45
   route to: 172.20.100.45
destination: 172.20.100.45
    gateway: 172.20.2.105
  interface: rl1
      flags: <UP,GATEWAY,HOST,MODIFIED,DONE,WASCLONED>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu    
expire
       0         0         0        22        17         0      1500         0 

And kernel really tries to send packets through 172.20.2.105
that has static ARP entry but is down.

How this can be?

Eugene Grosbein


More information about the freebsd-net mailing list