Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
СПК в рисунках.doc
Скачиваний:
0
Добавлен:
01.04.2025
Размер:
13.48 Mб
Скачать

Конфигурирование конечных узлов и верификация сети

PC>ping 192.168.40.1

Pinging 192.168.40.1 with 32 bytes of data:

Reply from 192.168.40.1: bytes=32 time=230ms TTL=252

Reply from 192.168.40.1: bytes=32 time=236ms TTL=252

Reply from 192.168.40.1: bytes=32 time=229ms TTL=252

Reply from 192.168.40.1: bytes=32 time=231ms TTL=252

Ping statistics for 192.168.40.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 229ms, Maximum = 236ms, Average = 231ms

PC>ping 192.168.40.2

Pinging 192.168.40.2 with 32 bytes of data:

Request timed out.

Reply from 192.168.40.2: bytes=32 time=255ms TTL=124

Reply from 192.168.40.2: bytes=32 time=275ms TTL=124

Reply from 192.168.40.2: bytes=32 time=308ms TTL=124

Ping statistics for 192.168.40.2:

Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

Approximate round trip times in milli-seconds:

Minimum = 255ms, Maximum = 308ms, Average = 279ms

PC>ping 198.168.40.1

Pinging 198.168.40.1 with 32 bytes of data:

Reply from 192.168.10.1: Destination host unreachable.

Reply from 192.168.10.1: Destination host unreachable.

Reply from 192.168.10.1: Destination host unreachable.

Reply from 192.168.10.1: Destination host unreachable.

Ping statistics for 198.168.40.1:

Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC>tracert 192.168.40.2

Tracing route to 192.168.40.2 over a maximum of 30 hops:

1 89 ms 91 ms 77 ms 192.168.10.1

2 131 ms 134 ms 137 ms 200.50.50.12

3 212 ms 168 ms 182 ms 200.60.60.12

4 207 ms 170 ms 198 ms 200.70.70.12

5 288 ms 320 ms 228 ms 192.168.40.2

Trace complete.

PC>

Динамическая маршрутизация. Конфигурирование протокола rip

Отменить все статические маршруты, используя ряд команд типа:

Router_С(config)#no ip route 200.50.50.0 255.255.255.0 200.60.60.11

Затем конфигурируется протокол router rip:

Router_С(config)#router rip

Router_С(config-router)#network 200.60.60.0

Router_С(config-router)#network 200.70.70.0

Router_С(config-router)#network 192.168.30.0

Router_C#sh ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i – IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

R 192.168.10.0/24 [120/2] via 200.60.60.11, 00:00:15, Serial1/2

R 192.168.20.0/24 [120/1] via 200.60.60.11, 00:00:15, Serial1/2

C 192.168.30.0/24 is directly connected, FastEthernet0/0

R 192.168.40.0/24 [120/1] via 200.70.70.12, 00:00:21, Serial1/1

R 200.50.50.0/24 [120/1] via 200.60.60.11, 00:00:15, Serial1/2

C 200.60.60.0/24 is directly connected, Serial1/2

C 200.70.70.0/24 is directly connected, Serial1/1

Router_C#