Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 12:50:35 -0500
From:      "Ron Hensley" <ronh@intercom.net>
To:        <teslik@yahoo.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: subnetting / ifconfig ip allocation problem
Message-ID:  <006a01c19936$298329b0$0273150a@woodstock.lanalyse.com>
References:  <20020109174233.57855.qmail@web12202.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>    When I set the machines like:
>            WindowsME
>            ip     xxx.xxx.xxx.91
>            subnet 255.255.255.252
>
>            FreeBSD
>            ip     xxx.xxx.xxx.92
>            subnet 255.255.255.252
>
>     I cannot ping each machine and FreeBSD gives me an error from ifconfig
that

The reason is that 255.255.255.252 subnet is saying break the class c int 64
networks, each
with 4 hosts apiece. Of those 4 hosts, the first is unusable as its the
'Network Address' and the fourth
is u nusable as its the 'Broadcast Address'. So anyways we have 64 blocks of
4
0-3, 4-7, 8-11, ... , 88-91, 92-95, ..., 252-255

So your Windows box is saying "Im on network xxx.xxx.xxx.88 but im trying to
use my networks
broadcast address as my IP Address!"

Your FreeBSD box is saying "Im on network xxx.xxx.xxx.92 but im trying to
use my network address
as my IP Address!"

The fix,. either use IPs 89 and 90 with a 255.255.255.252 mask, or use IPs
93 and 94 with a 255.255.255.252
address.

Main thing is you need to use the 2 ips that are in the middle of a block of
4 addresses.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>;

iQA/AwUBPDyC6lFb04N5DzUjEQIa9wCggtGdTaE9zov/g/1XUPBwHu6ntCwAoKUX
BTNRzKgq3RHhxX3o6UATk+zy
=qWqW
-----END PGP SIGNATURE-----



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?006a01c19936$298329b0$0273150a>