From owner-freebsd-questions Wed Jan 9 9:53:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from molly.intercom.net (molly.intercom.net [216.240.106.84]) by hub.freebsd.org (Postfix) with ESMTP id D55BE37B417 for ; Wed, 9 Jan 2002 09:53:19 -0800 (PST) Received: from cross (hh1124214.direcpc.com [206.71.124.214]) by molly.intercom.net (8.12.1/8.12.1) with SMTP id g09HrjhQ024530; Wed, 9 Jan 2002 12:53:47 -0500 (EST) Message-ID: <006a01c19936$298329b0$0273150a@woodstock.lanalyse.com> From: "Ron Hensley" To: , References: <20020109174233.57855.qmail@web12202.mail.yahoo.com> Subject: Re: subnetting / ifconfig ip allocation problem Date: Wed, 9 Jan 2002 12:50:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----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 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