Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 22:11:38 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Ron Rosson <insane@lunatic.oneinsane.net>
Cc:        freebsd-stable@FreeBSD.ORG, brian@Awfulhak.org
Subject:   Re: PPP not deleting ip's 
Message-ID:  <200012172211.eBHMBcf02957@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Ron 'The InSaNe One' Rosson" <insane@lunatic.oneinsane.net>  of "Thu, 14 Dec 2000 16:17:33 PST." <20001214161733.A57811@lunatic.oneinsane.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, /usr/share/examples/ppp/ppp.linkdown.sample.

I think ppp really needs a ``set maxifaddrs'' with a default value of 
2.

> I have a FreeBSD box running 4.1-R running as a Gateway machine for a
> small LAN. It is using ijppp for the connection and all is working
> well.. I got to looking at it and noticed that everytime it disconnects
> it does not delete the IP address it was assigned to before. So when it
> connects the next time and gets a different IP it just adds it to tun0.
> 
> Here is my config.. 
> 
> default:
>  allow user *
>  set server +3000 myadminpass
>  set speed 115200
>  set timeout 600
>  set log Phase Chat LCP IPCP CCP tun command
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\ dATDT\\T TIMEOUT 40 CONNECT"
> 
> n2-mppp:
> 
>  # This is for multilink modem connection
>  
>  set device /dev/cuaa0 /dev/cuaa1
>  set phone 1111111
>  set authname myauthname
>  set authkey myauthkey
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>  add default HISADDR
>  enable dns
>  
>  set mrru 1500
>  clone 1,2
>  link * set mode auto
> 
> Did I miss anything.. 
> 
> TIA
> -- 
> ------------------------------------------------------------------------------
> Ron Rosson          			      ... and a UNIX user said ...
> The InSaNe One                 			      rm -rf *
> insane@oneinsane.net     	            and all was /dev/null and *void()
> ------------------------------------------------------------------------------
>        An interesting statistic: 95.1%. That's about everyone.

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




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




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