Share learning network device configuration from scratch - Task 3.6 Use default and floating routes to achieve network connectivity

mission details

As the scale of a company continues to expand, it now has two office locations, Beijing headquarters and Tianjin branch. The branches and headquarters are interconnected using routers. After consideration, the company's network administrator decided to configure default routing and floating routing on the router between the headquarters and branches to reduce network management, improve link availability, and enable all computers to access each other. Configure floating routes so that when the main link connecting the company and branches is disconnected, they can be interconnected through backup links.

Mission requirements

(1) Use default routing and floating routing to achieve network connectivity. The network topology is as shown in the figure

(2) The router’s port IP address settings are as shown in the table

(3) The IP address, subnet mask and default gateway of each computer are as shown in the table

(4) Add default routes and floating routes on the two routers to achieve network-wide interoperability and link backup. When configuring the floating route priority, configure the 192.168.2.0 network segment as the main link and the 192.168.3.0 network segment as the backup link. Road, and finally achieve interoperability between company computers and branch computers.

Knowledge preparation

1. Default route Default route is a special static route, which refers to the choice that the router can make when there is no matching entry in the routing table with the destination address of the packet. If there is no default route, packets whose destination address does not have a matching entry in the routing table will be discarded. Default routing is very effective at certain times. When there is a stub network, default routing will greatly simplify the configuration of the router, reduce the workload of the administrator, and improve network performance. The command format of default routing and static routing is the same. Just change the destination IP address and subnet mask to 0.0.0.0 and 0.0.0.0. The configuration command for the default route is:

2. Floating Static Route Floating Static Route is a special kind of static route. Static routes that go to the same destination network segment but have different priorities are configured to ensure the route with higher priority in the network, that is, When the main route fails, a backup route is provided. Under normal circumstances, backup routes will not appear in the routing table. Route priorities on devices generally have default values. Devices from different manufacturers may have different default values ​​for priorities. The priority of the route is as shown in the table

Task implementation

1. Refer to the figure to build the network topology, add the 2SA module to the router at the Serial 1/0/0 position, use the Serial serial port line for the connection between routers, and use straight-through lines for the others, turn on the power of all devices and set the settings for each computer Corresponding IP address and subnet mask.

2. Set the basic configuration of the router.

(1) Basic configuration of router R1.

(2) Basic configuration of router R2.

3. Configure the default route to achieve network-wide interoperability.

(1) Configuration on router R1.

(2) Configuration on router R2.

4. Configure floating static routes to achieve link backup.

(1) Configuration on router R1.

(2) Configuration on router R2.

Task acceptance

1. On router R1, use the display ip routing-table command to view the routing table.

2. Use PC1 to ping the IP address of PC2. You can see that it is connected, as shown in the figure.

The communication is normal, and then use the tracert command to check the gateway passed by the communication between PC1 and PC2 at this time, as shown in the figure

3. Use an alternate link when testing computer communications.

(1) Close Serial1/0/0 of router R1. Use PC1 to ping the IP address of PC2. You can see that after a short timeout, the connection is still available, as shown in the figure.

(2) Use the tracert command to view the gateway passed by the communication between PC1 and PC2 at this time, as shown in the figure

Task summary

1) The default route is the route with destination/mask 0.0.0.0/0.

(2) Floating static routing is a special kind of static routing.

Guess you like

Origin blog.csdn.net/m0_59193722/article/details/133254915