Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Saturday, August 18, 2012

rip and ospf love...

rack em up...


bandwidth is 64 and clock rate is 64000 where applicable...

add rip v2 on r1 and r2 and include applicable networks...

remember not to forget no auto-summ... it's v2, right...

r2#sh ip route | excl L | incl Loop
    omitted
Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
R        172.16.1.0/24 [120/1] via 172.16.12.1, 00:00:22, Serial1/0
C        172.16.2.0/24 is directly connected, Loopback0
C        172.16.12.0/24 is directly connected, Serial1/0
C        172.16.23.0/24 is directly connected, Serial1/2
R     192.168.48.0/24 [120/1] via 172.16.12.1, 00:00:22, Serial1/0
R     192.168.49.0/24 [120/1] via 172.16.12.1, 00:00:22, Serial1/0
R     192.168.50.0/24 [120/1] via 172.16.12.1, 00:00:22, Serial1/0
R     192.168.51.0/24 [120/1] via 172.16.12.1, 00:00:22, Serial1/0
R     192.168.70.0/24 [120/1] via 172.16.12.1, 00:00:22, Serial1/0
r2#

r1#sh ip route rip
  omitted
Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
R        172.16.2.0/24 [120/1] via 172.16.12.2, 00:00:03, Serial1/0
R        172.16.23.0/24 [120/1] via 172.16.12.2, 00:00:03, Serial1/0
r1#

r2#sh ip proto
*** IP Routing is NSF aware ***

Routing Protocol is "rip"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Sending updates every 30 seconds, next due in 25 seconds
  Invalid after 180 seconds, hold down 180, flushed after 240
  Redistributing: rip
  Default version control: send version 2, receive version 2
    Interface             Send  Recv  Triggered RIP  Key-chain
    Serial1/0             2     2                                   
    Serial1/2             2     2                                   
    Loopback0             2     2                                   
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    172.16.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    172.16.12.1          120      00:00:05
  Distance: (default is 120)

rip is being advertised out s1/2 because it is being included with the class b...

shut that down by setting the interface to passive...

router rip
passive-int s1/2

r2#sh ip proto
*** IP Routing is NSF aware ***

Routing Protocol is "rip"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Sending updates every 30 seconds, next due in 12 seconds
  Invalid after 180 seconds, hold down 180, flushed after 240
  Redistributing: rip
  Default version control: send version 2, receive version 2
    Interface             Send  Recv  Triggered RIP  Key-chain
    Serial1/0             2     2                                   
    Loopback0             2     2                                   
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    172.16.0.0
  Passive Interface(s):
    Serial1/2
  Routing Information Sources:
    Gateway         Distance      Last Update
    172.16.12.1          120      00:00:14
  Distance: (default is 120)

rip is still in r1's routing table... a passive interface prevents updates from being sent through rip but it does not affect routes received from it...




go ahead and play with passive interfaces... it's very exciting...

of course, you know what's coming with all those consecutive loopbacks...

r2#sh ip route rip
omitted

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
R        172.16.1.0/24 [120/1] via 172.16.12.1, 00:00:16, Serial1/0
R     192.168.48.0/24 [120/1] via 172.16.12.1, 00:00:16, Serial1/0
R     192.168.49.0/24 [120/1] via 172.16.12.1, 00:00:16, Serial1/0
R     192.168.50.0/24 [120/1] via 172.16.12.1, 00:00:16, Serial1/0
R     192.168.51.0/24 [120/1] via 172.16.12.1, 00:00:16, Serial1/0
R     192.168.70.0/24 [120/1] via 172.16.12.1, 00:00:16, Serial1/0

the cisco version of ripv2 won't allow you to summarize to a length less than the classful boundary... eeerp...

r1(config)#int s1/0
r1(config-if)#ip summary-address rip 192.168.48.0 255.255.252.0
 Summary mask must be greater or equal to major net

ruh roh...


instead, do this...

r1(config)#int s1/0
r1(config-if)#ip route 192.168.48.0 255.255.252.0 null0
r2#sh ip route | exc L | incl Loop
     omitted
Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
R        172.16.1.0/24 [120/1] via 172.16.12.1, 00:00:25, Serial1/0
C        172.16.2.0/24 is directly connected, Loopback0
C        172.16.12.0/24 is directly connected, Serial1/0
C        172.16.23.0/24 is directly connected, Serial1/2
R     192.168.48.0/22 [120/1] via 172.16.12.1, 00:00:25, Serial1/0
R     192.168.48.0/24 [120/1] via 172.16.12.1, 00:00:25, Serial1/0
R     192.168.49.0/24 [120/1] via 172.16.12.1, 00:00:25, Serial1/0
R     192.168.50.0/24 [120/1] via 172.16.12.1, 00:00:25, Serial1/0
R     192.168.51.0/24 [120/1] via 172.16.12.1, 00:00:25, Serial1/0
R     192.168.70.0/24 [120/1] via 172.16.12.1, 00:00:25, Serial1/0

or, just never use rip... even better...

face it, the only time you'll ever need rip is for a lab or exam...




No comments:

Post a Comment