From owner-freebsd-questions Tue Mar 26 23:23:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA02615 for questions-outgoing; Tue, 26 Mar 1996 23:23:57 -0800 (PST) Received: from vds.EDSChina.com (ts1-3.bta.net.cn [202.96.2.54]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA02606 for ; Tue, 26 Mar 1996 23:23:21 -0800 (PST) From: vds@EDSChina.com Received: by vds.EDSChina.com (IBM OS/2 SENDMAIL VERSION 1.3.14/2.12um) id AA0081; Wed, 27 Mar 96 15:15:40 GMT Message-Id: <9603271515.AA0081@vds.EDSChina.com> Mime-Version: 1.0 Date: Wed, 27 Mar 96 15:13:23 +0800 To: questions@freebsd.org Subject: PPP Internet gateway X-Mailer: Ultimedia Mail/2 Lite, IBM T. J. Watson Research Center Content-Id: <77_113_1_827957603> Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am attempting to run FreeBSD 2.1 as a gateway allowing my local LAN to connect to the Internet via a ppp connection with a local ISP. I am able to establish the ppp connection and utilize services on the FreeBSD gateway, however I am unable to access the services provided through the ISP on any of the LAN clients. The LAN clients can utilize services provided directly by the FreeBSD gateway (i.e. I have httpd running and am able to access the local web pages, I am able to telnet to the machine, and am able to use lpd to provide print services to the LAN). I have read the available online documentation and have followed the directions to the best of my knowledge. Any insight anyone can provide on what I am not doing, or am doing wrong would be greatly appreciated. My server/gateway is a FreeBSD 2.1. The hosts file contains the following: 127.0.0.1 localhost localhost 198.132.98.3 EDSChina EDSChina.com 198.132.98.4 PrintServer PrintServer.EDSChina.com 198.132.98.10 vds 202.96.0.133 ns ns.bta.net.cn 202.96.0.104 comserv comserv.bta.net.cn 202.96.0.97 public public.bta.net.cn The resolv.conf contains the following: nameserver 202.96.0.133 With a ppp connection established the output from netstat -r follows: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default public UGc 3 149 ppp0 localhost localhost UH 0 9 lo0 198.132.98 link#2 UC 1 0 EDSChina 0:80:c8:c:10:ae UHLW 0 6 lo0 vds 0:80:c8:c:51:27 UHLW 4 3019 de0 908 public ts1-25.bta.net.cn UH 4 12 ppp0 BASE-ADDRESS.MCA link#2 UCS 0 0 I have ip forwarding enabled (server is acting as a gateway). Named/routed/gated are not running. My client system is running OS/2 Warp Connect. Output from netstat -r follows: destination router refcnt use flags snmp intrf metric default 198.132.98.3 0 138 U -1 lan0 198.132.98.0 198.132.98.10 3 5230 U -1 lan0 The hosts file contains the following: 198.132.98.10 vds 198.132.98.3 EDSChina.com The resolv file contains the following lines: domain EDSChina.com nameserver 198.132.98.3 NOTE - the named daemon is not running on the FreeBSD server. I have attempted different combinations with the resolv.conf file but the outcome has remained the same. When I execute traceroute from the OS/2 system using an IP address, it forwards the address to the FreeBSD server, but does not seem to forward it beyond that point (i.e. following two lines of echos from the FreeBSD server, the remaining hops are all '*'). 0 EDSChina.com (198.132.98.3) 0 ms 0 ms 0 ms 1 EDSChina.com (198.132.98.3) 0 ms 0 ms 0 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * I have attempted to increase both the hop count (ttl) and the wait time during traceroute, but still receive the same results. Again, any insight would be greatly appreciated. I would be more than happy to provide any additional information that might be helpful in the resolution of this problem. Thanks in advance for your time and any assistance you might provide.