<> One , Purpose of the experiment

(1) Understand the concept of routing table

(2) master ip route Use of commands

(3) Configure the static route correctly according to the demand

(4) View debug route information

<> Two , Experiment content ( topology )

<> Three , Experimental process

step ①: Configure each interface on each router IP address , Subnet mask ,DCE End setting clock frequency , Ensure the connectivity of direct link .

with R1 Configure as an example , The configuration of other routers is similar :

R1#configure terminal
R1(config)#interface s0/0/1
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#clock rate 64000(DCE Terminal needs to set clock frequency )
R1(config-if)#no shutdown( open port )

After configuring each router, you can try ping For each router interface IP address , It can be found that it is impossible ping common , Because at this time, there is no route information to the destination network in the router .

step ②: Configure the corresponding static route on each router .
The command to configure a static route is “ip route”, The format of the command is as follows :

ip route Destination network Mask { default gateway | Interface }
R1(config)#ip route 192.168.12.0 255.255.255.0 192.168.13.1
-R1(config)#ip route 192.168.2.0 255.255.255.0 172.16.2.2

Pay attention to the configuration : Routing to all segments must be configured on all routers Next hop address must be reachable on the direct link

Auxiliary command show ip interface brief no ip route 192.168.1.0 255.255.255.0 172.16.2.2
<> Four , Experimental results and analysis

(1) implement R1#show ip route instructions , Watch routing table , Observe whether the configuration is that the static route has been written to the route table .

(2) Use in turn PING command ping Interface of each router . Make sure the link is connected .

(3) Analyze static route entries in route table , Understand the meaning of each field .
for example : S 192.168.13.0/24 [1/0] via 192.168.12.2
S 192.168.13.0/24 [1/0] via 192.168.12.2 ① S: Indicates that the route information is a static route ② 192.168.13.0/24
: Destination network ③1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.12.2 gateway ( Next hop address ) S 192.168.14.0/24 [1
/0] via 192.168.13.2 ① S: Indicates that the route information is a static route ② 192.168.14.0/24: Destination network ③ 1: Management distance of static route ④ 0
: Measure ( Hops ) ⑤ via192.168.13.2 gateway ( Next hop address ) S 192.168.15.0/24 [1/0] via 192.168.12.2 ①
S: Indicates that the route information is a static route ②192.168.15.0/24: Destination network ③ 1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.12
.2 gateway ( Next hop address ) S 192.168.14.0/24 [1/0] via 192.168.13.2 ① S: Indicates that the route information is a static route ②
192.168.14.0/24: Destination network ③ 1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.13.2 gateway ( Next hop address ) S
192.168.15.0/24 [1/0] via 192.168.13.2 ① S: Indicates that the route information is a static route ② 192.168.15.0/24: Destination network
③1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.13.2 gateway ( Next hop address ) S 192.168.12.0/24 [1/0]
via192.168.13.1 ① S: Indicates that the route information is a static route ② 192.168.12.0/24: Destination network ③ 1: Management distance of static route ④ 0
: Measure ( Hops ) ⑤ via192.168.13.1 gateway ( Next hop address ) S 192.168.15.0/24 [1/0] via 192.168.14.2 ①
S: Indicates that the route information is a static route ②192.168.15.0/24: Destination network ③ 1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.14
.2 gateway ( Next hop address ) S 192.168.12.0/24 [1/0] via 192.168.14.1 ① S: Indicates that the route information is a static route ②
192.168.12.0/24: Destination network ③ 1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.14.1 gateway ( Next hop address ) S
192.168.13.0/24 [1/0] via 192.168.14.1 ① S: Indicates that the route information is a static route ② 192.168.13.0/24: Destination network
③1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.14.1 gateway ( Next hop address ) S 192.168.12.0/24 [1/0]
via192.168.15.1 ① S: Indicates that the route information is a static route ② 192.168.12.0/24: Destination network ③ 1: Management distance of static route ④ 0
: Measure ( Hops ) ⑤ via192.168.15.1 gateway ( Next hop address ) S 192.168.13.0/24 [1/0] via 192.168.15.1 ①
S: Indicates that the route information is a static route ②192.168.13.0/24: Destination network ③ 1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.15
.1 gateway ( Next hop address ) S 192.168.14.0/24 [1/0] via 192.168.15.1 ① S: Indicates that the route information is a static route ②
192.168.14.0/24: Destination network ③ 1: Management distance of static route ④ 0: Measure ( Hops ) ⑤ via 192.168.15.1 gateway ( Next hop address )
Interesting people are single , Because they're alone , Can support the boring years , It's hard to find someone more interesting than yourself . ​​​​

Technology
©2019-2020 Toolsou All rights reserved,
JS How to operate java Realize the function of grabbing red packets C Language programming to find a student's grade The United Nations 《 Glory of Kings 》 Please go to the studio : To save the earth Dialogue between apple and Nissan suspended ,Apple Car How's it going ?CSS architecture design China's longest high speed rail officially opened ! The fastest way to finish the race 30.5 hour First knowledge MySQL Comprehensive review ( dried food )2021 year 1 Monthly programmer salary statistics , average 14915 element How to use it quickly html and css Write static page