Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 1997 09:45:05 -0500
From:      "Geier, Billy" <geier@spartan.com>
To:        "'freebsd-question@freebsd.org'" <freebsd-question@freebsd.org>
Subject:   PPP Routing
Message-ID:  <c=US%a=_%p=Spartan_Mills%l=SMC-EXCH-971211144505Z-475@smc-exch.spartan.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=Spartan_Mills%l=SMC-EXCH-971211144505Z-475>