Got it

The static route doesn’t fade out

Created: Feb 26, 2021 03:18:47Latest reply: Feb 26, 2021 03:28:23 327 2 0 0 0
  HiCoins as reward: 0 (problem unresolved)

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?


Featured Answers

Recommended answer

chenhui
Admin Created Feb 26, 2021 03:28:23

I tested in the eNSP, as you said, the static route keeps showing though the next hop is not available. I also tested with the real device, and that error doesn’t happen. This might be a BUG of eNSP. Please configure the static route to track a BFD session so that it could be removed correctly in eNSP.
View more
  • x
  • convention:

All Answers
Hello,
Kindly wait for a second, we'll feedback to you ASAP.
View more
  • x
  • convention:

I tested in the eNSP, as you said, the static route keeps showing though the next hop is not available. I also tested with the real device, and that error doesn’t happen. This might be a BUG of eNSP. Please configure the static route to track a BFD session so that it could be removed correctly in eNSP.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.