From owner-freebsd-questions Mon Mar 20 12:15:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailgw02.execpc.com (mailgw02.execpc.com [169.207.3.78]) by hub.freebsd.org (Postfix) with ESMTP id F37A337C3D4 for ; Mon, 20 Mar 2000 12:15:19 -0800 (PST) (envelope-from dpoland@execpc.com) Received: from judah (spira-2-153.mdm.fox.execpc.com [169.207.25.91]) by mailgw02.execpc.com (8.9.1) id OAA23253 for ; Mon, 20 Mar 2000 14:15:12 -0600 From: "Doug Poland" To: "ListServer FreeBSD Questions" Subject: User PPP routing or DNS problem Date: Mon, 20 Mar 2000 14:15:12 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello everyone, I just started experiencing a problem I cannot diagnose on my humble 3.1-RELEASE box. FYIW, it was working fine since Nov. The machine is on a Novell 4.x intranet. I have network connectivity to the machines on the same subnet. I occasionally dial out with user ppp. I get my IPs dynamically from my ISP but I have actual addresses for primary and secondary DNS. Starting about the middle of last week, I'm not able to "route" through the ppp connection. I cannot telnet, ping, or ftp to any machine on the internet, even the dial-up server I just connected to! When I do a netstat -r, it takes forever to return. However, a netstat -rn returns immediately. Here's all the miscellaneous configuration files involved. I've tried to figure it out all on my own, but have reached the end of my abilities. canaan# cat /etc/hosts 127.0.0.1 localhost.newresources.com localhost 10.20.1.121 canaan.newresources.com canaan 10.20.1.121 canaan.newresources.com. 10.20.10.12 judah canaan# cat /etc/rc.conf # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # moused_port="/dev/psm0" moused_enable="NO" keyrate="fast" linux_enable="YES" ntpdate_flags="ntp1.cs.wisc.edu ntp2.cs.wisc.edu ncar.ucar.edu" ntpdate_enable="YES" network_interfaces="ed0 lo0" ifconfig_ed0="inet 10.20.1.121 netmask 255.255.0.0" ifconfig_lp0="inet 127.0.0.1 netmask 255.255.255.0" gateway_enable="NO" hostname="canaan.newresources.com" defaultrouter="NO" canaan# cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa0 set speed 19200 # # set speed 38400 Unfortunately, I cannot connect at this speed # somehow, I have to figure out how to renegotiate to a lower speed # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" allow users djp sybase ExecPC: set phone 9686400|8306240 set login set authname myname set authkey mypwd set timeout 600 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 canaan# ifconfig -a ed0: flags=8843 mtu 1500 inet 10.20.1.121 netmask 0xffff0000 broadcast 10.20.255.255 ether 00:00:c0:e9:dc:9e lp0: flags=8810 mtu 1500 tun0: flags=8051 mtu 1514 inet 169.207.125.13 --> 169.207.111.71 netmask 0xffff0000 sl0: flags=c010 mtu 552 ppp0: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 canaan# netstat -r (it took 5 minutes for this to finish and it doesn't show me the name of the machine, like it used to) Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 169.207.111.71 UGSc 2 0 tun0 10.20/16 link#1 UC 0 0 ed0 judah 0:80:c7:a8:c2:8d UHLW 2 1561 ed0 1183 10.20.10.31 0:c0:4f:5a:f4:0 UHLW 0 1 ed0 1035 localhost localhost UH 0 30 lo0 169.207.111.71 169.207.125.13 UH 3 6 tun0 canaan# netstat -rn (this was instantaneous) Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 169.207.111.71 UGSc 2 0 tun0 10.20/16 link#1 UC 0 0 ed0 10.20.10.12 0:80:c7:a8:c2:8d UHLW 2 1632 ed0 873 10.20.10.31 0:c0:4f:5a:f4:0 UHLW 0 1 ed0 805 127.0.0.1 127.0.0.1 UH 0 30 lo0 169.207.111.71 169.207.125.13 UH 3 6 tun0 canaan# cat /etc/resolv.conf domain execpc.com #My ISP nameserver 169.207.1.3 #My ISP's primary DNS nameserver 204.29.202.6 #My ISP's secondary DNS -- Doug Poland dpoland@execpc.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message