ApplicabilityThis example applies to all versions and all AR routers except AR150&200 and AR1200.
Networking Requirements
Eth2/0/0 of RouterB is a trusted interface. Therefore, DHCP reply messages from the DHCP server connected to Eth2/0/0 are forwarded. DHCP reply messages sent from untrusted interfaces are discarded.
Figure 1 DHCP snooping networking diagram
Procedure
1. Configure RouterA.
#
dhcp enable
#
ip pool pool1 //Create a global IP address pool.
gateway-list 1.1.1.2
network 1.1.1.0 mask 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 1.1.1.2 255.255.255.0
dhcp select global
#
Configure RouterB.
#
dhcp enable //Globally enable DHCP.
dhcp snooping enable //Globally enable DHCP snooping.
#
interface Ethernet2/0/0
dhcp snooping trusted //Configure the interface as a trusted interface.
#
interface Ethernet2/0/1
dhcp snooping enable
#
interface Ethernet2/0/2
dhcp snooping enable
#
2. Verify the configuration.
Run the display dhcp snooping global command on RouterB to check the global DHCP snooping configuration.
Run the display dhcp snooping interface command on RouterB to check the DHCP snooping configuration and the statistics on discarded messages on an interface.
The more information about technical support you can consult with our technician – Bill, and his e-mail address is as below:
bill@huanetwork.com