Date: Wed, 1 May 2002 10:15:45 -0400 From: "Joe & Fhe Barbish" <barbish@a1poweruser.com> To: "FBSDQ" <questions@FreeBSD.ORG> Cc: <fgleiser@cactus.fi.uba.ar> Subject: RE: How to enable IP Forwarding Message-ID: <LPBBIGIAAKKEOEJOLEGOMEEJCPAA.barbish@a1poweruser.com> In-Reply-To: <3CCFEE2A.5060302@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<BROADCAST,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LPBBIGIAAKKEOEJOLEGOMEEJCPAA.barbish>