Static Domain Name Resolution Configuration Example - 3Com 4500 PWR 26-Port Configuration Manual

Hide thumbs Also See for 4500 PWR 26-Port:
Table of Contents

Advertisement

# 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.
# Ping a host on the subnet 172.16.1.0/24 from the switch to check the conne
<Switch> ping 172.16.1.2
PING 172.16.1.2: 56
Reply from 172.16.1.2: by
Reply from 172.16.1.2:
Reply from 172.16.1
Reply from 172.16.1.2: bytes=56 Sequen
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) receiv
0.00% packet loss
round-trip min/avg/max = 25/26/27 ms
The output
information shows the switch can communicate with the hosts on the subnet 172.16.1.0/24.
# Ping a host on th
<Switch> ping 172.16.2.2
PING 172.16.2.2: 56
Reply from 172.16.2.2: bytes=56 Sequence=1 ttl=255 time=25 ms
Reply from 172.16.2.2: bytes=56 Sequence=2 ttl=255 time=26 ms
Reply from 172.16.2.2: bytes=56 Sequence=3 ttl=255 time=26 ms
Reply from 172.16.2.2: bytes=56 Sequence=4 ttl=255 time=26 ms
Reply from 172.16.2.
--- 172.16.2.2 ping s
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 25/25/26 ms
The output information shows the switch can communicate with the hosts on the
Static
Domain Name Resolution Configuration Example
N
etwork requirements
The switch uses static domain name resolution to access host 10.1
host.com.
N
etwork diagram
Figure 8-5 Network diagram for stat
Configuration procedure
# Configure a mapping between host name host.com and IP address 10.1.1.2.
<Sysname> system-view
[Sysname] ip host host.com 10.1.1.2
data bytes, pre
tes=56 S
b
ytes=56 Sequence=2 ttl=255 time=27 ms
.2
: bytes=56 Sequence=3 ttl=255 time=26 ms
ed
e subnet 172.16.2.0/24 from the switch to check the connectivity.
data bytes, press CTRL_C to break
2: bytes=56 Sequence=5 ttl=255 time=26 ms
tatistics ---
ic DNS configuration
ss CTRL_C to break
equence=1 ttl=255 time=25 ms
ce=4 ttl=255 time=26 ms
8-6
ctivity.
subnet 172.16.2.0/24.
.1.2 through domain name

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port

Table of Contents