Cis 185 CCNP Route Chapter 2: Implementing EIGRP 1 of 3: Basic EIGRP
Cis 185 CCNP Route Chapter 2: Implementing EIGRP 1 of 3: Basic EIGRP
Spring 2015
Types of Routing Protocols
Exterior
Gateway
Interior Gateway Protocols Protocols
Distance Vector Link State Path Vector
Distance Vector Routing Link State Routing Path Vector
Protocols Protocols
IPv4 RIPv2 EIGRP OSPFv2 IS-IS BGP-4
RIPng EIGRP for OSPFv3 * IS-IS for BGP-4 for
IPv6 IPv6 IPv6 IPv6 or
MP-BGP
* OSPFv3 supports routing both IPv4 and IPv6.
2
/24
Topology
/24
/24
Initial Config – R1
interface GigabitEthernet0/0
ip address 172.16.1.1 255.255.255.0
!
interface Serial0/0/0
description R1-->R2
bandwidth 64
ip address 10.1.102.1 255.255.255.248
clock rate 64000
!
interface Serial0/0/1
description R1-->R3
bandwidth 1544
ip address 10.1.103.1 255.255.255.248
4
Initial Config – R2
interface GigabitEthernet0/0
ip address 172.16.2.1 255.255.255.0
!
interface Serial0/0/0
description R2-->R1
bandwidth 64
ip address 10.1.102.2 255.255.255.248
!
interface Serial0/0/1
description R2-->R3
bandwidth 1024
ip address 10.1.203.2 255.255.255.248
clock rate 64000
5
Initial Config – R3
interface GigabitEthernet0/0
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0/0
description R3-->R1
bandwidth 1544
ip address 10.1.103.3 255.255.255.248
clock rate 64000
!
interface Serial0/0/1
description R3-->R2
bandwidth 1024
ip address 10.1.203.3 255.255.255.248
6
Configuring Basic EIGRP
R1(config)# router eigrp 1
R1(config-router)# network 172.16.0.0
R1(config-router)# network 10.0.0.0
R1(config-router)#
Hello packets are used to discover & form adjacencies with neighbors.
Multicasted to:
IPv4: 224.0.0.10
IPv6: FF02::A
Hello packets are always sent unreliably.
Therefore Hello packets do not require acknowledgment. 10
EIGRP Neighbors Amount
Amount of
was
of time
was added
time since
added to
since this
to the
this neighbor
the neighbor
neighbor
neighbor table.
table.
R2# show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 10.1.203.3 Se0/0/1 10 00:03:15 28 168 0 19
0 10.1.102.1 Se0/0/0 12 00:13:22 23 2340 0 46
R2#
The
The local
local
Neighbor’s
Neighbor’s interface
interface Seconds
Seconds remaining
remaining
IPv4
IPv4 receiving
receiving before
before declaring
declaring
address
address EIGRP
EIGRP Hello
Hello neighbor
neighbor down.
down.
packets.
packets. Reset
Reset to
to hold
hold time
time
when
when Hello
Hello is
is
received.
received.
11
EIGRP Interfaces
R2# show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0/0 1 0/0 0/0 23 10/390 478 0
Se0/0/1 1 0/0 0/0 28 0/23 139 0
Gi0/0 0 0/0 0/0 0 0/0 0 0
R2#
12
EIGRP Interfaces
R2# show ip eigrp interfaces detail
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0/0 1 0/0 0/0 23 10/390 478 0
Hello-interval is 5, Hold-time is 15
Split-horizon is enabled
Next xmit serial <none>
Packetized sent/expedited: 20/0
Hello's sent/expedited: 2186/4
Un/reliable mcasts: 0/0 Un/reliable ucasts: 23/23
Mcast exceptions: 0 CR packets: 0 ACKs suppressed: 0
Retransmissions sent: 0 Out-of-sequence rcvd: 1
Topology-ids on interface - 0
Authentication mode is not set
13
IPv4 Routing Protocols
R2# show ip protocols
*** IP Routing is NSF aware ***
14
IPv4 Routing Protocols
Routing Protocol is "eigrp 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
EIGRP Process ID
18
EIGRP Interfaces after Passive
R2# show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0/0 1 0/0 0/0 23 10/390 478 0
Se0/0/1 1 0/0 0/0 28 0/23 139 0
R2#
R2# show ip protocols
<selected output>
Passive Interface(s):
GigabitEthernet0/0
Shutdown on a serial link in a lab environment does not work because it brings down
20
both ends of the link
EIGRP Neighbors w/ Differing Timers 5/15
5/15
R2# show ip eigrp interfaces detail serial 0/0/0
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0/0 1 0/0 0/0 68 10/390 390 0
Hello-interval is 5, Hold-time is 15
<>
----------------------------------------------------------------------------------------
R1# show ip eigrp interfaces detail serial 0/0/0
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0/0 1 0/0 0/0 1290 10/390 6826 0
Hello-interval is 5, Hold-time is 15
<>
R1#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.102.2 Se0/0/0 11 00:03:36 28 2340 0 26 21
<>
EIGRP Neighbors w/ Differing Timers 5/15
10/30
R1(config)# interface serial 0/0/0
R1(config-if)# ip hello-interval eigrp 1 10
R1(config-if)# ip hold-time eigrp 1 30
R1(config-if)# end
R1#
R1# show ip eigrp interfaces detail serial 0/0/0
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0/0 1 0/0 0/0 1290 10/390 6826 0
Hello-interval is 10, Hold-time is 30
<>
R1# show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.102.2 Se0/0/0 12 00:25:47 1290 5000 0 54
22
Initial Route
Discovery
Observing EIGRP
R3# debug eigrp packet
R3# conf t
R3(config)# router eigrp 1
R3(config-router)# network 10.1.203.0 0.0.0.7
*Feb 1 22:06:45.678: EIGRP: Sending HELLO on Se0/0/1 - paklen 20
*Feb 1 22:06:45.698: EIGRP: Received HELLO on Se0/0/1 - paklen 30 nbr 10.1.203.2
*Feb 1 22:06:45.698: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 10.1.203.2 (Serial0/0/1) is up: new adjacency
*Feb 1 22:06:45.698: *Feb 1 22:06:45.698: EIGRP: Enqueueing UPDATE on Se0/0/1 - paklen 0 nbr 10.1.203.2 tid 0 iidbQ un/rely 0/1 peerQ
un/rely 0/0
*Feb 1 22:06:45.706: EIGRP: Sending UPDATE on Se0/0/1 - paklen 0 nbr 10.1.203.2 tid 0
*Feb 1 22:06:45.706: AS 1, Flags 0x1:(INIT), Seq 63/0 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1
*Feb 1 22:06:47.770: EIGRP: Received UPDATE on Se0/0/1 - paklen 222 nbr 10.1.203.2
*Feb 1 22:06:47.770: AS 1, Flags 0x0:(NULL), Seq 64/63 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1
*Feb 1 22:06:47.770: EIGRP: Enqueueing ACK on Se0/0/1 - paklen 0 nbr 10.1.203.2 tid 0
*Feb 1 22:06:47.770: Ack seq 64 iidbQ un/rely 0/0 peerQ un/rely 1/1
*Feb 1 22:06:47.774: EIGRP: Sending ACK on Se0/0/1 - paklen 0 nbr 10.1.203.2 tid 0
*Feb 1 22:06:47.774: AS 1, Flags 0x0:(NULL), Seq 0/64 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 1/1
*Feb 1 22:06:47.778: EIGRP: Received ACK on Se0/0/1 - paklen 0 nbr 10.1.203.2
*Feb 1 22:06:47.778: AS 1, Flags 0x0:(NULL), Seq 0/64 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1
24
Observing EIGRP
R3# 25
IPv4 Routing Table – EIGRP Routes
R2 R3
I will choose R3 to
get to 10.0.0.0/8
RA R1 which means I
have a cost of 120.
Is R2 a valid back
RB up?
No, because it comes back through me
R1 (loop). It only knows this route
because of me.
28
I can get to 10.0.0.0/8 I can get to
10.0.0.0/8 with a 10.0.0.0/8 with a
metric of 300. metric of 100.
RX
RB
R2 R3
I will choose R3 to
get to 10.0.0.0/8
RA R1 which means I
have a cost of 120.
Is R2 a valid back
up?
Yes, because it has its own
path to 10.0.0.0/8. (no loop)
29
I can only use R2 as a
backup if it reports a
cost less than my total
cost through R3.
Successor
32
The Feasible Successor
R2#The
show reported
ip eigrp distance
topology - EIGRP neighbor’s FD to the same destination network.
The metric that a router reports to a neighbor about its own cost to that network.
Feasibility Condition:
P 172.16.3.0/24, 1 successors,The FC3014400
FD is is met when a neighbor’s reported distance (RD)
R1: Feasible
to a network is less than the local router’s FD to the same destination network.
via 10.1.203.3 (3014400/28160), Serial0/0/1 Successor
via 10.1.102.1 (41026560/2172416), Serial0/0/0
Outbound interface to
reach this network
R2’s feasible R1’s (feasible
Next hop
distance if R1 successor)
address of
becomes the Reported
the Feasible
Successor. Distance to R2
Successor
This would the Feasible
metric in R2’s Successor
routing table via
R1. 33
Why is R1 a Feasible Successor?
R2# show ip eigrp topology
Feasibility Condition:
R1’s Reported Distance is less than
R2’s Feasible Distance via R3, so
R1 is a Feasible Successor.
A Feasible Successor is a neighbor who has a
Feasible
loop-free backup path to the same network as the
successor by satisfying the feasibility condition.
Successor
Can become new successor with no packets lost.
34
Why is R1 a Feasible Successor?
R2# show ip eigrp topology
Feasible
Successor Successor
R2(config)# interface serial 0/0/1
R2(config-if)# no shutdown
R2(config-if)# end
*Feb 2 00:02:59.422: %LINK-3-UPDOWN: Interface Serial0/0/1, changed state to up
*Feb 2 00:03:03.346: %DUAL-5-NBRCHANGE: EIGRP-IPv4 1: Neighbor 10.1.203.3 (Serial0/0/1) is up: new adjacency
37
IPv4 Routing Table – EIGRP Routes
R1# 39
The Successor
R1# show ip eigrp topology
Outbound interface to
reach this network
Next hop Feasible distance
address of
the successor Successor’s (R3’s)
Reported Distance
NO feasible successor
To be a feasible successor, R2 must satisfy the
Feasibility Condition.
40
Why is R2 is NOT a Feasible Successor?
R1# show ip eigrp topology all-links
X
42
Observing EIGRP
Reply Query
43
New Route I’m the new successor
R1#
R1# show ip route eigrp
<>
Spring 2015