"No route to host after certain time" is fxp only?

Peter Radcliffe pir at pir.net
Wed Sep 24 13:51:45 PDT 2003


Mike Tancsa <mike at sentex.net> probably said:
> Not sure what the pattern is to trigger it. 

I'm seeing it on em0, so not fxp (although there is an fxp interface
in the machine also).  My problem machine so far is SMP although I
doubt that matters.  I can't add a default route at all on this
machine, reboot back to the p6 kernel and all is well.

> What is the output of
> ifconfig -a
> netstat -nra
> 
> on the problem machine ?  On my test machine in the back its been up for 
> 3hrs without issue.

Rebooted back to the bad kernel (it's consitantly failing for me) on
that machine and got (IP addresses altered) this;

  em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
          options=3<rxcsum,txcsum>
          inet 172.16.2.112 netmask 0xffffff00 broadcast 172.16.2.255
          ether 00:30:48:23:bc:41
          media: Ethernet autoselect (1000baseTX <full-duplex>)
          status: active
  fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
          inet 192.168.3.112 netmask 0xffffff00 broadcast 192.168.3.255
          ether 00:30:48:23:bc:42
          media: Ethernet autoselect (100baseTX <full-duplex>)
          status: active
  lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet 127.0.0.1 netmask 0xff000000 

  Routing tables

  Internet:
  Destination        Gateway            Flags    Refs      Use  Netif Expire
  127.0.0.1          127.0.0.1          UH          0        0    lo0
  172.16.2/24        link#1             UC          1        0    em0
  172.16.2.1         00:04:80:3b:33:00  UHLW        0        0    em0   1199
  192.168.3          link#2             UC          1        0   fxp0
  192.168.3.10       08:00:20:ad:43:8c  UHLW        1       73   fxp0   1163

The default route is supposed to be 172.16.2.1;

# route add default 172.16.2.1
add net default: gateway 172.16.2.1
# netstat -nra | fgrep default
# 

P.

-- 
pir



More information about the freebsd-stable mailing list