DHCP分配IP地址[神州数码设备]

实验线路连接图:

 

DCRS-5526S配置:                                                                              

假设DHCP地址池的名字为shenzhi,租期为5

switch#config

switch(Config)#service dhcp

switch(Config)#hostname SwitchA

SwitchA(Config)#vlan 10

SwitchA(Config-Vlan10)#switchport interface ethernet 0/0/1-8

SwitchA(Config)#ip dhcp excluded-address 192.168.10.1 192.168.10.50

SwitchA(Config)#ip dhcp pool shenzhi

SwitchA(dhcp-shenzhi-config)#network-address 192.168.10.0

SwitchA(dhcp-shenzhi-config)#default-router 192.168.10.10

SwitchA(dhcp-shenzhi-config)#dns-server 192.168.10.1

SwitchA(dhcp-shenzhi-config)#netbios-name-server 192.168.10.2

SwitchA(dhcp-shenzhi-config)#lease 5

 

你可能感兴趣的:(职场,IP地址,休闲,设备,神州数码)