users.nik.uni

Download Report

Transcript users.nik.uni

Dynamic routing
Computer networks in practice
ÓBUDAI EGYETEM
2011 TAVASZI FÉLÉV
8. LABORGYAKORLAT
PRÉM DÁNIEL
Routing Information Protocol
• Distance-vector routing protocol
(number of hops)
• 15 hops max
• Automatically updates the routing table.
Updates itself periodically (every 30 seconds
or whenever topology changes
• Sends the whole routing table to the
networks set.
RIP v1
• Default
• No subnet mask
• Only works with CLASSFUL networks
(A, B, C based on the first 3 bits of the IP
address)
• Inbound interface mask is used – can handle
continous subnets.
RIP v2
• Can be protected with password (more
secure)
• More information in packet (administrative
distance)
• Subnet mask support
(VLSM or not continous ranges)
RIP in console
• Enable RIP:
(config)#router rip
• Add a network:
(config-router)#network 192.168.0.0
• Set version:
(config-router)#version 2
• Disable combining networks (CIDR hirdetés)
(config-router)#no auto-summary
• Disable sending updates to a given interface:
(config-router)#passive-interface FastEthernet 0/0
• Distribute static route:
(config-router)#redistribute static
• Distribute default gateway information:
(config-router)#default-information originate