How do you configure a DHCP relay agent?

How do you configure a DHCP relay agent?

  1. Select DHCP Relay. Select. Network. DHCP. DHCP Relay. .
  2. Specify the IP address of each DHCP server with which the DHCP relay agent will communicate. In the. Interface. field, select from the drop-down the interface you want to be the DHCP relay agent. Select either. IPv4. or. IPv6.
  3. Commit the configuration. Click. OK. and. Commit. .

How does DHCP relay agent work?

DHCP relay agent is any TCP/IP host which is used to forward request and replies between DHCP server and client when the server is present on the different network. Relay agents receive DHCP messages and then generate a new DHCP message to send out on another INTERFACE.

How does a DHCP relay agent work on a VLAN?

The DHCP relay agent sets the DHCP server IP address to broadcast IP address and is forwarded to all VLANs with configured IP interfaces (except the source VLAN.) Prerequisites for DHCP relay operation

How to configure DHCP relay on L2 managed switches?

Go to L3 FEATURES > DHCP Service > DHCP Relay > DHCP Relay Config page, enable DHCP Relay feature globally. Go to L3 FEATURES > DHCP Service > DHCP Relay > DHCP VLAN Relay page, in the Default Relay Agent Interface section, specify VLAN interface 1 (the default management VLAN interface ) as the default relay agent interface.

How to configure a LAN with DHCP and VLAN?

Configuring a LAN with DHCP and VLANs 1 Fast Ethernet LAN (with multiple network 2 Router and DHCP server—Cisco 870 series 3 VLAN 1 4 VLAN 2

How to add VLAN 10 and VLAN 20 to VLAN?

Go to L2 FEATURES > VLAN > 802.1Q VLAN > VLAN Config page, create VLAN 10 and VLAN 20. Add the corresponding ports to the VLAN. Go to L2 FEATURES > VLAN > 802.1Q VLAN > Port Config page, set the PVID of port 1/0/1 as 10 and 20 of port 1/0/2. Go to L3 FEATURES > DHCP Service > DHCP Relay > DHCP Relay Config page, enable DHCP Relay feature globally.