In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Experimental Topology
2. Basic configuration
R1
Interface Serial0/0
Ip address 12.1.1.1 255.255.255.0
R2
Interface Serial0/0
Ip address 12.1.1.2 255.255.255.0
Interface Serial0/1
Ip address 23.1.1.2 255.255.255.0
Router eigrp 90
Network 23.1.1.0 0.0.0.255
No auto-summary
R3
Interface Serial0/0
Ip address 34.1.1.3 255.255.255.0
Serial restart-delay 0
Interface Serial0/1
Ip address 23.1.1.3 255.255.255.0
Serial restart-delay 0
Router eigrp 90
Network 23.1.1.0 0.0.0.255
Network 34.1.1.0 0.0.0.255
Auto-summary
R4
Interface Serial0/0
Ip address 34.1.1.4 255.255.255.0
Router eigrp 90
Network 34.1.1.0 0.0.0.255
Auto-summary
3. Three kinds of route injection methods
Redistribution: add a 0.0.0.0 default route to redistribute the default route in the EIGRP routing process
Notice: add a 0.0.0.0 default route that network advertises during the EIGRP routing process
Ip default-network:
First of all, the network behind the ip default-network must be the main network of the network segment where the outer network port is located.
Second, network advertises the main type of network during the EIGRP routing process
Finally, there must be a route to the primary network. If not, you can add it manually.
4. Redistribution configuration
R2 (config) # ip route 0.0.0.0 0.0.0.0 s0max 0
R2 (config) # router eigrp 90
R2 (config-router) # redistribute static
R3#show ip route
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-EIGRP, EX-EIGRP 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-IS, su-IS-IS summary, L1-IS-IS level-1, L2-IS-IS level-2
Ia-IS-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
Gateway of last resort is 23.1.1.2 to network 0.0.0.0
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
D*EX 0.0.0.0/0 [170/2681856] via 23.1.1.2, 00:00:04, Serial0/1
R3#
R4#show ip route
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-EIGRP, EX-EIGRP 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-IS, su-IS-IS summary, L1-IS-IS level-1, L2-IS-IS level-2
Ia-IS-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
Gateway of last resort is 34.1.1.3 to network 0.0.0.0
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.1.1.0 [90/2681856] via 34.1.1.3, 00:01:51, Serial0/0
D*EX 0.0.0.0/0 [170/3193856] via 34.1.1.3, 00:00:12, Serial0/0
R4#
The redistributed static route is an external route, so its AD is 170,
5. Advertisement configuration
R2 (config) # ip route 0.0.0.0 0.0.0.0 s0max 0
R2 (config) # router eigrp 90
R2 (config-router) # network 0.0.0.0
R3#show ip route
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-EIGRP, EX-EIGRP 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-IS, su-IS-IS summary, L1-IS-IS level-1, L2-IS-IS level-2
Ia-IS-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
Gateway of last resort is 23.1.1.2 to network 0.0.0.0
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
12.0.0.0/24 is subnetted, 1 subnets
D 12.1.1.0 [90/2681856] via 23.1.1.2, 00:00:02, Serial0/1
D* 0.0.0.0 via 0 [90Acer 2681856] 23.1.1.2, 00:00:02, Serial0/1
R3#
R4#show ip route
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-EIGRP, EX-EIGRP 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-IS, su-IS-IS summary, L1-IS-IS level-1, L2-IS-IS level-2
Ia-IS-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
Gateway of last resort is 34.1.1.3 to network 0.0.0.0
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.1.1.0 [90/2681856] via 34.1.1.3, 00:03:29, Serial0/0
12.0.0.0/24 is subnetted, 1 subnets
D 12.1.1.0 [90/3193856] via 34.1.1.3, 00:00:28, Serial0/0
D* 0.0.0.0 via 0 [90Acer 3193856] 34.1.1.3, 00:00:28, Serial0/0
R4#
The static route advertised by network is internal, so its AD is 90
6. Ip default-network configuration
R2 (config) # ip default-network 12.0.0.0
R2 (config) # router eigrp 90
R2 (config-router) # network 12.0.0.0 0.255.255.255
R2 (config-router) # exit
R2 (config) # ip route 12.0.0.0 255.0.0.0 null 0
R3#show ip route
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-EIGRP, EX-EIGRP 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-IS, su-IS-IS summary, L1-IS-IS level-1, L2-IS-IS level-2
Ia-IS-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
Gateway of last resort is 23.1.1.2 to network 12.0.0.0
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial0/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 12.1.1.0/24 [90/2681856] via 23.1.1.2, 00:01:28, Serial0/1
D* 12.0.0.0 via 8 [90Acer 2169856] 23.1.1.2, 00:00:35, Serial0/1
R3#
R4#show ip route
Codes: C-connected, S-static, R-RIP, M-mobile, B-BGP
D-EIGRP, EX-EIGRP 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-IS, su-IS-IS summary, L1-IS-IS level-1, L2-IS-IS level-2
Ia-IS-IS inter area, *-candidate default, U-per-user static route
O-ODR, P-periodic downloaded static route
Gateway of last resort is 34.1.1.3 to network 12.0.0.0
34.0.0.0/24 is subnetted, 1 subnets
C 34.1.1.0 is directly connected, Serial0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.1.1.0 [90/2681856] via 34.1.1.3, 00:06:38, Serial0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 12.1.1.0/24 [90/3193856] via 34.1.1.3, 00:01:59, Serial0/0
D* 12.0.0.0 via 8 [90Acer 2681856] 34.1.1.3, 00:01:07, Serial0/0
R4#
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.