From owner-freebsd-questions Mon Aug 3 21:23:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA26555 for freebsd-questions-outgoing; Mon, 3 Aug 1998 21:23:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from chickenbean.ais-gwd.com (chickenbean.com [205.160.97.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA26545 for ; Mon, 3 Aug 1998 21:23:32 -0700 (PDT) (envelope-from charlespeters@chickenbean.com) From: charlespeters@chickenbean.com Received: from ci1000971-c.sptnbrg1.sc.home.com (blablabla@ci1000971-c.sptnbrg1.sc.home.com [24.4.113.32]) by chickenbean.ais-gwd.com (8.8.8/8.8.8) with SMTP id AAA00868 for ; Tue, 4 Aug 1998 00:29:53 -0400 (EDT) (envelope-from charlespeters@chickenbean.com) To: Subject: gateway, ppp -alias, netstat -nr output and ifconfig -a output --- ongoing problem getting gateway to run stabelly Date: Tue, 4 Aug 1998 00:18:28 -0400 Message-ID: <001701bdbf5e$ee8a1620$20710418@ci1000971-c.sptnbrg1.sc.home.com> 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 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have set up a dialout gateway using freebsd 2.2.6, but I am having some problems that I don't seem to be able to solve. Here is the setup: Freebsd 2.2.6 gateway with: 1 network card configured as 192.168.0.1 1 internal modem 56K - /dev/cuaa1 (com2) Several Win95 computers with tcp/ip addresses set as follows: 192.168.0.43 192.168.0.40 192.168.0.48 ... Default gateway is set to 192.168.0.1, and dns is set to the ISP's DNS servers. This configuration works fine. I am able to ping the win95 boxes from the freebsd box, and I am able to ping the freebsd box from all win95 boxes. The goal is to allow internet access to all win95 computers via the freebsd gateway machine. When it is working, I am able to ping all internet addresses from the win95 boxes (ie. ping ftp.cdrom.com works fine), but I cannot ping the same internet address from the freebsd gateway box. I would like to establish a ppp connection to the ISP, and keep the connection alive for 10 mins after the last data is transmitted (to speed up access for users who leave their desks for a few minutes, and then come back to continue browsing or checking/sending email). It seems to me like the system dials up the ISP as soon as the connection is lost. This seems wasteful. Also, I often (once or twice daily) have to shutdown -r now and then during the reboot, turn of the power for a few seconds to reset the modem. This is also a pain in the ass, as I am not always there to reset the machine for my users. The system works fine for our application when it works, but it locks up too often. If any other info is required, let me know. This is kinda new to me, so please realize that you are answering a highly computer literate user who is totally new to freebsd. Thanks, Charles PS: below is more info that you may find helpful! charlespeters@chickenbean.com charlespeters@tecpro.com $ netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.0.0.2 UGSc 6 7607 tun0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168 link#1 UC 0 0 192.168.0.1 0:c0:f0:30:86:f6 UHLW 1 26 lo0 192.168.0.48 0:c0:f0:30:9d:7 UHLW 1 864 de0 838 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 0 235 de0 206.139.129.5 206.139.129.135 UH 0 0 tun0 $ $ ifconfig -a de0: flags=8843 mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:c0:f0:30:86:f6 media: autoselect (10baseT/UTP) status: active lp0: flags=8810 mtu 1500 tun0: flags=8051 mtu 1500 inet 206.139.129.135 --> 206.139.129.5 netmask 0xffffff00 sl0: flags=c010 mtu 552 ppp0: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 $ Let me know if more information is required. Thanks in advance. Charles To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message