Top Brands
Cisco, Huawei, H3C... Industry giants gather, with a rich array of products; we have everything you're looking for.
Services
Exclusive service for top technical teams, featuring a comprehensive service system with multi-disciplinary expert certification and close collaboration.
About Us
WhatsApp: +86 158 2732 1449
Email: sales@infdevice.com
Address: 6 / F, Creative Building, Minle Industrial Park, Longhua New District, Shenzhen, Guangdong, China
Partners
We have top global inventory and exclusive channels, offering rapid order fulfillment for businesses and suppliers as partners.
Buying products
The world's leading IT hardware equipment omnichannel price comparison platform!
Go to buy >
Selling products
Global scarce IT hardware testing environment, real-time evaluation and testing by professional technical personnel.
Go for an inquiry >
Technical support
Technical engineers with over 3 years of work experience, please apply to become our part-time technical support partner!
Go to apply >
Agent cooperation
We can provide you with global integrated supply chain resources, including 7 * 24-hour spare parts service.
To act as an agent >
About Us
We are a leading brand in global ICT/IDC services, offering comprehensive lifecycle solutions including procurement, logistics, maintenance, and asset management.
About Us
WhatsApp: +86 158 2732 1449
Email: sales@infdevice.com
Address: 6 / F, Creative Building, Minle Industrial Park, Longhua New District, Shenzhen, Guangdong, China
About Us
lf you have any questions, please contact us
Online consultation
Contact Us
We offer prompt response via telephone and email. You will receive a reply within 12 hours. Or chat with us now for an immediate reply.
WhatsApp
WhatsApp
+86 158 2732 1449
Email
Email
sales@infdevice.com
Phone
Phone
+86 152 7186 6615
Address
Address
6 / F, Creative Building, Minle Industrial Park, Longhua New District, Shenzhen, Guangdong, China
Contact Us
lf you have any questions, please contact us
Online consultation
Quick Quote
0

Network troubleshooting: Static routes have been loaded into the routing table, but ping still fails?

Mar 31 ,2025
/ John
ASW2 is the core switch, and the terminal gateway is on the aggregation switches ASW1 and ASW3, and the IP address has been modified.
ASW1: 
          ip route-static 192.168.2.0 30 Vlan-interface2
          ip route-static 192.168.100.0 24 192.168.1.2
 
 

ASW3:

           ip route-static 192.168.1.0 30 192.168.2.1

           ip route-static 192.168.101.0 24 192.168.2.1

It can be seen that ASW1 and ASW3 are both configured with static routes to each other's network segments, and they can all be seen in the routing table, indicating that the static routes have taken effect. However, why does ASW1 ping the interface address of ASW3 not work?

ASW1 cannot ping ASW3, but PC1 can ping PC2. The static route loading of the switch is normal, but the interconnection interface address 192.168.2.2 of ASW3 cannot be pinged.

Enable debug on ASW1 to check whether the reply packets can be received. It can be seen that only the sent packets can be seen, and no reply packets from 192.168.2.2 are received.
Debugging on CSW2 revealed that no icmp packets were received from ASW1, so it was suspected that there was something wrong with the static routing configuration on ASW1.
Checking the static routing configuration of ASW1, it was found that the next hop of ip route-static 192.168.2.0 30 Vlan-interface2 was the outbound interface, not the next hop IP address. Because the security requirement requires that the ARP proxy (proxy-arp) be turned off, the connection is blocked.
When pinging a route with the next hop of 0.0.0.0, you need to learn the MAC address of the destination IP address through ARP. If you have already learned the MAC address of the destination IP address, you do not need to re-learn it through ARP before sending the ping request packet. There are two solutions.

Modify ip route-static 192.168.2.0 30 Vlan-interface2 and change the address of the outbound interface of this route to ip route-static 192.168.2.0 30 192.168.1.2 to specify the next hop address, so that 192.168.2.2 can be connected normally. 02 Enable ARP proxy

Enable ARP proxy on CSW2 device, let CSW2 proxy ASW3 to respond to the ARP request sent by ASW1 switch, so that ASW1 can learn the mac information of the interface address of ASW3 interface 192.168.2.2, so that 192.168.2.2 can be connected normally

                                                                                                                              Fault summary

Static routing can be written as an interface in a point-to-point networking environment. In Ethernet networking, it is recommended to use the next-hop interface plus the next-hop IP address or only write the next-hop IP address. Even if the next-hop is not a directly connected address, it can guide the forwarding route through iterative routing.

 
Tags:
Follow us and the future of network.
If you encounter any problems on this platform, such as buying/selling products/registering agents/registering technical engineers,
please leave your email and we will have a professional team to help you solve them as soon as possible!
Inquiry
WhatsApp
To Top