Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 10:41:56 -0600 (CST)
From:      George Vagner <kf7nn@mutsgo.dyn.ml.org>
To:        questions@FreeBSD.ORG
Subject:   routing
Message-ID:  <199802101641.KAA00399@mutsgo.dyn.ml.org>

next in thread | raw e-mail | index | archive | help
i have a modem connected to the net and occaisionally it drops
the line and the system redials and gets a new ip, i see my old ip addresses
in netstat -rn also, this is causing problems with samba cause sometimes it cant
find my samba shares.

how do i set it so it deletes the old existing routes and creates new ones or
just make it so samba only attaches to my internal ip address?

i have tried interface = 192.168.0.1/24  in the smb.conf and verified that
delete ALL is in my ppp.linkup file.


# nmblookup -B mutsgo
Sending queries to 206.66.14.168    <<<<<should be 192.168.0.1

shut off modem and let it relog in.

# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            206.66.14.162      UGSc        4       46      tun0
127.0.0.1          127.0.0.1          UH          3        1       lo0
192.168            link#1             UC          0        0 
192.168.0.1        0:a0:c9:21:13:44   UHLW        2       77       lo0
192.168.0.2        0:a0:c9:21:13:a   UHLW        4      660      fxp0   1172
192.168.0.3        0:aa:0:b8:f1:b6    UHLW        0        0      fxp0    232
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWb       2       30      fxp0
204.178.75.92/32   127.0.0.1          UGSc        2        0       lo0
206.66.14.162      206.66.14.168      UH          5        0      tun0
206.66.14.168/32   127.0.0.1          UGSc        0        0       lo0

IPX:
Destination        Gateway            Flags     Refs     Use     Netif Expire

relogged in again

# nmblookup -B mutsgo
Sending queries to 206.66.14.168
# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            206.66.11.224      UGSc        4        0      tun0
127.0.0.1          127.0.0.1          UH          3        1       lo0
192.168            link#1             UC          0        0 
192.168.0.1        0:a0:c9:21:13:44   UHLW        2       77       lo0
192.168.0.2        0:a0:c9:21:13:a0   UHLW        3      696      fxp0   1181
192.168.0.3        0:aa:0:b8:f1:b6    UHLW        0        0 
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWb       2       32      fxp0
204.178.75.92/32   127.0.0.1          UGSc        1        0       lo0
206.66.11.224      206.66.11.249      UH          5        0      tun0
206.66.11.249/32   127.0.0.1          UGSc        0        0       lo0
206.66.14.168/32   127.0.0.1          UGSc        0        0       lo0

IPX:
Destination        Gateway            Flags     Refs     Use     Netif Expire



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



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