Dynamic routing Dynamic routing summary IP routing __

Dynamic routing IP routing __

1. Use the protocol to find the network and update the configuration of the routing table is dynamic routing. It convenient than using a static or default route, but it requires a certain amount of CPU processing time and network router link bandwidth. Routing protocol defines a set of rules of communication router and neighboring router used.

  Two types of commonly used routing protocols in the Internet: Interior Gateway Protocol (IGP) and exterior gateway protocol (EGP). IGP is used between routers (AS) in the same autonomous system to exchange routing information. AS is a web-based management under a common set of domains,

  Its basic meaning is in the same AS all routers share the same routing table information. EGP for communication between AS. Boundary mesh protocol (BGP) is an example of EGP.

2. administrative distance (AD): a measure of the road by the neighboring routers receiving selection information credibility.

  Administrative distance is an integer from 0 to 255, with 0 being the most reliable, while 255 means that there will be no traffic through this route.

  If a router receives two updates to the same remote network router is the first to check AD. If a route is advertised has a lower value than the other AD, AD is the route with the lower value will be placed in the routing table.

  If two metric metric routes are advertised to the same network with the same value AD, the routing protocols (e.g., hop count or link bandwidth values) will be used as the basis to find the best route to reach the remote network. Advertised route with the lowest metric will be placed in the routing table.

  However, if the two advertised routes have the same metric AD and the same, the routing protocol will be used for this remote network load balancing (i.e. it sends a packet on each link to be equally) .

  The default administrative distance:

Source Routing

The default AD

Straight connector

0

Static Routing

1

EIGRP

90

IGRP

100

OSPF

110

RIP

120

External EIGRP

170

3. If a network is directly connected to the router, the router will always use this interface to connect to the network. If the administrator configures a static route, router will make sure this route and learn to ignore other relevant routes.

  Static routing administrative distance can be modified, however, the default, it uses a value of the AD 1. In our static routing configuration, AD values ​​for each route is defined as a 150 or 151. In this way, we can not go to delete the static route when configuring routing protocols.

  When used as a backup route at the same time, they can also be some kind of a problem in some routing protocols.

  For example, if you have a static routing, a RIP advertised route and a route IGRP advertisement indicate the same network can reach, at the time of default, the router will always use static routes, unless you change the AD of the static route.

  Note: Whenever a router sends updates to the neighboring routers, it will add 1 to the hop count of each route. If a router receives a routing update, which includes updates its routing table than in a higher cost path, then the update will be ignored.

4. Routing Protocol

  There are three types of routing protocols.

  Distance Vector : distance vector protocol to find the best path to a remote network by determining distances. Each data packet through a router, called the hop. Using the minimum number of hops a route network is considered to be the best route. Vectors indicate the direction to a remote network.

  RIP and IGRP are distance vector routing protocol. They send the entire routing table directly adjacent to the router.

  Link Status : link state protocol, also known as Shortest Path First, the router uses it to create three separate tables, respectively. Wherein a table is used to track directly connected neighbor, for a determination of the topology of the entire network, and the other for the routing table.

  Link-state router to know more about the Internet than any router using distance vector routing protocol. OSPF routing protocol IP is entirely a link state. Send a link-state protocol containing their own link-state updates to all other routers on the network.

  Hybrid : the protocol is a hybrid combination of link-state and distance vector product of two protocols, e.g., EIGRP.

1. Use the protocol to find the network and update the configuration of the routing table is dynamic routing. It convenient than using a static or default route, but it requires a certain amount of CPU processing time and network router link bandwidth. Routing protocol defines a set of rules of communication router and neighboring router used.

  Two types of commonly used routing protocols in the Internet: Interior Gateway Protocol (IGP) and exterior gateway protocol (EGP). IGP is used between routers (AS) in the same autonomous system to exchange routing information. AS is a web-based management under a common set of domains,

  Its basic meaning is in the same AS all routers share the same routing table information. EGP for communication between AS. Boundary mesh protocol (BGP) is an example of EGP.

2. administrative distance (AD): a measure of the road by the neighboring routers receiving selection information credibility.

  Administrative distance is an integer from 0 to 255, with 0 being the most reliable, while 255 means that there will be no traffic through this route.

  If a router receives two updates to the same remote network router is the first to check AD. If a route is advertised has a lower value than the other AD, AD is the route with the lower value will be placed in the routing table.

  If two metric metric routes are advertised to the same network with the same value AD, the routing protocols (e.g., hop count or link bandwidth values) will be used as the basis to find the best route to reach the remote network. Advertised route with the lowest metric will be placed in the routing table.

  However, if the two advertised routes have the same metric AD and the same, the routing protocol will be used for this remote network load balancing (i.e. it sends a packet on each link to be equally) .

  The default administrative distance:

Source Routing

The default AD

Straight connector

0

Static Routing

1

EIGRP

90

IGRP

100

OSPF

110

RIP

120

External EIGRP

170

3. If a network is directly connected to the router, the router will always use this interface to connect to the network. If the administrator configures a static route, router will make sure this route and learn to ignore other relevant routes.

  Static routing administrative distance can be modified, however, the default, it uses a value of the AD 1. In our static routing configuration, AD values ​​for each route is defined as a 150 or 151. In this way, we can not go to delete the static route when configuring routing protocols.

  When used as a backup route at the same time, they can also be some kind of a problem in some routing protocols.

  For example, if you have a static routing, a RIP advertised route and a route IGRP advertisement indicate the same network can reach, at the time of default, the router will always use static routes, unless you change the AD of the static route.

  Note: Whenever a router sends updates to the neighboring routers, it will add 1 to the hop count of each route. If a router receives a routing update, which includes updates its routing table than in a higher cost path, then the update will be ignored.

4. Routing Protocol

  There are three types of routing protocols.

  Distance Vector : distance vector protocol to find the best path to a remote network by determining distances. Each data packet through a router, called the hop. Using the minimum number of hops a route network is considered to be the best route. Vectors indicate the direction to a remote network.

  RIP and IGRP are distance vector routing protocol. They send the entire routing table directly adjacent to the router.

  Link Status : link state protocol, also known as Shortest Path First, the router uses it to create three separate tables, respectively. Wherein a table is used to track directly connected neighbor, for a determination of the topology of the entire network, and the other for the routing table.

  Link-state router to know more about the Internet than any router using distance vector routing protocol. OSPF routing protocol IP is entirely a link state. Send a link-state protocol containing their own link-state updates to all other routers on the network.

  Hybrid : the protocol is a hybrid combination of link-state and distance vector product of two protocols, e.g., EIGRP.

Guess you like

Origin www.cnblogs.com/zhangpeng11/p/11956487.html