How can a PC connected to an S series switch ping the IP address of the remote device using the HyperTerminal

3

A PC connected to an S series switch can directly ping the IP address of the remote device using the HyperTerminal.

Other related questions:
An S series switch fails to ping the remote device using ping packets carrying the source IP address. Why the ping succeeds after the source IP address is changed
For S series switches (except the S1700), the possible reason why the ping succeeds after the source IP address is changed is that the remote device does not have a return route to send response packets. If the ping succeeds after you change the source IP address or do not specify any source IP address in the ping command, you need to check whether the remote device has a return route.

How can an S series switch ping another device using ping packets carrying a specified source IP address
For S series switches (except the S1700), you can specify the source IP address of ping packets by specifying the -a source-ip-address parameter in the ping command. For example, set the source and destination IP addresses of ping packets to 192.168.150.107 and 10.135.19.157, respectively. [HUAWEI] ping -a 192.168.150.107 10.135.19.157

Causes for PCs obtain the same IP address through the S series switch
The S series switch is used as the DHCP server to assign IP addresses to PCs: 1. If a DHCP client connects to a network again, the DHCP client broadcasts a DHCP Request packet carrying the IP address that the client has used. The used IP address is added in the Option50 field of packets. After receiving the DHCP Request message, the DHCP server checks whether the lease record exists based on the MAC address in the message. If so, the DHCP server replies with a DHCP ACK message to notify the DHCP client that the requested IP address can be used. If not, the DHCP server waits for a new DHCP Discover message from the client.

An S series switch can successfully ping an IP address that does not exist
If an S series switch (a non-S1700 switch) can successfully ping an IP address that does not exist, there are reachable routes between the switch and the non-existent IP address. You can check the routing table or capture packets to locate the non-existent IP address. You need to analyze the reason why the switch can successfully ping the non-existent IP address and check whether such fault is related to the service configuration.

Display IP addresses of clients connected to S series switch
When an S series switch, except S1700, works at Layer 2, only the MAC address of the interface is displayed, but IP address is not displayed. When an S series switch, except S1700, works at Layer 3 and you have known the MAC address of a connected client, you can run the display arp all command to check the IP address of the client. If you do not know the MAC address of the client, run the ipconfig/all command on your PC. For example: display arp all IP ADDRESSMAC ADDRESSEXPIRE(M) TYPEINTERFACEVPN-INSTANCE VLAN/CEVLAN 10.137.217.202 00e0-0987-7890 I - Eth0/0/0 10.137.216.1 0000-5e00-0149 20 D-0 Eth0/0/0 Total:2 Dynamic:1 Static:0 Interface:1 (1) The IP address of the PC with MAC address 00e0-0987-7890 is 10.137.217.202. (2) The total number of dynamic and static ARP entries is the number of access users.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top