Labels: H3C s5500 VLAN division and DHCP
H3C s5500 VLAN division and DHCP
Log on to the 5500 device:
[H3C] DHCP server IP-pool vlan30
[H3C-dhcp-pool-vlan30] network 192.168.30.0 mask 255.255.255.0
[H3C-dhcp-pool-vlan30] gateway-list 192.168.30.1
[H3C-dhcp-pool-vlan30] DNS-list 202.106.0.20
[H3C-dhcp-pool-vlan30] expired day 8
[H3C] VLAN 30 creation vlan30
[H3C] QU
[H3C] interface VLAN-interface 30
[H3C-Vlan-interface30] IP address 192.168.30.1 255.255.255.0
[H3C-Vlan-interface30] DHCP Select Server global-pool
[H3C-Vlan-interface30] QU
[H3C] DHCP server forbidden-IP 192.168.30.1 192.168.30.100
# The IP addresses between 192.168.30.1 and 192.168.30.100 are retained and do not participate in automatic Address allocation.
[H3C] interface range gigabitethernet 1/0/12 to gigabitethernet 1/0/14 go to Port 13 14 15
[H3C-if-range] port access VLAN 30 add Port to vlan30
[H3C-if-range] dis VLAN 30 check which interfaces are added to vlan30, we see 12 13 14 these three ports have been added to vlan30
Vlan id: 30
VLAN type: static
Route interface: configured
IPv4 address: 192.168.30.1
IPv4 subnet mask: 255.255.255.0
Description: VLANs 0030
Name: VLANs 0030
Tagged ports: None
Untagged ports:
Gigabitethernet1/0/12 gigabitethernet1/0/13 gigabitethernet1/0/14
Access a host on Port 12. Ping the layer-3 gateway. OK. Ping the firewall.
Solution:
1. log on to the H3C-F100-C-G Firewall
2. Choose Network Management> route management> static route entry to this directory and click New
3. Destination IP Address: 192.168.30.0 mask: 255.255.255.0 Next Hop: 192.168.1.2 the gateway of the layer-3 Device
650) This. width = 650; "Title =" qq20140827115222.jpg "alt =" wkiom1p9vsdgvgtwaamzvvoocqa944.jpg "src =" http://s3.51cto.com/wyfs02/M00/47/A5/wKiom1P9VsDgVGtwAAMZvvoOCqA944.jpg "/>
Ping ping192.168.1.1 again. OK.
650) This. width = 650; "Title =" 2.jpg" src = "http://s3.51cto.com/wyfs02/M00/47/A7/wKioL1P9WLHhZyk8AAK7gw6-Rnk575.jpg" alt = "wKioL1P9WLHhZyk8AAK7gw6-Rnk575.jpg"/>
This article is from the "David 0512" blog, please be sure to keep this source http://gjr0512.blog.51cto.com/6518687/1545534
H3C s5500 VLAN division and DHCP