Net Mask Prob!

Mike Meyer mwm at mired.org
Mon May 19 16:46:46 UTC 2008


On Sun, 18 May 2008 23:31:33 -0700 Jeremy Chadwick <koitsu at FreeBSD.org> wrote:

> On Sun, May 18, 2008 at 09:40:37PM -0700, John Timony wrote:
> > Hi,all
> >  
> > I have installed Freebsd 7.0 on my Acer TravelMate 220,my router ip is 192.168.0.1,the ip of my Freebsd is 192.168.1.4,Net Mask is 255.255.0.0,Why my system can not connect wiht the router?
> >  
> > any idea?
> 
> Chances are your router uses 255.255.255.0 as a default netmask; most
> residential routers do.  FreeBSD doesn't have any issues/bugs relating
> to netmasks which would cause what you're seeing.

Freebsd should be using 255.255.255.0 as a default netmask for the
192.168 block as well. That's what it's defined to be. Changing that
means fixing it everywhere.

Also, as you get further from common setups, residential and soho
routers tend to get flakier. Given that most users of such don't have
hundreds of hosts and don't need two internal networks, a /23 in
192.168.0.0 qualifies as uncommon; it certainly gave me fits. I found
that splitting the /24 into a pair of /25s worked better.

> Additionally, your request probably should have gone to -net, not
> -hackers.

Yup.

	<mike


More information about the freebsd-net mailing list