Configuring DHCP Assist

You can associate a gateway list with a port. You must configure a gateway list when DHCP Assist is enabled on a Brocade Layer 2 switch.

The gateway list contains a gateway address for each subnet that will be requesting addresses from a DHCP server. The list allows the stamping process to occur. Each gateway address defined on the Layer 2 switch corresponds to an IP address of the Brocade router interface or other router involved.

When multiple IP addresses are configured for a gateway list, the Layer 2 switch inserts the addresses into the discovery packet in a round-robin fashion. Up to 32 gateway lists can be defined for each Layer 2 switch.

  1. Enter global configuration mode by issuing the configure terminal command.
    device# configure terminal
  2. Configure the required gateway lists. Up to eight addresses can be defined for each gateway list in support of ports that are multihomed.
    device(config)# dhcp-gateway-list 1 10.95.5.1
    device(config)# dhcp-gateway-list 2 10.95.6.1
    device(config)# dhcp-gateway-list 3 10.95.1.1 10.95.5.1
  3. Enter interface configuration mode and associate gateway list 1 with interface 1/1/2.
    device(config)# interface ethernet 1/1/2
    device(config-if-e1000-1/1/2)# dhcp-gateway-list 1
    
  4. Associate gateway list 2 with interface 1/1/8.
    device(config)# interface ethernet 1/1/8
    device(config-if-e1000-1/1/8)# dhcp-gateway-list 2
    
  5. Associate gateway list 3 with interface 1/1/14
    device(config)# interface ethernet 1/1/14
    device(config-if-e1000-1/1/14)# dhcp-gateway-list 3