Saturday 18 February 2012

EIGRP Routing - Implementing Basic EIGRP





BB-Router(config)#router eigrp 90
BB-Router(config-router)#network 172.30.0.0 0.0.255.255
BB-Router(config-router)#network 10.1.0.0 0.0.255.255
BB-Router(config-router)#no auto-summary

BUT we can confirm that EIGRP is now running on the router;

BB-Router#show ip protocols
Routing Protocol is "eigrp 90"
  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=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 90
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    10.1.0.0/16    <----- shows /16 not /8 as not using default mask, tar no auto-summary
    172.30.0.0       <----- This is default mask, it does not have to put /16
  Routing Information Sources:
    Gateway         Distance      Last Update
    (this router)         90      00:03:51
  Distance: internal 90 external 170


Lets bring the EIGRP neighbourship up, but lets enable some EIGRP debugging first *rubs hands*
R2#debug ip eigrp
R2(config)#conf t
R2(config)#router eigrp 90
R2(config-router)#no auto
R2(config-router)#network 10.1.24.2 0.0.0.0
R2(config-router)#

*Mar  1 00:17:24.203: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 90: Neighbor 10.1.24.1 (Serial1/0) is up: new adjacency
*Mar  1 00:17:24.215: IP-EIGRP(Default-IP-Routing-Table:90): Processing incoming UPDATE packet
*Mar  1 00:17:24.243: IP-EIGRP(Default-IP-Routing-Table:90): Processing incoming UPDATE packet
*Mar  1 00:17:24.247: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.0.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.247: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.0.0  ()
*Mar  1 00:17:24.251: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.1.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.255: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.1.0  ()
*Mar  1 00:17:24.255: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.2.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.2.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.3.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.3.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.4.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.4.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.5.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.5.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.6.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.6.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.7.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.7.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.8.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 172.30.8.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): Int 10.1.34.0/30 M 21024000 - 20000000 1024000 SM 10511872 - 9999872 512000
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): route installed for 10.1.34.0  ()
*Mar  1 00:17:24.259: IP-EIGRP(Default-IP-Routing-Table:90): 10.1.24.0/30 - do advertise out Serial1/0
*Mar  1 00:17:24.311: IP-EIGRP(Default-IP-Routing-Table:90): Processing incoming UPDATE packet
*Mar  1 00:17:24.315: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.0.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.319: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.1.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.319: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.2.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.3.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.4.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.5.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.6.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.7.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 172.30.8.0/24 M 20640000 - 20000000 640000 SM 128256 - 256 128000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): Int 10.1.34.0/30 M 21024000 - 20000000 1024000 SM 10511872 - 9999872 512000
*Mar  1 00:17:24.323: IP-EIGRP(Default-IP-Routing-Table:90): 10.1.24.0/30 - do advertise out Serial1/0
R2(config-router)#


Table 131 debug ip eigrp Field Descriptions *
Field
Description
IP-EIGRP:
Indicates that this is an IP EIGRP message.
Ext
Indicates that the following address is an external destination rather than an internal destination, which would be labeled as Int.
M
Displays the computed metric, which includes the value in the SM field and the cost between this router and the neighbor. The first number is the composite metric. The next two numbers are the inverse bandwidth and the delay, respectively.
SM
Displays the metric as reported by the neighbor.
* http://www.cisco.com/en/US/docs/ios/debug/command/reference/db_h1.html#wp1124044

So above we can see all internal routes being learnt from our neighbour, showing their source metric (bandwith and delay) and Admin Distance





R2(config)#router eigrp 90
R2(config-router)#network 10.1.2.2 0.0.0.0
R2(config-router)#
*Mar  1 01:07:33.599: IP-EIGRP(Default-IP-Routing-Table:90): 10.1.2.0/24 - do advertise out Serial1/0
*Mar  1 01:07:33.599: IP-EIGRP(Default-IP-Routing-Table:90): Int 10.1.2.0/24 metric 281600 - 256000 25600
R2(config-router)#network 10.1.25.2 0.0.0.0
R2(config-router)#
*Mar  1 01:07:44.651: IP-EIGRP(Default-IP-Routing-Table:90): 10.1.25.0/24 - do advertise out Serial1/0
*Mar  1 01:07:44.655: IP-EIGRP(Default-IP-Routing-Table:90): Int 10.1.25.0/24 metric 281600 - 256000 25600


R2#show ip route

     172.30.0.0/24 is subnetted, 9 subnets
D       172.30.2.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.3.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.0.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.1.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.6.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.7.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.4.0 [90/20640000] via 10.1.24.1, 00:50:34, Serial1/0
D       172.30.5.0 [90/20640000] via 10.1.24.1, 00:50:35, Serial1/0
D       172.30.8.0 [90/20640000] via 10.1.24.1, 00:50:35, Serial1/0
     10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C       10.1.2.0/24 is directly connected, FastEthernet0/0
C       10.1.25.0/24 is directly connected, FastEthernet0/1
C       10.1.24.0/30 is directly connected, Serial1/0
D       10.1.34.0/30 [90/21024000] via 10.1.24.1, 00:50:37, Serial1/0


R2#show ip eigrp ne
IP-EIGRP neighbors for process 90
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   10.1.24.1               Se1/0             13 00:51:00   20  1140  0  6
R2#


awesome! lets jump over to R3;

R3(config)#router eigrp 90
R3(config-router)#no auto-summary
R3(config-router)#network 10.1.2.3 0.0.0.0
R3(config-router)#network 10.1.34.2 0.0.0.0


We now have the basic EIGRP lab setup (however i spent alot more time than i thought looking into the debugs lol) will continue with the rest of this lab tomorrow peeps