Shared Network

mattf at etex.net mattf at etex.net
Wed Jan 14 01:34:05 UTC 2009


I am useing ISC 4.1.0 and i am tring to set up my dhcpd.conf file. I work for a IPTv provider and we are going to use it for our STB network. The STB will request an ip address from the dhcpd server via 10.5.0.0/24 but we want the STB to get 10.5.64.1-10.5.127.253 and we will be seting up 25 netorks the same way. In our old dhcpd.conf file we set it up like the example below and it will work on this dhcp server in this is the only class, shared network and subnet set up on it. As soon as we add another network it will pull address from the first one. We change the class name on each network and match the allow statment in the ip pool to that class name. is there a limit to how many shared networks you can add on a conf. file? If anyone has a simular setup as we do can you send a example of how you did it. we have about 5000 STB's that will pull a lease from this server so if there is a better way of doing this please reply to this email.


class "Occam_PineAcres_Video"
{
 match if (binary-to-ascii (10, 8, ".", packet(24,3)) = "10.5.0") and (suffix(option Agent.circuit-id, 1) = "6");
 default-lease-time 43200;     # 12 hours
 max-lease-time 43200;         # 12 hours
}


shared-network Occam
{

subnet 10.5.0.0 netmask 255.255.255.0
{
}

###Occam Pine Acres/video###

 subnet 10.5.64.0 netmask 255.255.192.0 {

 option broadcast-address 10.5.127.255;
 option subnet-mask 255.255.192.0;
 option routers 10.5.64.1;
 option domain-name-servers 10.3.3.10,10.3.3.11;
 option root-path "US/Central";
 option time-servers 10.3.3.10;
 option ntp-servers 10.3.3.10;
 pool {
 range 10.5.64.1 10.5.127.254;
 allow members of "Occam_PineAcres_Video";
 }
}




More information about the dhcp-users mailing list