From owner-freebsd-newbies Sun Jun 14 19:29:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA20485 for freebsd-newbies-outgoing; Sun, 14 Jun 1998 19:29:33 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from battleship.genevaonline.com (battleship.genevaonline.com [156.46.205.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA20474 for ; Sun, 14 Jun 1998 19:29:20 -0700 (PDT) (envelope-from thiel@genevaonline.com) Received: from shiva (pm3-ppp74.genevaonline.com [156.46.117.74]) by battleship.genevaonline.com (8.8.7/8.7.3) with SMTP id VAA24750 for ; Sun, 14 Jun 1998 21:29:15 -0500 (CDT) Message-Id: X-Sender: thiel@mail.genevaonline.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sun, 14 Jun 1998 20:41:11 -0500 To: freebsd-newbies@FreeBSD.ORG From: Loren Thiel Subject: using NATD Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I've got a problem with my setup that I explained in a mail to freebsd-questions: >Need help with ppp! >I switched to kernel ppp (previously tried user ppp) >When I give the command: ppp-up >the computer sits for about 2 min...doing nothing....then it dials and gives: > >connect: ppp0 <--> /dev/cuaa1 >local IP addr 156.46.117.39 >Remote IP addr 156.46.205.5 >add default route: File exists >add default route: File exists >add default route: File exists > > >ifconfig -a gives the following: > >ex0: flags=843 mtu 1500 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > ether 00:a0:c9:0a:ca:d0 >tun0: flags=8010 mtu 1500 >sl0: flags=c010 mtu 552 >ppp0: flags=8051 mtu 1500 > inet 156.46.117.39 --> 156.46.205.5 netmask 0xffffff00 >lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > >ex0 is my Etherexpress Pro/10 which is connected to 1 other computer. >Its ip is 10.0.0.1, and seems to be working ok. However I didn't try to ping the other computer its attached to yet. > >... > >But when I try: >ping home.netscape.com >or >ping www.yahoo.com >I get both times: >cannot resolve home.netscape.com (or www.yahoo.com) unknown host. > I got this responce: >Unless you are using NATD your packets are probably using >the 10 address. Your DNS queries, pings, etc have a source >IP of 10.0.0.1 which no one can reply to. You may be able >to run tcpdump on the ppp0 interface to verify. Read the >natd manual page and set up ipfw/natd. I temporarily I disabled ex0...dialed up....and everything seems to work fine. The message: "add default route: File exists" also disappeared. I attempted to read the man page on NATD...however it seems quite complicated.. Is there anyone out there who's set NATD up before? Or are there any tutorials out there? Is it really a hard process that maybe I shouldn't get into, being new to freebsd? I'd like to use my FreeBSD machine to be a gateway for one other computer to the internet. However, its not that incredibly important...because I have to use a 14.4 modem with FreeBSD, because my new modem is a WinModem 33.6. (WINmodem...won't work with freebsd...didn't think of that when I bought it) I do have WinGate...which I use with Windows 95 now to allow the other computer to get to the internet, but I wanted to try something new...and more stable than a forever crashing windows. That's my story. :) Thanks for any help, Loren Thiel thiel@genevaonline.com ICQ: 1117658 Give your computer something to do when it would normally just be sitting idle.... Join the worlds fastest computer: www.distributed.net/rc5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message