华为交换机DHCP中继Windows server 2008 DHCP服务器

华为交换机DHCP中继Windows server 2008 DHCP服务器_第1张图片

图片是搬运的,配置是自己的。

 各交换机的配置:

sysname SW2
[SW2]vlan batch 10 20
[SW2]interface e0/0/1
[SW2-Ethernet0/0/1]port link-type access
[SW2-Ethernet0/0/1]port default vlan 10
[SW2-Ethernet0/0/1]q
[SW2]interface GigabitEthernet 0/0/1
[SW2-GigabitEthernet0/0/1]port link-type trunk
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
[SW2-GigabitEthernet0/0/1]q

system-view
[Huawei]sysname SW1
[SW1]vlan batch 10 20
[SW1]dhcp enable
[SW1]interface Vlanif 10
[SW1-Vlanif10]ip address 192.168.10.254 24
[SW1-Vlanif10]q
[SW1]interface Vlanif 20
[SW1-Vlanif20]ip address 192.168.20.254 24
[SW1-Vlanif20]q
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/1]q
[SW1]interface GigabitEthernet 0/0/2
[SW1-GigabitEthernet0/0/2]port link-type trunk
[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/2]q
[SW1]dhcp server group 0
[SW1-dhcp-server-group-0]dhcp-server 192.168.20.200
[SW1-dhcp-server-group-0]q
[SW1]interface Vlanif 10
[SW1-Vlanif10]dhcp select global
[SW1-Vlanif10]dhcp select relay
[SW1-Vlanif10]dhcp relay server-select 0

system-view
[Huawei]sysname SW3
[SW3]vlan 20
[SW3]interface e0/0/1
[SW3-Ethernet0/0/1]port link-type access
[SW3-Ethernet0/0/1]port default vlan 20
[SW3-Ethernet0/0/1]q
[SW3]interface GigabitEthernet 0/0/1
[SW3-GigabitEthernet0/0/1]port link-type trunk
[SW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 20
[SW3-GigabitEthernet0/0/1]q

华为交换机DHCP中继Windows server 2008 DHCP服务器_第2张图片

华为交换机DHCP中继Windows server 2008 DHCP服务器_第3张图片

华为交换机DHCP中继Windows server 2008 DHCP服务器_第4张图片

 

华为交换机DHCP中继Windows server 2008 DHCP服务器_第5张图片

你可能感兴趣的:(华为交换机DHCP中继Windows server 2008 DHCP服务器)