The extended DHCP applications enable you to group together a set of interfaces and apply a common DHCP configuration to the named interface group.
To configure an interface group, use the group statement.
-
group group-name {
-
-
authentication {
-
password password-string;
-
-
username-include {
-
circuit-type;
-
delimiter delimiter-character;
-
domain-name domain-name-string;
-
logical-system-name;
-
mac-address;
-
option-60;
-
option-82 <circuit-id>
<remote-id>;
-
routing-instance-name;
-
user-prefix user-prefix-string;
- }
- }
- interface interface-name <upto upto-interface-name> <exclude>;
- }
You can specify the names of one or more interfaces on which the extended DHCP application is enabled. You can repeat the interface interface-name statement to specify multiple interfaces within a group, but you cannot specify the same interface in more than one group. For example:
- group boston {
- interface 192.168.10.1;
- interface 192.168.15.5;
- }
You can use the upto option to specify a range of interfaces on which the extended DHCP application is enabled. For example:
- group quebec {
- interface 192.168.10.1 upto 192.168.10.255;
- }
You can use the exclude option to exclude a specific interface or a specified range of interfaces from the group. For example:
- group paris {
- interface 192.168.100.1 exclude;
- interface 192.168.100.100 upto 192.168.100.125 exclude;
- }