Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2006 08:31:42 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Arindam <arindam.mukerjee@gmail.com>
Cc:        Garrett Cooper <youshi10@u.washington.edu>, bob.middaugh@comcast.net, freebsd-questions@freebsd.org
Subject:   Re: Network connectivity between FreeBSD and Linux
Message-ID:  <20060915083142.15602164.wmoran@collaborativefusion.com>
In-Reply-To: <d85a51ff0609150501n5b87a1bcpcdb5d3b65513b25b@mail.gmail.com>
References:  <d85a51ff0609140349p54bb3c6ud9b578791b7fbf1@mail.gmail.com> <3748E46A-16BD-4AD9-8EC3-84B10538F2BB@u.washington.edu> <d85a51ff0609140415t575ed7a6w75ba70335381e028@mail.gmail.com> <49B0565D-2C10-43CF-AB15-9CD712EFC074@u.washington.edu> <d85a51ff0609142217o4101f1dahb3b4f41302153347@mail.gmail.com> <1158320583.25573.9.camel@freebsd> <d85a51ff0609150501n5b87a1bcpcdb5d3b65513b25b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Arindam <arindam.mukerjee@gmail.com>:

[snip]

> > >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
one.

> 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.

Yes.

-- 
Bill Moran
Collaborative Fusion Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060915083142.15602164.wmoran>