Sunday, 29 May 2011

Configuration of EIGRP








In this configuration I take same network model as I choose in OSPF. So If you have any confusion please refer to my OSPF model for your reference. 

In all Routing protocol we always take connected network IP.

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

C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, Serial2/0

R1#conf
R1#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ro
R1(config)#router ei
R1(config)#router eigrp ?
  <1-65535>  Autonomous system number
R1(config)#router eigrp 1
R1(config-router)#net
R1(config-router)#network 192.168.1.0 ?
  A.B.C.D  EIGRP wild card bits
  <cr>
R1(config-router)#network 192.168.1.0 0.0.0.255
R1(config-router)#network 192.168.2.0 0.0.0.255
R1(config-router)#^Z

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

C    192.168.2.0/24 is directly connected, Serial3/0
C    192.168.3.0/24 is directly connected, FastEthernet0/0
C    192.168.4.0/24 is directly connected, Serial2/0
R2#conf
R2#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#ro
R2(config)#router eigr
R2(config)#router eigrp 1
R2(config-router)#net
R2(config-router)#network 192.168.2.0 0.0.0.255
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.2.1 (Serial3/0) is up: new adjacency

R2(config-router)#network 192.168.3.0 0.0.0.255
R2(config-router)#network 192.168.4.0 0.0.0.255
R2(config-router)#^Z

R3

R3#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

C    192.168.4.0/24 is directly connected, Serial3/0
C    192.168.5.0/24 is directly connected, FastEthernet0/0

R3#configure t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#net
R3(config)#ro
R3(config)#router eigr
R3(config)#router eigrp 1
R3(config-router)#net
R3(config-router)#network 192.168.4.0 0.0.0.255
R3(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.4.1 (Serial3/0) is up: new adjacency
R3(config-router)#network 192.168.5.0 0.0.0.255
R3(config-router)#^Z

Now to check the EIGRP on router you can use "SHOW IP ROUTE " as it show following for every 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

C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, Serial2/0
D    192.168.3.0/24 [90/20514560] via 192.168.2.2, 00:09:53, Serial2/0
D    192.168.4.0/24 [90/21024000] via 192.168.2.2, 00:09:49, Serial2/0
D    192.168.5.0/24 [90/21026560] via 192.168.2.2, 00:01:23, Serial2/0

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

D    192.168.1.0/24 [90/20514560] via 192.168.2.1, 00:13:00, Serial3/0
C    192.168.2.0/24 is directly connected, Serial3/0
C    192.168.3.0/24 is directly connected, FastEthernet0/0
C    192.168.4.0/24 is directly connected, Serial2/0
D    192.168.5.0/24 [90/20514560] via 192.168.4.2, 00:0

R3

R3#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

D    192.168.1.0/24 [90/21026560] via 192.168.4.1, 00:05:15, Serial3/0
D    192.168.2.0/24 [90/21024000] via 192.168.4.1, 00:05:15, Serial3/0
D    192.168.3.0/24 [90/20514560] via 192.168.4.1, 00:05:15, Serial3/0
C    192.168.4.0/24 is directly connected, Serial3/0
C    192.168.5.0/24 is directly connected, FastEthernet0/0

I hope you better understand the configuration of EIGRP, If you have any suggestion please leave a comment.





No comments: