One thing before I start, you don't have to make the dhcpd range be the same
size as the number of IP's avaliable on the subnet.  The netmask and dhcpd
range are independant.  In fact, I leave out everything below a certain
number for machines (servers) that always have the same IP address.

I'm not sure if you still need the netmask bit, and since alot of people
have tried to answer that part, I'm not going to.

don't use the 192.168.1.x set of IP's.   Use 10.x.x.x.  It's private, and
it's class A.  that means that you can use octet-bounded netmasks that
everyone understands, like 255.255.255.0.

So... you can set up a multitude of internal IP networks, like 10.1.1.0
netmask 255.255.255.0, and 10.1.2.0 netmask 255.255.255.0, or 10.5.0.0
netmask 255.255.0.0 .  the posibilities are (nearly) endless.

I work for a school, and have been using this method for a while now.  The
second octet is my building code, and the third is the subnet in that
building.
High school net 1 = 10.10.1.x netmask 255.255.255.0
High school net 2 = 10.10.2.x netmask 255.255.255.0
Middle school net 1 = 10.20.1.x netmask 255.255.255.0
and so forth...
There is no need to set up a "small" pool os IPs when the 10.x.x.x range is
avaliable.


Alright, I'll answer the IP netmask bit.  You can't just make up a subnet
that starts at any number and has and length (ie 192.168.1.58 length=5)  All
subnets must have a length that is a power of 2.  Don't forget that there
are 2 IP's that are always used up out of that range, the network address,
and the broadcast.
so to answer your question, you'll need to have a netmask of
255.255.255.248.
the network address will be 192.168.1.80
the broadcast address will be 192.168.1.87
this will give you a useable range of 192.168.1.81 to 192.168.1.86'

If you really want to use 192.168.1.85 with 5 avaliable, you can use a
subnet with 16 addresses
netmask   255.255.255.240
network   192.168.1.80
broadcast 192.168.1.95
useable range 192.168.1.81 to 192.168.1.94
just set DHCPD to only use the range 192.168.1.85 to 192.168.1.89



Afternoon:

I'm trying to understand how netmasks work.  We want to set up a small
pool of IP Addresses, and the only thing we can do is specify the network
and the netmask.  They want the pool to start at 192.168.1.85, and have 5
usuable IP Addresses.  What do I specify for the netmask, and more
importantly, why?  I understand about setting up a network range, when the
network is specified at 0, but this 80 is throwing off my thinking.

Anyone help?

- Mike


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to