[full build as of Sept. 24] "No route to host" after certain time...

Peter Radcliffe pir at pir.net
Wed Sep 24 09:31:20 PDT 2003


Udo Schweigert <freebsd at cert.siemens.de> probably said:
> I had a similar problem on two (out of 5) 4.8-p8 boxes. The only change
> between p7 and p8 was the arp-cache-security fix, so I think it's related to
> that.

I'm seeing the same thing going from p6 to p8.

On boot;

  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
  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:22:bc:41
          media: Ethernet autoselect (1000baseTX <full-duplex>)
          status: active
  add net default: gateway 172.16.2.1

Then log in from a host on the same network;

  > netstat -nr
  Routing tables

  Internet:
  Destination        Gateway            Flags    Refs      Use  Netif Expire
  127.0.0.1          127.0.0.1          UH          0        0    lo0
  192.168.2/24       link#1             UC          1        0    em0
  172.16.2.1         link#1             UHLW        0        0    em0
  192.168.3          link#2             UC          1        0   fxp0
  192.168.3.10       08:00:20:af:43:8c  UHLW        1       36   fxp0   1194

No default route. No error on the 'route add ...' in rc.network.

After boot;

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

  # uname -a
  FreeBSD host 4.8-RELEASE-p8 FreeBSD 4.8-RELEASE-p8 #4:
    Wed Sep 24 12:05:51 EDT 2003   pir at host:/usr/src/sys/compile/SWORKS  i386

Looks like this could bite a lot of people.

P.

-- 
pir



More information about the freebsd-stable mailing list