From owner-freebsd-questions Wed Jan 9 11:12:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sitebom.odisseiainternet.com.br (vpn1.bsb.terra.com.br [200.177.8.32]) by hub.freebsd.org (Postfix) with ESMTP id 8770537B41D for ; Wed, 9 Jan 2002 11:12:45 -0800 (PST) Received: from siter (srv3-bsb.bsb.terra.com.br [200.177.8.33]) by sitebom.odisseiainternet.com.br (8.12.1/8.12.1) with SMTP id g09JD5Sk054848; Wed, 9 Jan 2002 17:13:05 -0200 (BRST) Message-ID: <002e01c19941$8f192bc0$840010ac@bsb.terra.com.br> From: "Rodrigo A B Freire" To: , References: <20020109174233.57855.qmail@web12202.mail.yahoo.com> Subject: Re: subnetting / ifconfig ip allocation problem Date: Wed, 9 Jan 2002 17:12:18 -0200 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 For a correct subnetting, get used to divide the last octet of the net addres IP [the first reserved one] by the total amount of IPs on your subnet. The result should be round. e.g.: you tried IPs 91 and 92, on a 4-IPs subnet. Two of them are reserved (90 and 93). to verify if is 90 valid, divide 90 / 4 = 22.5 . This subnet is invalid. But, 92 as net address, 93 and 94 as range ips and 95 as broadcast must work. (92/4=23) Best regards, Rod. ----- Original Message ----- From: "Alex Teslik" To: Sent: Wednesday, January 09, 2002 3:42 PM Subject: subnetting / ifconfig ip allocation problem > Hello, > > I have two boxes - WindowsME and FreeBSD4.4R > When I set the machines like: > > WindowsME > ip xxx.xxx.xxx.91 > subnet 255.255.255.0 > > FreeBSD > ip xxx.xxx.xxx.92 > subnet 255.255.255.0 > > I can access both machines remotely and each machine can ping themselves > and each other. > > 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 > it cannot allocate the ip address. The FreeBSD machine can't even ping itself > (probably because it can't allocate the ip to begin with). localhost can always > be pinged in both scenarios. This is a two machine closed network. > This probably exposes some sort of basic misunderstanding on my part, but > can anyone explain why this would happen and how I can fix it? Sorry in advance > for no output, but I can't access the machines from where I am right now. > > Thanks, > Alex > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message