Date: Wed, 14 Sep 2005 12:18:22 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: gpeel@thenetnow.com Cc: freebsd-questions@freebsd.org Subject: Re: IPs , Netmasks and Broadcast. Message-ID: <200509141618.j8EGIMOu005725@clunix.cl.msu.edu> In-Reply-To: <014f01c5b945$65df9280$6501a8c0@GRANT>
next in thread | previous 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. I am not sure I follow you correctly, but the way I understand it, on any given server, you would use the "real" netmask for only the first/main IP address. All the rest of the aliases get the full 255 set. It doesn't matter which block of IPs it is from. ////jerry > > this is on a FreeBSD 4.10 machine. > > WHich way is correct for 4.7 and higher? > > -Grant > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509141618.j8EGIMOu005725>