Got it

How to Configure Static Routes?

Latest reply: Jun 25, 2019 02:25:40 482 1 11 0 1

Procedure

  • Configure an IPv4 static route with the destination address 192.168.1.0, next-hop IP address 192.168.4.1, and preference 60.

    <Huawei> system-view[Huawei] ip route-static 192.168.1.0 255.255.255.0 192.168.4.1 preference 60
  • Configure an IPv6 static route with the destination address 1::, next-hop IPv6 address 10::1, and preference 80.

    <Huawei> system-view[Huawei] ipv6 route-static 1:: 64 gigabitethernet0/0/1 10::1 preference 80

More Information

  • If no preference is set for a static route, the static route uses the default preference 60.

  • If the destination IP address and mask of a static route are set to all 0s, a default route is configured. If a packet does not match any route in an IP routing table, this packet is forwarded using a default route.

  • If you specify the same preference for multiple static routes with the same destination address, you can implement load balancing among these routes. If you specify different preferences for these routes, you can implement route backup among the routes.

  • When configuring an IPv4 static route, you need to specify an outbound interface or a next-hop address as required. On a point-to-point interface, you only need to specify an outbound interface. On an NBMA interface, you only need to specify a next-hop address. On a broadcast interface, you only need to specify a next-hop address.

  • When configuring an IPv6 static route, you need to specify an outbound interface or a next-hop address as required. On a point-to-point interface, you only need to specify an outbound interface. On an NBMA interface, you only need to specify a next-hop address. On a broadcast interface, you can specify only an outbound interface or specify both an outbound interface and a next-hop address. This next-hop address can be a non-link-local address.

This is what I want to talk about/share with you today, thank you!

Thank you very much~
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.