Home > other >  VLAN DHCP relay configuration problems more, get less than dynamic IP address, please help to have a
VLAN DHCP relay configuration problems more, get less than dynamic IP address, please help to have a

Time:11-22

Consult everybody warrior:
Topology is as follows, the purpose is PC1-5 can get DHCPServer dynamic address, the DHCP relay on the Router Router configuration, each Router and switch configuration below, the question now is:
254, 1192168. 88.253 can ping but 192.168.88.254 cannot ping 253,
2192168. 99.11 can ping, 21, but cannot ping 192.168.99.21 11, in the same way, 31, 11 can ping such as switches, but in turn ping. 11 all can't





The Router configuration list:
[V200R003C00]
The system - the view
[Huawei] sysname Router
[the Router] vlan batch 100 200 300 888 999
[the Router] DHCP enable
/Router interface Vlanif 100
[the Router - Vlanif100] IP address 192.168.10.1 255.255.255.0
[the Router - Vlanif100] DHCP select relay
[the Router - Vlanif100] DHCP relay server - IP 192.168.88.254
[the Router - Vlanif100] quit
/Router interface Vlanif 200
[the Router - Vlanif200] IP address 192.168.20.1 255.255.255.0
[the Router - Vlanif200] DHCP select relay
[the Router - Vlanif200] DHCP relay server - IP 192.168.88.254
[the Router - Vlanif200] quit
/Router interface Vlanif 300
[the Router - Vlanif300] IP address 192.168.30.1 255.255.255.0
[the Router - Vlanif300] DHCP select relay
[the Router - Vlanif300] DHCP relay server - IP 192.168.88.254
[the Router - Vlanif300] quit
/Router interface Vlanif888
[the Router - Vlanif888] IP address 192.168.88.253 255.255.255.0
[the Router - Vlanif888] quit
/Router interface Vlanif999
[the Router - Vlanif999] description Management vlan
-[the Router - Vlanif999] IP address 192.168.99.11 255.255.255.0
[the Router - Vlanif999] quit
0/0/Router interface Ethernet0/
The Router - Ethernet0/0/0 description To_DHCPServer
The Router - Ethernet0/0/0 port link -type trunk
The Router - Ethernet0/0/0 port trunk allow - pass vlan 2 to 4094
The Router - Ethernet0/0/0 quit
0/1/Router interface Ethernet0/
The Router - Ethernet0/0/1 description To_Switch0
The Router - Ethernet0/0/1 port link -type trunk
The Router - Ethernet0/0/1 port trunk allow - pass vlan 2 to 4094
The Router - Ethernet0/0/1 quit
/Router interface Ethernet0/0/3
The Router - Ethernet0/0/3 description To_Switch3
The Router - Ethernet0/0/3 port link -type trunk
The Router - Ethernet0/0/3 port trunk allow - pass vlan 2 to 4094
The Router - Ethernet0/0/3 quit
0/8/Router interface Ethernet0/
The Router - Ethernet0/0/8 description To_Output
The Router - Ethernet0/0/8 quit
/Router IP route -static 0.0.0.0 0.0.0.0 192.168.88.254


The DHCP Server configuration list:
[V200R003C00]
& lt; Huawei> The system - the view
[Huawei] sysname DHCPServer
[DHCPServer] vlan batch 888 999
[DHCPServer] DHCP enable
[DHCPServer] IP pool ForVlan100
[DHCPServer - IP - the pool - ForVlan100] network 192.168.10.0 mask 255.255.255.0
[DHCPServer - IP - the pool - ForVlan100] excluded - IP - address 192.168.10.2 192.168.10.99
[DHCPServer - IP - the pool - ForVlan100] excluded - IP - address 192.168.10.200 192.168.10.254
[DHCPServer - IP - the pool - ForVlan100] DNS - list 172.16.8.8
[DHCPServer - IP - the pool - ForVlan100] gateway - list 192.168.10.1
[DHCPServer - IP - the pool - ForVlan100] quit
[DHCPServer] IP pool ForVlan200
[DHCPServer - IP - the pool - ForVlan200] network 192.168.20.0 mask 255.255.255.0
[DHCPServer - IP - the pool - ForVlan200] excluded - IP - address 192.168.20.2 192.168.20.99
[DHCPServer - IP - the pool - ForVlan200] excluded - IP - address 192.168.20.200 192.168.20.254
[DHCPServer - IP - the pool - ForVlan200] DNS - list 172.16.8.8
[DHCPServer - IP - the pool - ForVlan200] gateway - list 192.168.20.1
[DHCPServer - IP - the pool - ForVlan200] quit
[DHCPServer] IP pool ForVlan300
[DHCPServer - IP - the pool - ForVlan300] network 192.168.30.0 mask 255.255.255.0
[DHCPServer - IP - the pool - ForVlan300] excluded - IP - address 192.168.30.2 192.168.30.99
[DHCPServer - IP - the pool - ForVlan300] excluded - IP - address 192.168.30.200 192.168.30.254
[DHCPServer - IP - the pool - ForVlan300] DNS - list 172.16.8.8
[DHCPServer - IP - the pool - ForVlan300] gateway - list 192.168.30.1
[DHCPServer - IP - the pool - ForVlan300] quit
[DHCPServer] interface Vlanif888
[DHCPServer - Vlanif888] IP address 192.168.88.254 255.255.255.0
[DHCPServer - Vlanif888] DHCP select global
[DHCPServer - Vlanif888] quit
[DHCPServer] interface Vlanif999
[DHCPServer - Vlanif999] description Management vlan
-[DHCPServer - Vlanif999] IP address 192.168.99.254 255.255.255.0
[DHCPServer - Vlanif999] quit
[DHCPServer] interface Ethernet0/0/0
DHCPServer - Ethernet0/0/0 description To_Router
DHCPServer - Ethernet0/0/0 port link -type trunk
DHCPServer - Ethernet0/0/0 port trunk allow - pass vlan 2 to 4094
DHCPServer - Ethernet0/0/0 quit
[DHCPServer] IP route -static 0.0.0.0 0.0.0.0 192.168.88.253


Switch0 configuration list:

The system - the view
[Huawei] sysname Switch0
[Switch0] vlan batch, 100, 200, 999
[Switch0 - Vlanif999] description Management vlan
-[Switch0 - Vlanif999] IP address 192.168.99.21 255.255.255.0
[Switch0 - Vlanif999] quit
[Switch0] interface GigabitEthernet0/0/21
[Switch0 GigabitEthernet0/0/21] description To_Switch1
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related