Configuration of the DHCP MAC Address Segment Mode-HUAWEI

*******DHCP MAC Address Segment Mode-GPON*******

Let, server group 2 contains two DHCP servers working in the load balancing mode, with the IP address of the primary server 10.10.10.10 and the IP address of the secondary server 10.10.10.11. To bind server group 2 to certain users (whose MAC address is in the range from 0000-0000-0001 to 0000-0000-0100) in VLAN 2, do as follows:

OLT(config)#dhcp mode layer-3 mac-range
OLT(config)#dhcp-server 2 ip 10.10.10.10 10.10.10.11
OLT(config)#dhcp mac-range huawei
OLT(config-mac-range-huawei)#mac-range 0000-0000-0001 to 0000-0000-0100
OLT(config-mac-range-huawei)#dhcp-server 2
OLT(config)#quit
OLT(config)#interface vlanif 2
OLT(config-if-vlanif2)#ip address 10.1.2.1 24
OLT(config-if-vlanif2)#dhcp mac-range huawei gateway 10.1.2.1

                                        *******END******

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.