Verify the static route management distance configured using the outbound Interface

Source: Internet
Author: User

The official CCNP teaching material emphasizes 0. In fact, no matter the outbound interface configuration or the Management Distance configured with the next hop address is 1. The experiment is as follows:
 
 
 
R1 (config) # ip route 1.0.0.0 255.0.0.0 serial 0/0
R1 (config) # do sh ip rou 1.0.0.0
 
Routing entry for 2.22.0.0/16
Known via "static", distance 1, metric 0 (connected)
Routing Descriptor Blocks:
* 1.1.1.2
Route metric is 0, traffic share count is 1
Directly connected, via Serial0/0
Route metric is 0, traffic share count is 1
 
 
 
 
 
R2 (config) # ip route 2.0.0.0 255.0.0.0 serial 0/0
 
R2 (config) # ip route 2.0.0.0 255.0.0.0 1.1.1.2
 
R2 (config) # do sh ip rou
 
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-OSPF, EX-VPN external, O-OSPF, IA-OSPF inter area
N1-ospf nssa external type 1, N2-ospf nssa external type 2
E1-OSPF external type 1, E2-OSPF external type 2
I-IS, su-IS summary, L1-IS-level-1, L2-IS level-2
Ia-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
 
Gateway of last resort is not set
 
C 1.0.0.0/8 is directly connected, Serial0/0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
S 2.0.0.0/8 [1/0] via 1.1.1.2
Is directly connected, Serial0/0
 
This article is from the "Xin-lu-li-cheng" blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.