Got it

Multiple IP routes are confiugred in NE9000 Router

Created: Jul 24, 2021 14:32:36Latest reply: Jul 25, 2021 12:39:25 273 4 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi


When i checked / viewed current-configuration in our Core router. The follownig IP routes commands [ip default−gateway, ip default−network, and as well as ip route 0.0.0.0/0] are configured in our Huawei NE9000 router. So i want to know, what is the difference between then and what is actual purpose of each these routes?

Many Thanks

Featured Answers

Best answer

Recommended answer

DDSN
Admin Created Jul 24, 2021 15:05:28

Hi @sachandio!


There are three types of instructions for specifying the default route (last resort gateway), which can be divided into two categories:


1. ip default-gateway

When the ip routing on the router is invalid, use it to specify the default route for installing IOS in RXBoot mode (no ip routing), etc. Or turn off ip routing and let the router be used as a host. At this time, you need to configure the default gateway.


2. ip default-network and ip route 0.0.0.0 0.0.0.0
Both are used on routers where ip routing is effective. The main difference lies in whether the routing protocol propagates this routing information. For example: IGRP cannot recognize 0.0.0.0, so ip default-network must be used when propagating the default route.

When using the ip default-network command to set multiple default routes, the one with the shortest administrative distance becomes the final default route; if there are multiple routes with the same distance value, the upper one in the routing table (show ip route) becomes the default route.


When both ip default-network and ip route 0.0.0.0 0.0.0.0 are used to set the default route at the same time, if the network set by ip default-network is directly connected (static and known), then it becomes the default route; if the network specified by ip default-network is obtained by exchanging routing information, the entry specified by ip route 0.0.0.0 0.0.0.0 becomes the default route.


Finally, if multiple ip route 0.0.0.0 0.0.0.0 instructions are used, the traffic will be automatically load balanced on multiple links.

View more
  • x
  • convention:

sachandio
sachandio Created Jul 25, 2021 19:42:16 (0) (0)
Thanks for providing valuable support  
All Answers
Hello,
It's nice to meet you in the community.
We're working on getting the right answer for you.
View more
  • x
  • convention:

DDSN
DDSN Admin Created Jul 24, 2021 15:05:28

Hi @sachandio!


There are three types of instructions for specifying the default route (last resort gateway), which can be divided into two categories:


1. ip default-gateway

When the ip routing on the router is invalid, use it to specify the default route for installing IOS in RXBoot mode (no ip routing), etc. Or turn off ip routing and let the router be used as a host. At this time, you need to configure the default gateway.


2. ip default-network and ip route 0.0.0.0 0.0.0.0
Both are used on routers where ip routing is effective. The main difference lies in whether the routing protocol propagates this routing information. For example: IGRP cannot recognize 0.0.0.0, so ip default-network must be used when propagating the default route.

When using the ip default-network command to set multiple default routes, the one with the shortest administrative distance becomes the final default route; if there are multiple routes with the same distance value, the upper one in the routing table (show ip route) becomes the default route.


When both ip default-network and ip route 0.0.0.0 0.0.0.0 are used to set the default route at the same time, if the network set by ip default-network is directly connected (static and known), then it becomes the default route; if the network specified by ip default-network is obtained by exchanging routing information, the entry specified by ip route 0.0.0.0 0.0.0.0 becomes the default route.


Finally, if multiple ip route 0.0.0.0 0.0.0.0 instructions are used, the traffic will be automatically load balanced on multiple links.

View more
  • x
  • convention:

sachandio
sachandio Created Jul 25, 2021 19:42:16 (0) (0)
Thanks for providing valuable support  
Very useful answer
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.