Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Set static route and default route on GNS3

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Set up static routes on GNS3

First, open GNS3, build 2 new routers and 2 VPCS users, and connect with the network cable.

Indicate the IP address of each interface respectively

PC1 192.168.1.10/24

R1 f0/0 192.168.1.1 / 24

R1 f0/1 192.168.2.1/24

R2 f0/0 192.168.2.2/24

R2 f0/1 192.168.3.1/24

PC2 192.168.3.10/24

Turn on all the devices and double-click each device to configure

First of all, R1, configure f0Universe 0f0apax 1. And configure static rout

Enter interface mode to configure f0Universe 0

Configure R1 f0pic1

Configure a static route and enter the command to see if the routing table is configured successfully

Similarly configure R2

Configure PC1

Configure pc2

After all the configuration is complete, we use PC1 to pingPC2 to see if we can connect.

Successfully connected.

two。 Use the default route to complete data connectivity

First change one of the static routes to the default route

Stop R2 alone, and then turn it back on

And reconfigure R2 f0lap 0 f0lap 1

Configure default rout

After the configuration is completed, pingPC2 in PC1

Connection successful.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report