Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 1998 01:11:46 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        George Vagner <kf7nn@mutsgo.dyn.ml.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: routing 
Message-ID:  <199802110111.BAA14146@awfulhak.org>
In-Reply-To: Your message of "Tue, 10 Feb 1998 10:41:56 CST." <199802101641.KAA00399@mutsgo.dyn.ml.org> 

next in thread | previous 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.
[.....]
> 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
[.....]

The bogus routes are static.... Have you got a 
`add myaddr 255.255.255.255 127.0.0.1' in your ppp.linkup by 
any chance ?  `delete all' only deletes routes for the interface that 
ppp owns - tun0 in this case.  If you add routes manually to another 
interface, you've gotta delete them manually :-)

The latest versions of ppp can handle your scenario a bit better.  If 
you just leave out the static routes altogether, ppp will detect 
packets targeted for the interface address and just turn them around. 
Check out the `set loopback' command in the man page.

As ever, you can get it at http://www.FreeBSD.org/~brian.

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



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?199802110111.BAA14146>