Network diagram, Configuration procedure, Own in – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 92: Figure 10-3, Vlan-i

Advertising
background image

10-5

Network diagram

Figure 10-3

Network diagram for IP addressing configuration

GE0/0/1
172.16.1.1/24
172.16.2.1/24 sub

172.16.1.0/24

172.16.1.2/24

172.16.2.0/24

172.16.2.2/24

Host A

Host B

AC

Configuration procedure

# Assign a primary IP address and a secondary IP address to VLAN-interface 1.

<AC> system-view

[AC] interface vlan-interface 1

[AC-Vlan-interface1] ip address 172.16.1.1 255.255.255.0

[AC-Vlan-interface1] ip address 172.16.2.1 255.255.255.0 sub

# Set the gateway address to 172.16.1.1 on the PCs attached to the subnet 172.16.1.0/24, and to
172.16.2.1 on the PCs attached to the subnet 172.16.2.0/24.

# Use the ping command to verify the connectivity between AC and the hosts on the subnet
172.16.1.0/24.

<AC> ping 172.16.1.2

PING 172.16.1.2: 56 data bytes, press CTRL_C to break

Reply from 172.16.1.2: bytes=56 Sequence=1 ttl=255 time=25 ms

Reply from 172.16.1.2: bytes=56 Sequence=2 ttl=255 time=27 ms

Reply from 172.16.1.2: bytes=56 Sequence=3 ttl=255 time=26 ms

Reply from 172.16.1.2: bytes=56 Sequence=4 ttl=255 time=26 ms

Reply from 172.16.1.2: bytes=56 Sequence=5 ttl=255 time=26 ms

--- 172.16.1.2 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 25/26/27 ms

The information shown above indicates AC can communicate with the hosts on the subnet
172.16.1.0/24.

# Use the ping command to verify the connectivity between AC and the hosts on the subnet
172.16.2.0/24.

<AC> ping 172.16.2.2

PING 172.16.2.2: 56 data bytes, press CTRL_C to break

Advertising