h3c交换机做dhcp服务器
发布网友
发布时间:2022-04-22 13:24
我来回答
共1个回答
热心网友
时间:2023-05-19 07:59
huawei s5600:
vlan 10
port g1/0/1
vlan 20
port g1/0/2
vlan 30
port g1/0/3
inter vlan 10
ip add 192.168.1.1 255.255.255.0
inter vlan 20
ip add 192.168.2.1 255.255.255.0
inter vlan 30
ip add 192.168.3.1 255.255.255.0
dhcp enable
dhcp server ip-pool vlan10
network 192.168.1.0 mask 255.255.255.0
gateway-list 192.168.1.1
dns server 219.150.32.132
dns server 8.8.8.8
dhcp server forbidden-ip 192.168.1.1
dhcp select global interface vlan-interface 10
dhcp server ip-pool vlan20
network 192.168.2.0 mask 255.255.255.0
gateway-list 192.168.2.1
dns server 219.150.32.132
dns server 8.8.8.8
dhcp server forbidden-ip 192.168.2.1
dhcp select global interface vlan-interface 20
dhcp server ip-pool vlan30
network 192.168.3.0 mask 255.255.255.0
gateway-list 192.168.3.1
dns server 219.150.32.132
dns server 8.8.8.8
dhcp server forbidden-ip 192.168.3.1
dhcp select global interface vlan-interface 30
inter g1/0/4
port link-type trunk
port trunk permit vlan all
**********************************************************************
h3c s5500 si A:
vlan 10
port g1/0/1
vlan 20
port g1/0/2
vlan 30
port g1/0/3
inter g1/0/4
port link-type trunk
port trunk permit vlan all
inter g1/0/5
port link-type trunk
port trunk permit vlan all
***************************************************************************
h3c s5500 si B:
vlan 10
port g1/0/1
vlan 20
port g1/0/2
vlan 30
port g1/0/3
inter g1/0/5
port link-type trunk
port trunk permit vlan all