From: King, Michael (MKing@bridgew.edu)
Date: Wed Jul 10 2002 - 09:41:23 CDT
(Long message because of cut and pastes)
For the two previous years, I have run Netreg using two shared-network
statements.
for example (I have removed lots of options and other stuff for brevity)
shared-network "Lower Campus" {
subnet 207.206.229.0 netmask 255.255.255.0 {
# Known clients get this pool.
pool {
range 207.206.229.1 207.206.229.99;
deny unknown clients;
}
} # end Subnet
subnet 192.168.131.0 netmask 255.255.255.0 {
# Unknown clients get this pool.
pool {
range 192.168.131.1 192.168.131.250;
allow unknown clients;
}
}# end Subnet
} # end Lower Campus
shared-network "Upper Campus" {
subnet 207.206.226.0 netmask 255.255.255.0 {
# Known clients get this pool.
pool {
range 207.206.226.20 207.206.226.253;
deny unknown clients;
}
} # end Subnet
subnet 192.168.130.0 netmask 255.255.255.0 {
# Unknown clients get this pool.
pool {
range 192.168.130.1 192.168.130.250;
allow unknown clients;
}
} # end Subnet
} # end Upper Campus
This have worked quite well for me. All the buildings in the lower side of
campus pulled from one pool, and all the buildings from the upperside of
campus pulled from the corresponding pool.
This year we are giving each building it's own subnet. Is it possible to
declare a subnet, and use it's pool elsewhere?
Something like this?
subnet 192.168.130.0 netmask 255.255.255.0 {
} # end Subnet
subnet 207.206.226.0 netmask 255.255.255.0 {
# Known clients get this pool.
pool {
range 207.206.226.20 207.206.226.253;
deny unknown clients;
}
# Unknown clients get this pool.
pool {
range 192.168.130.1 192.168.130.250;
allow unknown clients;
}
} # end Subnet
Notice that the there are no shared Network statements, and that the RFC1918
address is declared, but it's pool is in a different subnet?
Or is it possible to declare a subnet multiple times? (using different
ranges in different places.
IE
shared-network Building1{
subnet 192.168.130.0 netmask 255.255.255.0 {
# Unknown clients get this pool.
pool {
range 192.168.130.1 192.168.130.10;
allow unknown clients;
}
}#end Subnet
subnet 207.206.226.0 netmask 255.255.255.0 {
# Known clients get this pool.
pool {
range 207.206.226.20 207.206.226.253;
deny unknown clients;
}
}#end subnet
}#end building1
shared-network Building2{
subnet 192.168.130.0 netmask 255.255.255.0 {
# Unknown clients get this pool.
pool {
range 192.168.130.10 192.168.130.20;
allow unknown clients;
}
}#end Subnet
subnet 207.206.227.0 netmask 255.255.255.0 {
# Known clients get this pool.
pool {
range 207.206.227.20 207.206.227.253;
deny unknown clients;
}
}#end subnet
}#end building1
Thanks for any help offered. I realize this all DHCPD stuff, but I figured
it'd be better suited to this list
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:37 CDT