Dynamic routing - routing protocol based on a realization
rip dynamic routing: routers can learn from each other, I did not learn something
Principles: Where to learn who gave treatment
First, the dynamic routing features:
2. 1. Reduce the administrative tasks take up network bandwidth
Dynamic Routing Protocol Overview: language for the exchange of information between routers
Measure: to measure the parameters of the merits of the path - the number (as possible) hops, bandwidth, load, the lower the latency, reliability, cost, higher-bandwidth path cost
Convergence: all routers form a complete routing table (same state)
Static Routing (priority) and dynamic routing are complementary
According to the classification routing algorithm executed
Distance vector routing protocol - a measure of the number of hops
Based on the number of routers from a source network to a target network through which the routing: RIP, IGRP
Link-state routing protocol - the overall state
Considering the case from a source network to a target network each path routing: OSPF, IS-IS
Gateway:
Interior Gateway
Exterior Gateway Protocol BGP
Second, the basic concept of the RIP
1. periodic update
2. neighbor discovery mechanism
Broadcast Update
4. Full routing table update
Update cycle 30s, the router sends a routing table to neighbors, good information into the convergence state
1.RIP metric of hops, a maximum of 15 hops
2.RIP sending routing updates every 30s, UDP520 port
3.RIP routing updates is to send the entire routing table information
Generating routing loop: a network segment off is marked as 16 hops, so the router will learn the wrong route entry mutually disconnected access network at this time in the host, will produce routing loop, so split level needed to prevent this phenomenon
Split Horizon: The information learned from the port is no longer sent from this interface, while reducing the link bandwidth resource occupied by routing update information
Configuration
Enable RIP at 1. Global mode: router rip
2. declares network ID: network network-number
3. Check the routing table: show ip route
4. Check the routing protocol configuration: show ip protocols
The RIP:
Administrative distance: the trustworthiness of a routing protocol, the smaller the value, the higher the degree of trust
Metric-- metric of hops
RIP version 1 and 2
v1: There are class routing protocol updates broadcast (255.255.255.255) does not support automatic route summarization vlsm does not support discontinuous subnets
v2: Classless multicast routing protocol updates (224.0.0.9) can support vlsm manual tabulation support discontinuous subnets
Third, experiment
Experimental GNS3 software environment, as shown in the topology of FIG.
(1) configure the router (gateway)
(2) is provided ip address of the PC, both test and is unable to communicate with each other
(3) Set the RIP (routers allow automatic learning)
(4) on PC access each test
Simple experiments, which means that no au no auto-summary, off route summarization function. thanks for reading!