Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 12:00:12 -0400
From:      "Grant Peel" <gpeel@thenetnow.com>
To:        <freebsd-questions@freebsd.org>
Subject:   IPs , Netmasks and Broadcast.
Message-ID:  <014f01c5b945$65df9280$6501a8c0@GRANT>

next in thread | raw e-mail | index | archive | help
Hi All,

Now I am really confused.

Up until this morning I thought I had a good handle on when I need to use 
the real Netmask and Broadcast.

For example, If I have 3 servers, and my upline asigns me a block of 128 
addresses, for the first ip used (from this block) on each server, I would 
need to specify the IP, true netmask and a broadcase. Then, when using more 
IPs from that block, I would use a 255.255.255.255 netmask and a broadcast 
equal to the IP.

Today, I was in this exact position where I was tring to add an (the first 
one one THAT machine, from that block) IP from a block that is almost 
completely used up on another server, and the one I was adding it to would 
not take it. When I tried adding it with a 255.255.255.255 netmask, and a 
broadcast eaqual to the amount of IPs from that block - it worked.

this is on a FreeBSD 4.10 machine.

WHich way is correct for 4.7 and higher?

-Grant





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?014f01c5b945$65df9280$6501a8c0>