Ensp configuring static and default routing

principle:

image

Experimental scene:

image

Lab topology:

image

Experiments addressing:

image

Setting up the experimental environment in accordance with the experimental lab topology and addressing,

Test connectivity

image

Two PC ping it, found it impossible to communicate

image

Look at the routing table:
image

R1 can be seen in the routing table, no routing information on the network segment where the PC2

image

Similarly, there is no network routing information about PC1 and PC2 are located on the R2

image

No routing information on the network segment where the R3 PC1

image

That is in the initial state, each with its own router only routing information directly connected network segment.

Now across several network segments between PC1 and PC2, to ping the need to configure the routing information on the three routers.

It can be achieved by configuring static routes.

In R1 needs additional information of the network segment 10.0.20.0

image

See R2 routing table, need to include the next hop destination network segment 20

image

Look R3 routing table, there are 20 segments, but ping can come, go back but can not find 192.168.10.0 segment Yeah,

image

The same procedure, again get another on R2:
image

Completed, successfully ping the

image

Guess you like

Origin www.cnblogs.com/arisskz6/p/12001302.html