RIP works of 20 study notes

RIP principle of
exchange: the same segment in the transmission of information
to forward data between different segments: routing
the router
three switches
core sheet
routing table
routing entries
via next-hop type prefix / mask [ad / metric] interface
conneted
Static
Dynamic so

Routing types:
direct route
indirectly connected
static: ip routr-static xxxx xxxx xxxx ( manual configuration)
dynamically:
the IGP: Internal Gateway Protocol, IGP
Objective: internal network, quickly calculate a target network destined, acyclic, shortest path forwarding data
DV-distance vector, a distance vector routing protocol
the RIP
IGRP
EIGRP (Cisco proprietary) Dual algorithm: diffusing update algorithm
LS-link state, link state protocol
the ISIS (carrier network): SPF algorithm (short path first) shortest path First
the OSPF
EGP: external gateway protocol, exterior gateway protocol
Objective: between networks, by the BGP routing and routing control implemented flexibly, while ensuring acyclic
BGP (and only one)
distance vector routing protocol: based on the number of routers from a source network to a target network through which the routing
link state routing protocol: considering the case from a source network to a target network routing paths for each
dynamic routing: with respect to the static route; no manual configuration , independent study (itself not independent study) each other router; convenient Ease of management to improve efficiency, taking up network bandwidth
Overview: The language used to exchange information between routers
metric (metric)
hops, bandwidth, load, delay, reliability, cost
convergence: all routing tables are consistent state the process of
Rip:
Reference: https://blog.csdn.net/LAINCLAK/article/details/77266828
defined: routing information protocol; Routing Information Protocol
automatically between a plurality of routers to learn the internal network, synchronization routing table to calculate a minimum destined for a target network, acyclic data forwarding path
effect: between different routers, automatic transmission route of entry for
the basic concepts of RIP
regularly updated (v1) - triggered update (v2)
neighbor (Cisco does not have this concept) display rip peer
broadcast updates (v1) - multicast (v2)
full routing table updates (v1) - change entry (v2)
version: version1; version2

The main difference is the number of fields in the packet level: mask
RIP works of 20 study notes
RIP works of 20 study notes

Data packets are divided into: packet protocol packets and user
scenarios
typically small-scale internal network uses
packet:
the Request: request for requesting update entry to other routers rip
the Response: the response, updates the entry for transmitting to other routers rip It is a response to the request
worksheet:
rip neighbor table (Cisco does not): Those who can communicate with the router itself, have called rip neighbor
rip database: routing entry declaration from the local; to learn from other routers over the routing entry
rip routing table: that is the best route selected from the database of
principles:
1, after the start router rip, will own the local routing table entries declare the rip packets / 2, the port started in rip protocol send the update entry / 3, after receiving the router rip each other, routing through comparison, the best entry into the routing table
4. All the routers will rip periodically updated routing table information to the broadcast form (V1)
update cycles: 30s, the entire transmission (or not) the routing table information
Rip hop count metric as:
maximum number of hops to 15 jump, jump 16 Up
Tips: bridges, switches, transparent bridges? Compare
ideas to solve the network does not make sense: ping gateway, interoperability floor of the exchange, then it is no problem to view the three-tier routing table
Rip packet is a multicast packet; ports: UDP 520
Rip v2 message format
is an application layer
RIP works of 20 study notes
[Route Tag ]: for marking external routing or routing protocol into RIPv2.
[Subnet Mask]: used to identify the use of the network and subnet portion of the IPv4 address.
NextHop []: Indicates the address of the router better than advertised next-hop address. If this field is 0.0.0.0, then the advertising router address is the best next hop
RIP works of 20 study notes
• Address Family Identity field to 0XFFFF.
• Route Tag field to the Authentication Type field.
• IP Address, Subnet Mask, Next Hop Metric and changes to the password field
question: will produce routing loop
solution: split level, learning from one interface to the routing information is not sent out from this interface
configuration:
the Cisco
router IP address thinking dispensing (using the numbering router pair, R1, and R2: 192.168.12.1 and 192.168.12.2)

  1. All port router IP address configuration
  2. Client IP address configuration
  3. Router: Route rip start
  4. Version 2 Select Version
  5. No Auto-summary shut down automatically aggregate (automatic summary vlsm IP address)
  6. Network 192.168.12.0 network segment declared itself
  7. Network 192.168.10.0 subnet mask so no way to add routing as the default mask in the back
  8. 检测show ip protocols;show ip route;show ip rip database
  9. View port to the Multicast: Show ip interface G / 1
    RIP works of 20 study notes
    Unicast Unicast; broadcast broadcast; muticast multicast
    Clear ip route * === clear the routing table
    Network in IGP protocols do:
    Network xxxx xxxx is represented by a network-wide
    in Where the device is represented by a range covered by xxxx interface, are enabled routing protocol process
    1, packets may be transmitted on the port
    2, may receive packets on a port change
    3, you can be on the IP interface the network part of the address, the protocol message into
    Tips: declared network is the default network routing subnet mask, 10.10.10.0/24 like, is declared 10.0.0.0 / 8
    therefore, in this segment network interfaces are declared out becomes a rip packets to carry out the connection, but for some special security needs, influential
    Huawei configuration
    rip
    Version 2
    network 192.168.1.0
    Undo Summery
    silent-interface Ethernet0 / 0/0 interface to silent, do not send rip package
    the display RIP {ID} Database
    the display RIP {ID}
    displau RIP {ID}

operation:"
RIP works of 20 study notes

Guess you like

Origin blog.51cto.com/14518688/2444021