Date: Mon, 24 Jul 2000 23:53:00 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: freebsd-questions@freebsd.org Subject: ppp(8) NAT Problem Message-ID: <20000724235300.D258@pool0653.cvx20-bradley.dialup.e>
next in thread | raw e-mail | index | archive | help
I am having a problem with userland ppp(8), and it started when I started running with the builtin NAT. When the connection is lost by time out or disconnect and restarted, the tun0 interface just piles on a new address and it retains the old. For example, % ifconfig tun0 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffffff inet 209.179.252.143 --> 255.255.255.255 netmask 0xffffffff inet 209.179.253.65 --> 255.255.255.255 netmask 0xffffffff inet 209.179.251.124 --> 207.217.148.27 netmask 0xffffffff Opened by PID 58 The 10-net numbers are the defaults I put in the ppp.conf. The second and third pair are real ones that were in use, but the connection timed out and was dropped. Notice the odd mangling of the other end of the link to 255.255.2555.255. The last entry is the link currently up. Is this expected behaviour? I'm starting to build up weird entries in the routing table as well, % netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 207.217.148.27 UGSc 3 19522 tun0 10.0.0.2 10.0.0.1 UH 0 0 tun0 127.0.0.1 127.0.0.1 UH 2 7110 lo0 192.168.xxx link#4 UC 0 0 ep0 => 192.168.xxx.1 0:e0:29:11:d3:a9 UHLW 3 22463 ep0 1180 207.217.148.27 209.179.251.124 UH 4 0 tun0 255.255.255.255 209.179.252.143 UHb 0 0 tun0 What's that last one? But the real numbers have been removed and the default route has been overwritten correctly. Bug or feature? Or misconfiguration? Nothing surprising in ppp.conf and I'm running with, ppp_enable="YES" ppp_nat="YES" ppp_profile="EarthLink" gateway_enable="YES" -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000724235300.D258>