Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 1996 10:31:50 -0800
From:      Steven Wallace <swallace@ece.uci.edu>
To:        freebsd-questions@freebsd.org
Subject:   route Q
Message-ID:  <199601191831.KAA24605@newport.ece.uci.edu>

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

In /etc/sysconfig, I have
	defaultrouter=128.200.9.1

Which sets up a default route when it boots up, so that netstat -r looks like:

Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          csi.gw.nts.uci.edu UGSc        6        0       ed0
localhost        localhost          UH          1        1       lo0
128.195          csi.gw.nts.uci.edu UGc         0        0       ed0
eng9             link#1             UC          1        0 
csi.gw.nts.uci.e 0:0:c:1:2:a7       UHLW       15        0       ed0   1199
vdil             8:0:20:72:13:d     UHLW        0      917       ed0   1134
imperial         localhost          UGHS        0        6       lo0
linda            8:0:20:1a:f9:31    UHLW        1        1       ed0   1134
128.200.9.255    link#1             UHLW        1        2 
128.200.96       csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.97       csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.98       csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.99       csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.100      csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.170      csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.223      csi.gw.nts.uci.edu UGc         0        0       ed0
128.200.245      csi.gw.nts.uci.edu UGc         0        0       ed0
BASE-ADDRESS.MCA link#1             UCS         0        0 


But after a few minutes, the default route gets zapped automatically somehow,
so netstat -r is:

Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
localhost        localhost          UH          1        1       lo0
eng9             link#1             UC          1        0 
128.200.9.1      0:0:c:1:2:a7       UHLW        0        0       ed0   1199
128.200.9.57     8:0:20:72:13:d     UHLW        0     1020       ed0    999
imperial         localhost          UGHS        0        6       lo0
128.200.9.165    8:0:20:1a:f9:31    UHLW        1        1       ed0    999
128.200.9.255    link#1             UHLW        1        3 
224              link#1             UCS         0        0 


After I manually route add default, everything is fine until I reboot again.


Anyone know what is causing this and how to fix it?


Thanks, Steven




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