Network connectivity between FreeBSD and Linux
bob.middaugh at comcast.net
Fri Sep 15 07:45:02 PDT 2006
On Fri, 2006-09-15 at 08:31 -0400, Bill Moran wrote:
> In response to Arindam <arindam.mukerjee at gmail.com>:
> > > >From the FreeBSD box, can you ping the loopback address: 127.0.0.1, if
> > > so, can you ping your ip address: 10.0.0.101. If so, can you ping your
> > > gateway? Did you set a gateway in /etc/rc.conf?
> > loopback: Yes I can ping it.
> > 10.0.0.101: Yes again I can ping it. But I set this as the gateway. I
> > just got two home PCs connected to each other over a 5-port switch
> > with. 10.0.0.100 and 10.0.0.101 (this one). I set this as the gateway
> > because a while later when I hook this to the web, this will be the
> > box. And I might add a couple of more boxes to this network at best.
> Don't do that. It may be the cause of your problem -- in any case,
> it's incorrect. Leave the system without a gateway if you don't have
> > I did not set a gateway in /etc/rc.conf. I configured the whole thing
> > using sysinstall and a couple of times after that using ifconfig (ip
> > addr and netmask).
> If you did it via sysinstall, then it was written to rc.conf.
> > > defaultrouter="your gateway ip address" # Set to default
> > > gateway (or NO).
> > But I guess whatever the method, such an entry would have been written
> > to rc.conf.
The output of ifconfig shows the duplex setting, you're set to 100 full
right now. Can you set the switch port to 100 full, if it's not
already. We have issues with our cisco switches being set to auto, they
have to be forced to 100 full or we get 0 connectivity between broadcom
cards and cisco 4500's.
Trying a different card is a good idea if you have one. Helps rule some
things out at least.
More information about the freebsd-questions