Grouping subnet declarations

Hartmut Brandt hartmut.brandt at dlr.de
Tue Mar 20 13:18:30 UTC 2007


Hi,

from reading the manual page I got the impression that I can do something
like:

shared-network kn {
  	...

  	group {
  		option routers 192.168.173.254;

  		subnet 192.168.173.0 netmask 255.255.255.128 {
  			...
  		}
  		subnet 192.168.173.128 netmask 255.255.255.192 {
  			...
  		}
  		subnet 192.168.173.192 netmask 255.255.255.192 {
  			...
  		}
  	}
}

[The intention is to add more groups which have other routers.]

The corresponding sentence in the manual is: It [the group statement] can 
be used to group hosts, shared networks, subnets, or even other groups.

However dhcpd complains about an empty shared-network declaration. If I 
remove the group and put the router option into each subnet, it works.

What I'm doing wrong?

harti




More information about the dhcp-users mailing list