RIP.pdf

(45 KB) Pobierz
RIP
packetlife.net
RIP Implementations
Attributes
RIPv1
Original RIP implementation, limited to classful routing
(obsolete)
RIPv2
Introduced support for classless routing, authentication,
triggered updates, and multicast announcements (RFC 2453)
RIPng (RIP Next Generation)
Extends RIPv2 to support IPv6 routing (RFC 2080); functions
very similarly to RIPv2 and is subsequently as limited
Type
Distance Vector
Algorithm
Bellman-Ford
Admin Distance
120
Metric Hop count (max 15)
Standard
RFCs 2080, 2453
Protocols
IPv4, IPv6
Transport
UDP
Protocols Comparison
Authentication
Plaintext, MD5
RIPv1
RIPv2
RIPng
Multicast IP
224.0.0.9/FF02::9
IP
IPv4
IPv4
IPv6
Terminology
Admin Distance 120
120
120
Split Horizon
A rule that states a router may not advertise a route
back to the neighbor from which it was learned
UDP Port 520
520
521
Classless No
Yes
Yes
Route Poisoning
When a network becomes unreachable, an
update with an infinite metric is generated to
explicitly advertise the route as unreachable
Adv. Address Broadcast
224.0.0.9
FF02::9
Authentication None
Plain, MD5
None
RIPv2 Configuration
Poison Reverse
A router advertises a network as unreachable
through the interface on which it was learned
! Enable RIPv2 IPv4 routing
router rip
version 2
Timer Defaults
! Disable RIPv2 automatic summarization
no auto-summary
Update
30 sec
Flush
240 sec
Invalid
180 sec
Hold-down
180 sec
! Designate RIPv2 interfaces by network
network network
RIPv2 Interface Configuration
! Identify unicast-only neighbors
neighbor IP-address
! Configure manual route summarization
ip summary-address rip network mask
! Originate a default route
default-information originate
! Enable MD5 authentication (RIPv2 only)
ip rip authentication mode md5
ip rip authentication key-chain key-chain
! Designate passive interfaces
passive-interface {interface | default}
RIPng Interface Configuration
! Modify timers
timers basic update invalid hold flush
! Enable RIPng on the interface
ipv6 rip name enable
RIPng Configuration
! Configure manual route summarization
ipv6 rip name summary-address prefix
! Enable IPv6 routing
ipv6 unicast-routing
Troubleshooting
! Enable RIPng IPv6 routing
ipv6 router rip name
show ip[v6] protocols
show ip[v6] rip database
! Toggle split-horizon and poison-reverse
[no] split-horizon
[no] poison-reverse
show ip[v6] route rip
debug ip rip { database | events }
debug ipv6 rip [interface]
! Modify timers
timers basic update invalid hold flush
by Jeremy Stretch
v1.1
1016647082.018.png 1016647082.019.png 1016647082.020.png 1016647082.021.png 1016647082.001.png 1016647082.002.png 1016647082.003.png 1016647082.004.png 1016647082.005.png 1016647082.006.png 1016647082.007.png 1016647082.008.png 1016647082.009.png 1016647082.010.png 1016647082.011.png 1016647082.012.png 1016647082.013.png 1016647082.014.png 1016647082.015.png 1016647082.016.png 1016647082.017.png
Zgłoś jeśli naruszono regulamin