Version 6.8 33 Mediant MSBR
Configuration Guide 5. DHCP
5.5 Example of DHCP Relay
This example configures the MSBR to accept DHCP packets from the configured IP
address, which will act as a DHCP relay.
MSBR# configure data
MSBR(conf-data)# ip dhcp-server 100.100.100.100 gigabitEthernet
0/0
5.6 Example of DHCP Server with Zones
In this example, the server is connected to three subnets via relay agents. For every
subnet, a zone is configured, in addition to a default zone.
Configure the first zone, which accepts packets with source mac addresses beginning with
00:33:22:
MSBR# configure data
(config-data)# interface VLAN 1
(config-if-VLAN-1)# ip dhcp-server zone z1
(conf-zone z1)# selector mac prefix 00:33:22
(conf-zone z1)#network 20.20.10.5 20.20.10.200 255.255.255.0
(conf-zone z1)#lease 0 1 0
(conf-zone z1)#exit
Configure the second zone, which accepts packets arriving via relay agents whose
addresses are in the 20.20.20.1-20.20.20.4 range:
(config-if-VLAN-1)# ip dhcp-server zone z2
(conf-zone z2)# selector relay 20.20.20.1 20.20.20.4
(conf-zone z2)#network 20.20.20.5 20.20.20.200 255.255.255.0
(conf-zone z2)#lease 0 1 0
(conf-zone z2)#exit