From owner-freebsd-questions Sun Jul 9 12:44:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from darius.concentric.net (darius.concentric.net [207.155.198.79]) by hub.freebsd.org (Postfix) with ESMTP id 036BA37B51F for ; Sun, 9 Jul 2000 12:44:15 -0700 (PDT) (envelope-from statik@cris.com) Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net (8.9.1a/(98/12/15 5.12)) id PAA17286; Sun, 9 Jul 2000 15:44:13 -0400 (EDT) [1-800-745-2747 The Concentric Network] Received: from carl.cris.com (ts007d22.phx-az.concentric.net [208.176.169.82]) by newman.concentric.net (8.9.1a) id PAA15458; Sun, 9 Jul 2000 15:44:11 -0400 (EDT) Message-Id: <4.3.1.1.20000709123847.00b3cad0@pop3.concentric.net> X-Sender: statik@pop3.concentric.net X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 10 Jul 2000 12:39:54 -0700 To: questions@freebsd.org From: carl Subject: tun0 and gateway! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i just today setup my gateway comp and now i can share ppp connectiion between 2 freebsd 4.0r computers!!!! exciting stuff, unfortunetly my ppp consistantly dies!!!!!! below is my ppp.conf file ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################################# default: # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 accept pap set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATM0L0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns cnc: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone 111111131231 set authname myusername set authkey mypassword my isp using pap, the nameserver is in place at /etc/resolv.conf..i think there could be a confiict with my other computer or its causing some type of confusion. by the way..my gateway computer nic card is assinged to 10.0.0.1 and the other comp is 10.0.0.2. ..i can connect fine for a few minutes with both machines. and suddenly i can't ping anything! ( from both comps). i set the timeout to 0 in both the ppp prompt and in the ppp.conf...i have also tried kppp which has worked fine but i can't get alias working with it. here is the firtst couple lines of ifconfig rl0 of my gateway: inet 10.0.0.1 netmask 0xffffff00 br[adcast 10.0.0.255 inet6 fe80::220:afff:fed8:d6d3%rl0 prefixlen 64 scopdeid 0x1 first line of my other machine's ifconfig ep0 inet 10.0.0.2 netmask 0xffffffffff0 broadcast 10.0.0.255 id really appreicate it if anyone could help me with this!!!! thanks!!! carl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message