Wednesday, June 1, 2011

Configuring EIGRP Routing


EIGRP Protocol:



Router 1 config:

interface FastEthernet0/0
 ip address 172.16.19.19 255.255.0.0
!
interface FastEthernet0/1
 ip address 3.3.3.2 255.255.255.0


R1(config-router)#network 172.16.0.0 0.0.255.255
R1(config-router)#network 3.3.3.0 0.0.0.255
R1(config-router)#no auto-summary

Router 2 Config:

interface FastEthernet0/0
 ip address 3.3.3.1 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0
 bandwidth 64
 ip address 2.2.2.2 255.255.255.0
 clockrate 128000
!

R2(config)#router eigrp 100
R2(config-router)#network 2.2.2.0 0.0.0.255
R2(config-router)#network 3.3.3.0 0.0.0.255
R2(config-router)#no auto-summary

Router 3 Config:

interface Serial0/0
 ip address 2.2.2.1 255.255.255.0
!
interface Serial0/1
 ip address 1.1.1.2 255.255.255.0
!

R3(config)#router eigrp 100
R3(config-router)#network 1.1.1.0 0.0.0.255
R3(config-router)#network 2.2.2.0 0.0.0.255
R3(config-router)#no auto-summary

Router 4 Config:
!
interface FastEthernet0/0
 ip address 172.16.20.20 255.255.0.0
!
interface Serial0/1
 bandwidth 64
 ip address 1.1.1.1 255.255.255.0
 clockrate 128000
!


R4(config)#router eigrp 100
R4(config-router)#network 1.1.1.0 0.0.0.255
R4(config-router)#no auto-summary

Check your Routing status by,


R1#sh ip route eigrp
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/41026560] via 3.3.3.1, 00:11:23, FastEthernet0/1
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0 [90/40514560] via 3.3.3.1, 00:11:23, FastEthernet0/1


R2#sh ip route eigrp
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/41024000] via 2.2.2.1, 00:11:01, Serial0/0
D    172.16.0.0/16 [90/30720] via 3.3.3.2, 00:11:01, FastEthernet0/0


R3#sh ip route eigrp
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/2172416] via 2.2.2.2, 00:34:09, Serial0/0
D    172.16.0.0/16 [90/2174976] via 2.2.2.2, 00:34:09, Serial0/0


R4#sh ip route eigrp
     2.0.0.0/24 is subnetted, 1 subnets
D       2.2.2.0 [90/41024000] via 1.1.1.2, 00:33:04, Serial0/1
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/41026560] via 1.1.1.2, 00:33:04, Serial0/1

Also check topology generated by DUAL algorithm in EIGRP by,


R1#sh ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(36.36.36.36)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 1.1.1.0/24, 1 successors, FD is 41026560
        via 3.3.3.1 (41026560/41024000), FastEthernet0/1
P 2.2.2.0/24, 1 successors, FD is 40514560
        via 3.3.3.1 (40514560/40512000), FastEthernet0/1
P 3.3.3.0/24, 1 successors, FD is 28160
        via Connected, FastEthernet0/1
P 172.16.0.0/16, 1 successors, FD is 28160
        via Connected, FastEthernet0/0




No comments:

Post a Comment