GNS3 use to configure static and default routing

Experiment 1: Configuring static routing to achieve interoperability of the two machines

1. Open GNS3, create two routers R1, R2

Screenshot micro-channel _20190806165237.png


2. Create two pc machine pc1, pc2

Screenshot micro-channel _20190806165358.png


3, and routers connected to the pc, and all open

Screenshot micro-channel _20190806165633.png


4, the router R1 enters open mode Global

An interface into the interface mode router R1 and turned 0/0 0/1

Screenshot micro-channel _20190806171434.png


5 configured static route R1 in global mode

Screenshot micro-channel _20190806183500.png


6. Open the router configuration R1 and R2 as we configure two interfaces R2, let's not configure a static route R2, let's see if you can ping the

Screenshot micro-channel _20190806184011.png


7, and are arranged ip address of the gateway pc1 pc2

Screenshot micro-channel _20190806184559.png

Screenshot micro-channel _20190806184629.png


8, this time we went ping pc2 pc1 our findings show that the timeout, this time because we do not have to configure the router R2 R2 static routes in the routing table does not lead to a network segment 10.1, so the network can not find the router directly discarded

微信截图_20190806184744.png


9, this is our go back and look at the configuration of static routing router R2

微信截图_20190806184912.png


10, let us PING this is what we can find to ping the

微信截图_20190806185007.png


Experiment two: R2 configure a default route to see two pc can not function interconnection


1, we first router R2 stop, then turn it in accordance with the previous steps to configure the look R2 interface, and then configure a default route

微信截图_20190806185805.png

微信截图_20190806190510.png


2, this is what we have to ping, ping can also find us on the front of the packet loss is caused because the ARP broadcast

微信截图_20190806190633.png

Guess you like

Origin blog.51cto.com/14080162/2427204