In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Theoretical study
What are the characteristics of the problem 1:EIGRP?
EIGRP is an internal gateway protocol, which is used to perform routing functions in home-made systems. It is a classless routing protocol and is an advanced distance vector routing protocol.
Routing information is exchanged with routers running EIGRP after a neighbor relationship is formed by sending Hello packets.
Routers running EIGRP store all routing table information with their neighboring routers
EIGRP adopts multicast and unicast update methods, and routing updates are carried out only when the router changes the measurement standard or the topology changes.
Support variable length subnet mask and discontiguous subnets, support automatic route summarization, support a variety of network layer protocols, and support IPX,AppleTake.
Inside a router running EIGRP, there is a neighbor routing table, a topology table, and a routing table.
Using DUAL algorithm, it has good routing convergence characteristics.
Any load balancer is supported.
What is the operation of the problem 2:EIGRP?
Establish an adjacent relationship
Discover the network topology and choose the shortest route
Routing queries, updates
What is the difference between 3:EIGRP and RIP?
EIGRP is proprietary to Cisco, while RIP is a generic protocol
EIGRP is an advanced distance vector protocol RIP is a distance vector protocol
Task implementation
1. Network topology design
1. Device configuration commands (each router is configured separately)
R1
R1 (config) # in
R1 (config) # interface f0bin0
R1 (config-if) # ip add 10.1.1.1 255.255.255.0
R1 (config-if) # no shu
R1 (config-if) # no shutdown
R1 (config-if) #
% LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1 (config-if) # exi
R1 (config) # in
R1 (config) # interface f0bin1
R1 (config-if) # ip add 172.16.1.1 255.255.255.252
R1 (config-if) # no shu
R1 (config-if) # no shutdown
R1 (config-if) #
% LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R1 (config) # router eigrp 10
R1 (config-router) # no auto-summary
R1 (config-router) # network 172.16.1.0 0.0.0.3
R1 (config-router) # network 10.1.1.0 0.0.0.255
CNC
CNC (config) # in
CNC (config) # interface f0and0
CNC (config-if) # ip add 172.16.1.2 255.255.255.252
CNC (config-if) # no shu
CNC (config-if) # no shutdown
CNC (config-if) #
% LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
CNC (config-if) # ex
CNC (config) # in
CNC (config) # interface f0bin1
CNC (config-if) # ip add 172.16.1.5 255.255.255.252
CNC (config-if) # no shu
CNC (config-if) # no shutdown
CNC (config-if) #
% LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
CNC (config) # router eigrp 10
CNC (config-router) # no a
CNC (config-router) # no auto-summary
CNC (config-router) # ne
CNC (config-router) # network 172.16.1.0 0.0.0.3
CNC (config-router) #
% DUAL-5-NBRCHANGE: IP-EIGRP 10: Neighbor 172.16.1.1 (FastEthernet0/0) is up: new adjacency
CNC (config-router) # network 172.16.1.4 0.0.0.3
R2
R2 (config) # in
R2 (config) # interface f0and0
R2 (config-if) # ip add 172.16.1.6 255.255.255.252
R2 (config-if) # no shu
R2 (config-if) # no shutdown
R2 (config-if) #
% LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2 (config-if) # ex
R2 (config) # in
R2 (config) # interface f0bin1
R2 (config-if) # ip add 10.1.2.1 255.255.255.0
R2 (config-if) # no shu
R2 (config-if) # no shutdown
R2 (config-if) #
% LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
% LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2 (config) # rou
R2 (config) # router e
R2 (config) # router eigrp 10
R2 (config-router) # no a
R2 (config-router) # no auto-summary
R2 (config-router) # ne
R2 (config-router) # network 172.16.1.4 0.0.0.3
R2 (config-router) #
% DUAL-5-NBRCHANGE: IP-EIGRP 10: Neighbor 172.16.1.5 (FastEthernet0/0) is up: new adjacency
R2 (config-router) # ne
R2 (config-router) # network 10.1.2.0 0.0.0.255
1. Single-stage test results
PC1
PC > ping 10.1.1.1
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 time=0ms TTL=255
Reply from 10.1.1.1: bytes=32 time=0ms TTL=255
Reply from 10.1.1.1: bytes=32 time=0ms TTL=255
Reply from 10.1.1.1: bytes=32 time=1ms TTL=255
Ping statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
PC2
PC > PING 10.1.2.1
Pinging 10.1.2.1 with 32 bytes of data:
Reply from 10.1.2.1: bytes=32 time=0ms TTL=255
Reply from 10.1.2.1: bytes=32 time=0ms TTL=255
Reply from 10.1.2.1: bytes=32 time=0ms TTL=255
Reply from 10.1.2.1: bytes=32 time=1ms TTL=255
Ping statistics for 10.1.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
1. Comprehensive test results
PC1
PC > ping 10.1.2.2
Pinging 10.1.2.2 with 32 bytes of data:
Reply from 10.1.2.2: bytes=32 time=1ms TTL=125
Reply from 10.1.2.2: bytes=32 time=1ms TTL=125
Reply from 10.1.2.2: bytes=32 time=0ms TTL=125
Reply from 10.1.2.2: bytes=32 time=1ms TTL=125
Ping statistics for 10.1.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
PC2
PC > PING 10.1.1.2
Pinging 10.1.1.2 with 32 bytes of data:
Reply from 10.1.1.2: bytes=32 time=0ms TTL=125
Reply from 10.1.1.2: bytes=32 time=0ms TTL=125
Reply from 10.1.1.2: bytes=32 time=0ms TTL=125
Reply from 10.1.1.2: bytes=32 time=1ms TTL=125
Ping statistics for 10.1.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
two。 View routes for each router
R1
R1#SHOW IP ROUTE
Codes: C-connected, S-static, I-IGRP, 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, E-EGP
I-IS-IS, 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 not set
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
D 10.1.2.0 [90/33280] via 172.16.1.2, 00:03:27, FastEthernet0/1
172.16.0.0/30 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, FastEthernet0/1
D 172.16.1.4 [90/30720] via 172.16.1.2, 00:04:48, FastEthernet0/1
CNC
CNC#SHOW IP ROUTE
Codes: C-connected, S-static, I-IGRP, 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, E-EGP
I-IS-IS, 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 not set
10.0.0.0/24 is subnetted, 2 subnets
D 10.1.1.0 [90/30720] via 172.16.1.1, 00:06:52, FastEthernet0/0
D 10.1.2.0 [90/30720] via 172.16.1.6, 00:03:55, FastEthernet0/1
172.16.0.0/30 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, FastEthernet0/0
C 172.16.1.4 is directly connected, FastEthernet0/1
R2
R2#SHOW IP ROUTE
Codes: C-connected, S-static, I-IGRP, 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, E-EGP
I-IS-IS, 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 not set
10.0.0.0/24 is subnetted, 2 subnets
D 10.1.1.0 [90/33280] via 172.16.1.5, 00:05:47, FastEthernet0/0
C 10.1.2.0 is directly connected, FastEthernet0/1
172.16.0.0/30 is subnetted, 2 subnets
D 172.16.1.0 [90/30720] via 172.16.1.5, 00:05:47, FastEthernet0/0
C 172.16.1.4 is directly connected, FastEthernet0/0
3. View information about EIGRP.
R1
R1#show ip protocol
Routing Protocol is "eigrp 10"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1, K2, K3, K4, K5, 0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 10
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
172.16.1.0/30
10.1.1.0/24
Routing Information Sources:
Gateway Distance Last Update
172.16.1.2 90 346181
Distance: internal 90 external 170
CNC
CNC#show ip protocols
Routing Protocol is "eigrp 10"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1, K2, K3, K4, K5, 0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 10
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
172.16.1.0/30
172.16.1.4/30
Routing Information Sources:
Gateway Distance Last Update
172.16.1.1 90 339203
172.16.1.6 90 475312
Distance: internal 90 external 170
R2
R2#show ip protocols
Routing Protocol is "eigrp 10"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1, K2, K3, K4, K5, 0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 10
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
172.16.1.4/30
10.1.2.0/24
Routing Information Sources:
Gateway Distance Last Update
172.16.1.5 90 474044
Distance: internal 90 external 170
Work expansion
Based on the 176 page expansion task of the textbook, learn to use routing interfaces instead of real interface configurations.
(1) Topology diagram
(1) main configuration commands for each router
R1
Interface FastEthernet0/0
Ip address 10.1.1.1 255.255.255.0
Duplex auto
Speed auto
!
Interface FastEthernet0/1
Ip address 172.16.1.1 255.255.255.252
Duplex auto
Speed auto
!
Router eigrp 10
Network 172.16.1.0 0.0.0.3
Network 10.1.1.0 0.0.0.255
No auto-summary
!
Ip classless
CNC
Interface FastEthernet0/0
Ip address 172.16.1.2 255.255.255.252
Duplex auto
Speed auto
!
Interface FastEthernet0/1
Ip address 172.16.1.5 255.255.255.252
Duplex auto
Speed auto
!
Router eigrp 10
Network 172.16.1.0 0.0.0.3
Network 172.16.1.4 0.0.0.3
No auto-summary
!
Ip classless
!
R2
Interface Loopback1
Ip address 10.1.2.1 255.255.255.240
!
Interface Loopback2
Ip address 10.1.2.17 255.255.255.240
!
Interface Loopback3
Ip address 10.1.2.33 255.255.255.240
!
Interface Loopback4
Ip address 10.1.2.49 255.255.255.240
!
Interface FastEthernet0/0
Ip address 172.16.1.6 255.255.255.252
Duplex auto
Speed auto
!
Interface FastEthernet0/1
No ip address
Duplex auto
Speed auto
Shutdown
!
Router eigrp 10
Network 172.16.1.4 0.0.0.3
Network 10.1.2.0 0.0.0.15
Network 10.1.2.16 0.0.0.15
Network 10.1.2.32 0.0.0.15
Network 10.1.2.48 0.0.0.15
No auto-summary
!
Ip classless
(2) analyze the routing of each router
R1
Router#show ip route
Codes: C-connected, S-static, I-IGRP, 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, E-EGP
I-IS-IS, 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 not set
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C 10.1.1.0/24 is directly connected, FastEthernet0/0
D 10.1.2.0/28 [90/158720] via 172.16.1.2, 00:18:02, FastEthernet0/1
D 10.1.2.16/28 [90/158720] via 172.16.1.2, 00:18:02, FastEthernet0/1
D 10.1.2.32/28 [90/158720] via 172.16.1.2, 00:18:02, FastEthernet0/1
D 10.1.2.48/28 [90/158720] via 172.16.1.2, 00:18:02, FastEthernet0/1
172.16.0.0/30 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, FastEthernet0/1
D 172.16.1.4 [90/30720] via 172.16.1.2, 00:18:03, FastEthernet0/1
CNC
Router#show ip route
Codes: C-connected, S-static, I-IGRP, 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, E-EGP
I-IS-IS, 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 not set
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
D 10.1.1.0/24 [90/30720] via 172.16.1.1, 00:18:43, FastEthernet0/0
D 10.1.2.0/28 [90/156160] via 172.16.1.6, 00:18:31, FastEthernet0/1
D 10.1.2.16/28 [90/156160] via 172.16.1.6, 00:18:31, FastEthernet0/1
D 10.1.2.32/28 [90/156160] via 172.16.1.6, 00:18:31, FastEthernet0/1
D 10.1.2.48/28 [90/156160] via 172.16.1.6, 00:18:31, FastEthernet0/1
172.16.0.0/30 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, FastEthernet0/0
C 172.16.1.4 is directly connected, FastEthernet0/1
R2
R2#show ip route
Codes: C-connected, S-static, I-IGRP, 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, E-EGP
I-IS-IS, 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 not set
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
D 10.1.1.0/24 [90/33280] via 172.16.1.5, 00:18:56, FastEthernet0/0
C 10.1.2.0/28 is directly connected, Loopback1
C 10.1.2.16/28 is directly connected, Loopback2
C 10.1.2.32/28 is directly connected, Loopback3
C 10.1.2.48/28 is directly connected, Loopback4
172.16.0.0/30 is subnetted, 2 subnets
D 172.16.1.0 [90/30720] via 172.16.1.5, 00:18:56, FastEthernet0/0
C 172.16.1.4 is directly connected, FastEthernet0/0
Think about the question:
Question 1: what is the difference between automatic summarization and manual summarization?
Automatic method: when there are multiple crossed small classification network boundaries in the route, these routes are automatically summarized into a large classification network boundary (this is achieved by summarizing subnet address prefixes). Automatic summarization is enabled by default.
Manually: advertise a summary local IP address pool on the specified interface, which is available for dialing clients.
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: 204
*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.