tun0 keeping old IP's?

From: Andrew Dean (ferni@shafted.com.au)
Date: 08/21/01


From: "Andrew Dean" <ferni@shafted.com.au>
To: <freebsd-security@FreeBSD.ORG>
Date: Tue, 21 Aug 2001 13:25:52 +1000

This is probably the wrong place to post this but anyways

My dial up is doing something wierd, its like my tun0 is keeping old ip's

[root@powder ppp# ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524
        inet 63.34.218.34 --> 63.12.31.204 netmask 0xffffff00
        inet 63.34.216.20 --> 255.255.255.255 netmask 0xffffffff
        inet 63.34.216.176 --> 63.12.31.203 netmask 0xffffff00
        inet 63.34.214.28 --> 63.12.31.202 netmask 0xffffff00
        Opened by PID 101

everytime it redails it keeps the old one and just adds a new on on the end

/usr/sbin/ppp -quiet -ddial -nat OZ

thats the command i'm using to dial my profile

this is my ppp.conf

[root@powder ppp# more ppp.conf
default:
  set log Phase Chat LCP IPCP CCP tun command
  set device /dev/cuaa0
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 40 CONNECT
"
OZ:
  set phone "14140390101444" #Separate multiple phone numbers with a
|
  set login "TIMEOUT 10 gin:-BREAK-gin: usernamehere word: passwordhere"
  set timeout 300 #Change to 0 if no timeout desired
  deny lqr
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0

my ppp.linkup
[root@powder ppp# more ppp.linkup
MYADDR:
  delete ALL
  add 0 0 HISADDR

is there something i've forgotten?

Thanks
Andrew

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



Relevant Pages

  • tun0 keeping old IPs?
    ... My dial up is doing something wierd, its like my tun0 is keeping old ip's ... set log Phase Chat LCP IPCP CCP tun command ... set device /dev/cuaa0 ...
    (FreeBSD-Security)
  • ppp.conf 3g
    ... set log Phase Chat LCP IPCP CCP tun command ... set device /dev/pccom3 ...
    (comp.unix.bsd.openbsd.misc)
  • Userland PPP not deleting old IP on disconnect
    ... I am using userland PPP to do PPPoE and I am finding that it isn't deleting the old IP from tun0 when the link goes down, ... set device PPPoE:em0 ... for Genesis Software - http://www.gsoft.com.au ...
    (freebsd-stable)

Quantcast