Hello,
I am testing the BFD feature in eNSP, and find an error. As the static route configured on the eNSP AR3200 router,
#
ip route-static 0.0.0.0 0.0.0.0 10.1.12.2
ip route-static 2.2.2.2 255.255.255.255 10.1.12.2
#
and the routing table displays as below:
[Huawei]dis ip ro
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 9 Routes : 9
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 RD 10.1.12.2 GigabitEthernet 0/0/0
2.2.2.2/32 Static 60 0 RD 10.1.12.2 GigabitEthernet 0/0/0
10.1.12.0/24 Direct 0 0 D 10.1.12.1 GigabitEthernet 0/0/0
It seems fine, but the problem is the IP address 10.1.12.2 is not reachable. As the Ping result below shows:
[Huawei]ping 10.1.12.2
PING 10.1.12.2: 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
--- 10.1.12.2 ping statistics ---
3 packet(s) transmitted
As the documentation describes ‘A static route can be used for traffic forwarding only when a next-hop IP address is available.’ doesn’t this mean the static route only available while the next hop is accessible? Then why the default gateway and static route appears in the routing table while the next hop is not available?