Date: Sun, 26 May 1996 23:18:21 -0700 (PDT) From: Annelise Anderson <ANDRSN@HOOVER.STANFORD.EDU> To: freebsd-questions@freebsd.ORG Subject: PPP Server Question Message-ID: <01I56G20ICIA007N8T@HOOVER.STANFORD.EDU>
next in thread | raw e-mail | index | archive | help
I'm trying to get my office machine to function as a ppp server using user ppp (this happens to be the one I got working first). The office machine is running 2.1-STABLE and has options GATEWAY in the kernel; sysctl shows that ip forwarding is turned on. The ppp connection works fine, and I can ping the office machine from home and vice versa. I have an ip address to use for the home machine (and another one if I need it). What I can't do is ping or reach any host beyond the office computer from the computer at home. It seemed from the handbook that running gated would be the right thing to do, so I installed it and changed sysconfig accordingly, turning off routed. So I would appreciate some help; I'd guess there's something wrong with gated.conf. In the following: 36.33.0.163 is the office computer with 3COM509, ep0 36.33.0.1 is the default router in sysconfig 36.33.0.99 is the Hoover VAX 36.33.0.75 is the IP address I'm using for the home computer 36.33.0.157 is another IP address that belongs to me that I haven't used; the kernel ppp description in the handbook suggests it may be necessary to use this second IP address on the office machine somehow Thanks very much. Annelise Here's gated.conf: #gated configuration file #tracing options traceoptions "/var/tmp/gated.output" replace size 100k files 2 general ; # #interfaces { # interface 36.33.0.163 passive ; # interface ep0 passive ; #} ; # configuration for rip protocols rip yes { interface ep0 ripin ripout version 1 ; interface tun ripin ripout version 1 ; traceoptions route ; } ; static { default gateway 36.33.0.1 retain; host 36.33.0.75 gateway 36.33.0.163 retain; } ; # Propagate route out Ethernet interface via RIP export proto rip interface ep0 { proto direct { 36.33.0.163 mask 255.255.0.0 metric 1; } ; } ; # Accept routes import proto rip interface ep0 { all ; } ; Here's ifconfig -a: lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 36.33.0.163 netmask 0xffff0000 broadcast 36.33.255.255 ether 00:20:af:be:eb:e0 lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet 36.33.0.163 --> 36.33.0.75 netmask 0xff000000 And netstat -rn: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 36.33.0.1 UGSc 5 8 ep0 36.33 link#2 UC 0 0 36.33.0.1 0:0:c:2:78:4c UHLW 6 40 ep0 1150 36.33.0.75 36.33.0.163 UH 1 53 tun0 36.33.0.99 aa:0:4:0:1:4 UHLW 1 11 ep0 909 36.33.0.163 0:20:af:be:eb:e0 UHLW 0 0 lo0 127 127.0.0.1 URc 0 0 lo0 127.0.0.1 127.0.0.1 UH 0 0 lo0 224 link#2 UCS 0 0 224.0.0.9 127.0.0.1 UH 0 0 lo0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01I56G20ICIA007N8T>