5. Тесты
5.1 Pings
1 Отдел – 7 отдел:
PC>ping 172.16.2.130
Pinging 172.16.2.130 with 32 bytes of data:
Reply from 172.16.2.130: bytes=32 time=234ms TTL=125
Reply from 172.16.2.130: bytes=32 time=121ms TTL=125
Reply from 172.16.2.130: bytes=32 time=203ms TTL=125
Reply from 172.16.2.130: bytes=32 time=189ms TTL=125
Ping statistics for 172.16.2.130:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 121ms, Maximum = 234ms, Average = 186ms
2 Отдел – 7 отдел:
PC>ping 172.16.2.130
Pinging 172.16.2.130 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.16.2.130:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
5.2 Dhcp
Получение IP по DHCP в 5 отделе:
5.3 Таблицы маршрутизации:
OSPF:
Router#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
172.16.0.0/16 is variably subnetted, 11 subnets, 5 masks
C 172.16.0.0/24 is directly connected, FastEthernet0/0.101
O E2 172.16.1.0/24 [110/10] via 172.16.6.1, 02:08:04, Serial0/0/0
C 172.16.2.0/25 is directly connected, FastEthernet0/0.102
O E2 172.16.2.128/25 [110/10] via 172.16.6.1, 02:08:04, Serial0/0/0
O E2 172.16.3.0/25 [110/10] via 172.16.6.1, 02:08:04, Serial0/0/0
C 172.16.3.128/26 is directly connected, FastEthernet0/0.104
O E2 172.16.3.192/26 [110/10] via 172.16.6.1, 02:08:04, Serial0/0/0
C 172.16.4.0/27 is directly connected, FastEthernet0/0.103
C 172.16.5.0/27 is directly connected, FastEthernet0/0.14
O E2 172.16.5.32/27 [110/10] via 172.16.6.1, 02:08:04, Serial0/0/0
C 172.16.6.0/30 is directly connected, Serial0/0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0
BGP:
Router#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
172.16.0.0/16 is variably subnetted, 12 subnets, 5 masks
B 172.16.0.0/24 [20/65] via 172.16.6.5, 02:09:46
C 172.16.1.0/24 is directly connected, FastEthernet0/0.106
B 172.16.2.0/25 [20/65] via 172.16.6.5, 02:09:46
C 172.16.2.128/25 is directly connected, FastEthernet0/0.107
C 172.16.3.0/25 is directly connected, FastEthernet0/0.108
B 172.16.3.128/26 [20/65] via 172.16.6.5, 02:09:46
C 172.16.3.192/26 is directly connected, FastEthernet0/0.105
B 172.16.4.0/27 [20/65] via 172.16.6.5, 02:09:46
B 172.16.5.0/27 [20/65] via 172.16.6.5, 02:09:46
C 172.16.5.32/27 is directly connected, FastEthernet0/0.14
B 172.16.6.0/30 [20/20] via 172.16.6.5, 02:09:46
C 172.16.6.4/30 is directly connected, Serial0/0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0
gateway:
Router#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
C 95.0.0.0/8 is directly connected, FastEthernet0/0
172.16.0.0/16 is variably subnetted, 12 subnets, 5 masks
O 172.16.0.0/24 [110/65] via 172.16.6.2, 02:10:12, Serial0/0/0
B 172.16.1.0/24 [20/0] via 172.16.6.6, 02:10:27
O 172.16.2.0/25 [110/65] via 172.16.6.2, 02:10:12, Serial0/0/0
B 172.16.2.128/25 [20/0] via 172.16.6.6, 02:10:27
B 172.16.3.0/25 [20/0] via 172.16.6.6, 02:10:27
O 172.16.3.128/26 [110/65] via 172.16.6.2, 02:10:12, Serial0/0/0
B 172.16.3.192/26 [20/0] via 172.16.6.6, 02:10:27
O 172.16.4.0/27 [110/65] via 172.16.6.2, 02:10:12, Serial0/0/0
O 172.16.5.0/27 [110/65] via 172.16.6.2, 02:10:12, Serial0/0/0
B 172.16.5.32/27 [20/0] via 172.16.6.6, 02:10:27
C 172.16.6.0/30 is directly connected, Serial0/0/0
C 172.16.6.4/30 is directly connected, Serial0/0/1
S* 0.0.0.0/0 is directly connected, FastEthernet0/0
5.5 PAT
Из otd5(ip: 172.16.3.194):
PC>ping 122.11.22.112
На gateway:
Router#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 95.107.47.4:5 172.16.3.194:5 122.11.22.112:5 122.11.22.112:5
icmp 95.107.47.4:6 172.16.3.194:6 122.11.22.112:6 122.11.22.112:6
icmp 95.107.47.4:7 172.16.3.194:7 122.11.22.112:7 122.11.22.112:7
icmp 95.107.47.4:8 172.16.3.194:8 122.11.22.112:8 122.11.22.112:8