From owner-freebsd-questions Wed May 1 7:15:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 1FA8437B416 for ; Wed, 1 May 2002 07:15:49 -0700 (PDT) Received: from barbish ([63.70.155.105]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Wed, 1 May 2002 10:15:48 -0400 From: "Joe & Fhe Barbish" To: "FBSDQ" Cc: Subject: RE: How to enable IP Forwarding Date: Wed, 1 May 2002 10:15:45 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3CCFEE2A.5060302@potentialtech.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 If you are cabling your FBSD box straight to your laptop with out going through a hub or switch you can not use a standard cable. You have to use an crossover cable. This may be why your FBSD Nic thinks it's not connected. This problem has nothing to do with IP forwarding. Posting more info would help a lot. Post contents of your /etc/rc.conf and /var/run/dmesg.boot Another cause is All Nic cards must have it's own unique IRQ. By this I mean the Nic card can not be sharing an IRQ number at the PC bios level. Check the PC post summary status display to verify the Nic card is not sharing it's IRQ with an other device. If it is, you can some times correct this by making sure the Nic card is not in the first or last PCI expansion slots. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Bill Moran Sent: Wednesday, May 01, 2002 9:31 AM To: Toomas Aas Cc: ecerejo@zapo.net; freebsd-questions@freebsd.org Subject: Re: How to enable IP Forwarding 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message