From owner-freebsd-questions Wed May 1 6:29:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 06B4537B400 for ; Wed, 1 May 2002 06:29:19 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g41DQDU10209; Wed, 1 May 2002 09:26:14 -0400 Message-ID: <3CCFEE2A.5060302@potentialtech.com> Date: Wed, 01 May 2002 09:31:22 -0400 From: Bill Moran Organization: Potential Technologies User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: Toomas Aas Cc: ecerejo@zapo.net, freebsd-questions@freebsd.org Subject: Re: How to enable IP Forwarding References: <20020430223634.B85537-100000@localhost> <200205011305.g41D5Wa08105@lv.raad.tartu.ee> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Toomas Aas wrote: > Hi! > > >>I have one NIC and I'm using a dialup connection. Here's the output: >> >>fxp0: flags=8802 mtu 1500 >> ether 00:a0:c9:d9:7b:97 >> media: Ethernet autoselect (none) >> status: no carrier >> > > status: no carrier and media (none) means that your fxp0 interface > thinks it is not connected to any network. Maybe you have bad cable? > You need to fix this before you can get any further. > > Once that problem is solved, I *think* you need to assign a > non-routable IP address to fxp0 and another address on the same > network to your laptop. But I'll leave explaining the details to > someone who has actually used FreeBSD to share PPP connection - I've > never done it myself. Yes. I suggest using 172.16.0.1 for the gateway and other 172.16.0.* addresses for any network clients. That range of IP addresses seems to be the least often used (in my experience) and often ISPs use private IPs for some of their routers and it can cause problems. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message