Loading ...
Loading ...
Loading ...
Configuring DHCP Service Configuration Examples
User Guide 593
2) Specify the DHCP server for the interface VLAN 10.
Switch(config)#interface vlan 10
Switch(config-if)#ip helper-address 192.168.0.59
Switch(config-if)#exit
3) Specify the DHCP server for interface VLAN 20
Switch(config)#interface vlan 20
Switch(config-if)#ip helper-address 192.168.0.59
Switch(config-if)#end
Switch#copy running-config startup-config
Verify the Configurations of the DHCP Relay Agent
Switch#show ip dhcp relay
DHCP relay is enabled
...
DHCP relay helper address is configured on the following interfaces:
Interface Helper address
--------------------- -------------------------
VLAN10 192.168.0.59
VLAN20 192.168.0.59
...
5.3 Example for DHCP VLAN Relay
5.3.1 Network Requirements
The administrator needs to deploy the office network for the Marketing department and
the R&D department. The detailed requirements are listed below:
â– The Marketing department and the R&D department belong to VLAN 10 and VLAN 20,
respectively. Both of the VLANs have no Layer 3 gateways.
â– Computers in the two departments need to obtain IP addresses from the same DHCP
server.
Loading ...
Loading ...
Loading ...