Huawei routing
1, from the source host to the destination of the forwarding process
is able to forward the packet to the correct destination, and the best path selection device during forwarding - router
The routing table to forward data
2, the routing table
set in the router routing entries maintained
router selects a path according to the routing table to make
3, a routing table
(1) directly connected segment
configured IP address, port up state, a direct route
(2) non-direct segment
4, static routes
configured manually by an administrator, the one-way
inflexibility
5, the default route
when the router can not find an entry route destination network in the routing table, the router forwards the request to the default routing interface
Routing process forwards the encapsulated packet
Switching and routing contrast
1, the network layer routing work
(1) according to "routing table" forwarding data
(2) routing
(3) forwarding route
2, the exchange of the data link layer
(1) according to "MAC address table" forwarding data
(2) hardware forwarding
lab environment
Three routers R1, R2, R3 twenty-two connected, each router are configured Loopback address emulation environment