From owner-freebsd-questions Tue Feb 10 19:44:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27012 for questions-outgoing; Tue, 10 Feb 1998 19:44:33 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26963 for ; Tue, 10 Feb 1998 19:44:21 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id TAA00297; Tue, 10 Feb 1998 19:43:26 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 10 Feb 1998 19:43:26 -0800 (PST) From: Doug White Reply-To: Doug White To: George Vagner cc: questions@FreeBSD.ORG Subject: Re: routing In-Reply-To: <199802101641.KAA00399@mutsgo.dyn.ml.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Feb 1998, George Vagner wrote: > 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. UNIX boxes don't like hopping around too much. > 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 <<<< > shut off modem and let it relog in. Try using a strict IP address instead of your name. The system will call the name resolver to find mutsgo and it probably hits your ml.org name first. > 206.66.14.168/32 127.0.0.1 UGSc 0 0 lo0 > > relogged in again > > 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 You need to expunge that other localhost route before calling back. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message