23 nov. 2011

RIP: Controlling RIP Updates

Controlling RIP Updates


    
Make RIPv2 work.
r2 should not receive 3.0.0.0/8
r3 should not receive 2.0.0.0/8


With a prefix-list.
r1:

!
router rip
 version 2
 redistribute connected route-map CONNECTED->RIP
 network 12.0.0.0
 network 13.0.0.0
 distribute-list prefix F0/0 out
!
ip prefix-list F0/0 seq 5 permit 1.0.0.0/8
ip prefix-list F0/0 seq 10 permit 13.0.0.0/16ip prefix-list F0/0 seq 15 permit 12.0.0.0/16
!
route-map CONNECTED->RIP permit 10
 match interface FastEthernet0/0
!


r2:

!

router rip

 version 2
 redistribute connected route-map CONNECTED->RIP
 network 12.0.0.0
!
route-map CONNECTED->RIP permit 10
 match interface FastEthernet0/0
!

r3:

!

router rip

 version 2
 redistribute connected route-map CONNECTED->RIP
 network 13.0.0.0
!
route-map CONNECTED->RIP permit 10
 match interface FastEthernet0/0
!

With an acl.
r1:
!
router rip
 version 2
 redistribute connected route-map CONNECTED->RIP
 network 12.0.0.0
 network 13.0.0.0
 distribute-list 1 out
!
access-list 1 permit 1.0.0.0 0.255.255.255
!
route-map CONNECTED->RIP permit 10
 match interface FastEthernet0/0
!







NTP - ACL

NTP - Network Time Protocol Packet types: -  Control messages : don't bother with this. -  NTP request/update messages: used for time sy...