# Set the gateway address to 172.16.1.1 on the PCs attached to the subnet 172.16.1.0/24, and toctivity.ss CTRL_C to breakequence=1 ttl=255 time=25 msytes=56 Sequence=2 ttl=255 time=27 ms: bytes=56 Sequence=3 ttl=255 time=26 msce=4 ttl=255 time=26 msedinformation shows the switch can communicate with the hosts on the subnet 172.16.1.0/24.e subnet 172.16.2.0/24 from the switch to check the connectivity.2: bytes=56 Sequence=5 ttl=255 time=26 mstatistics ---subnet 172.16.2.0/24.StaticN.1.2 through domain nameNic DNS configuration172.16.2.1 on the PCs attached to the subnet 172.16.2.0/24.# Ping a host on the subnet 172.16.1.0/24 from the switch to check the connewitch> ping 172.16.1.2PING 172.16.1.2: 56 data bytes, pretes=56 SReply from 172.16.1.2: bybReply from 172.16.1.2:.2Reply from 172.16.1Reply from 172.16.1.2: bytes=56 SequenReply from 172.16.1.2: bytes=56 Sequence=5 ttl=255 time=26 ms--- 172.16.1.2 ping statistics ---5 packet(s) transmitted5 packet(s) receiv0.00% packet lossround-trip min/avg/max = 25/26/27 msThe output# Ping a host on th ping 172.16.2.2PING 172.16.2.2: 56 data bytes, press CTRL_C to breakReply from 172.16.2.2: bytes=56 Sequence=1 ttl=255 time=25 msReply from 172.16.2.2: bytes=56 Sequence=2 ttl=255 time=26 msReply from 172.16.2.2: bytes=56 Sequence=3 ttl=255 time=26 msReply from 172.16.2.2: bytes=56 Sequence=4 ttl=255 time=26 msReply from 172.16.2.--- 172.16.2.2 ping s5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 25/25/26 msThe output information shows the switch can communicate with the hosts on theDomain Name Resolution Configuration Exampleetwork requirementsThe switch uses static domain name resolution to access host 10.1host.com.etwork diagramFigure 8-5 Network diagram for statConfiguration procedure# Configure a mapping between host name host.com and IP address 10.1.1.2. system-view[Sysname] ip host host.com 10.1.1.28-6