Tp-Link T1700X-16TS V3 [460/916] Example for dhcp interface relay

Tp-Link T1700X-16TS V3 [460/916] Example for dhcp interface relay
Configuring DHCP Service Configuration Examples
Configuration Guide
435
Switch#configure
Switch(config)#service dhcp server
2) Specify the Pool Name, Network Address, Subnet Mask and Lease Time.
Switch(config)#ip dhcp server pool pool
Switch(dhcp-config)#network 192.168.0.0 255.255.255.0
Switch(dhcp-config)#lease 120
Switch(dhcp-config)#exit
3) Bind the specified IP address to the MAC address of the FTP server.
Switch(config)# ip dhcp server pool pool
Switch(dhcp-config)# address 192.168.0.8 hardware-address FC-AA-14-59-E9-4A
hardware-type ethernet
Switch(dhcp-config)#end
Switch#copy running-config startup-config
Verify the Configuration
Switch#show ip dhcp server binding
IP Address Client id/Hardware Address Type Lease Time Left
---------- -------------------------- --------- ---------------
192.168.0.2 01-d43d-7ebf-615f Automatic 01:57:27
192.168.0.8 01-fcaa-1459-e94a Manual Infinite
5.2 Example for DHCP Interface Relay
5.2.1 Network Requirements
The administrator deploys one DHCP server on the network, and want the server to assign
IP addresses to the computers in the Marketing department and the R&D department . It
is required that computers in the same department should be on the same subnet, while
computers in different departments should be on different subnets.
As the network topology shows, the Marketing department and the R&D department
respectively belong to VLAN 10 and VLAN 20. The IP address of VLAN interface 10 is
192.168.2.1 and the IP address of VLAN interface 20 is 192.168.3.1. The DHCP server is
connected to the routed port of the switch. The Marketing department is connected to port
1/0/1 of the relay agent and the R&D department is connected to port 1/0/2 of the relay
agent.

Содержание

Похожие устройства

Скачать