Date: Wed, 9 Jan 2002 17:12:18 -0200 From: "Rodrigo A B Freire" <bsdstuffs@brasilia.br> To: <teslik@yahoo.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: subnetting / ifconfig ip allocation problem Message-ID: <002e01c19941$8f192bc0$840010ac@bsb.terra.com.br> References: <20020109174233.57855.qmail@web12202.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <teslik@yahoo.com>
To: <freebsd-questions@FreeBSD.ORG>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c19941$8f192bc0$840010ac>
