From owner-freebsd-questions Thu Dec 11 06:48:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA17108 for questions-outgoing; Thu, 11 Dec 1997 06:48:49 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from smc-exch.spartan.com (smc-exch.spartan.com [199.184.1.16]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA17096 for ; Thu, 11 Dec 1997 06:48:43 -0800 (PST) (envelope-from geier@spartan.com) Received: by smc-exch.spartan.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52) id <01BD0619.76EBDD00@smc-exch.spartan.com>; Thu, 11 Dec 1997 09:45:07 -0500 Received: by smc-exch.spartan.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52) id <01BD0619.1DF24E50@smc-exch.spartan.com>; Thu, 11 Dec 1997 09:42:38 -0500 Message-ID: From: "Geier, Billy" To: "'freebsd-question@freebsd.org'" Subject: PPP Routing Date: Thu, 11 Dec 1997 09:45:05 -0500 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52 Encoding: 110 TEXT Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have been able to get the user ppp to dial out and connect to my ISP but I could never get out of the bsdbox. I could ping all systems on my network but when I try to ping outside it would not let me. I changed something late last night and it now does not dial out so I do not have the netstat -rn after connection to show you. Here is how this look: netstat default 192.168.0.5 UGSc 15 0 ed0 127.0.0.1 127.0.0.1 UH 0 0 lo0 127.2.2.2 127.1.1.1 UH 0 0 tun0 192.168 link#1 UC 0 0 192.168.0.5 0:80:29:63:5d:9f UHLW 17 38 lo0 when it did connect it had the addresses from the ISP in the route tables. Here is some of the log file and the config files for ppp and named. ppp logs: Dec 10 23:30:13 unixserver ppp[215]: Phase: Using interface: tun0 Dec 10 23:30:13 unixserver ppp[215]: Phase: Listening at port 3000. Dec 10 23:30:13 unixserver ppp[220]: Phase: PPP Started. Dec 10 23:32:09 unixserver ppp[220]: Phase: Phone: 5155764 Dec 10 23:32:20 unixserver ppp[220]: Phase: *Connected! Dec 10 23:32:20 unixserver ppp[220]: Phase: NewPhase: Authenticate Dec 10 23:32:20 unixserver ppp[220]: Phase: his = c023, mine = 0 Dec 10 23:32:20 unixserver ppp[220]: Phase: PAP: geierbj Dec 10 23:32:20 unixserver ppp[220]: Phase: PapInput: ACK Dec 10 23:32:20 unixserver ppp[220]: Phase: Received PAP_ACK () Dec 10 23:32:20 unixserver ppp[220]: Phase: NewPhase: Network Dec 10 23:32:21 unixserver ppp[220]: Link: myaddr = 166.72.160.81 hisaddr = 204.146.251.177 Dec 10 23:32:21 unixserver ppp[220]: Link: OsLinkup: 204.146.251.177 Dec 10 23:37:22 unixserver ppp[220]: Phase: Idle timer expired. Dec 10 23:37:22 unixserver ppp[220]: Link: OsLinkdown: 204.146.251.177 Dec 10 23:37:23 unixserver ppp[220]: Phase: Disconnected! resolve.conf: domain firstflightbbs.net nameserver 127.0.0.1 nameserver 205.152.0.20 nameserver 205.152.0.5 rc.conf: defaultrouter="192.168.0.5" static_routes="" gateway_enable="YES" router_enable="NO" router="NO" router_flags="-q" named.boot: ; boot file for mini name server directory /etc/namedb ; type domain source host/file backup file cache . named.root primary firstflightbbs.net firstflightbbs.db ; ;type zone name IP of primary backup file name ;================================================================== ;secondary domain.com 192.168.1.1 domain.com.bak ;secondary 0.168.192.in-addr.arpa 192.168.1.1 0.168.192.in-addr.arpa.bak ;secondary bellsouth.net 205.152.0.20 ;secondary 0.152.205.in-addr.arpa 205.152.0.20 ; forwarders 205.152.0.20 host: 127.0.0.1 localhost.firstflightbbs.net localhost 192.168.0.5 unixserver.firstflightbbs.net unixserver firstflightbbs.db: @ IN SOA unixserver.firstflightbbs.net. root.unixserver.firstflightbbs.net. ( 19971208 ; Serial 3600 ; Refresh 900 ; Retry 300 3600000 ; Expire 3600 ) ; Minimum IN NS unixserver.firstflightbbs.net. 1 IN PTR localhost.firstflightbbs.net. unixserver.firstflightbbs.net. IN A 192.168.0.5 ; FreeBSD box C-Room-w95.firstflightbbs.net. IN A 192.168.0.10 ; Computer Room Main box radioroom.firstflightbbs.net. IN A 192.168.0.6 ; Radio Room $ORIGIN 0.168.192.IN-ADDR.ARPA IN NS unixserver.firstflightbbs.net. 1 IN PTR unixserver.firstflightbbs.net. 2 IN PTR C-Room-w95.firstflightbbs.net. 3 IN PTR radioroom.firstflightbbs.net. $ORIGIN 0.0.127.IN-ADDR.ARPA IN NS unixserver.firstflightbbs.net. 1 IN PTR localhost.firstflightbbs.net. Thanks, Billy Geier email: geier@spartan.com