Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ОТЧЕТ ДЕЙНЕКО_3.doc
Скачиваний:
2
Добавлен:
13.09.2019
Размер:
333.31 Кб
Скачать

Конфигурация маршрутизатора Getway

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

service password-encryption

!

hostname gateway.rtmain

!

!

!

enable password 7 08701E1D

!

!

!

!

!

!

!

!

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

!

!

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/0/0

ip address 172.16.4.2 255.255.255.252

ip nat inside

clock rate 64000

!

interface Serial0/0/1

ip address 172.16.4.6 255.255.255.252

ip nat inside

clock rate 64000

!

interface Serial0/1/0

ip address 200.10.10.1 255.255.255.248

ip nat outside

clock rate 64000

!

interface Serial0/1/1

no ip address

clock rate 2000000

shutdown

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

redistribute rip metric 3 subnets

network 172.16.4.0 0.0.0.3 area 0

network 172.16.4.4 0.0.0.3 area 0

default-information originate

!

router rip

version 2

redistribute ospf 1 metric 3

redistribute static

network 172.16.0.0

no auto-summary

!

ip nat inside source list 1 interface Serial0/1/0 overload

ip classless

ip route 0.0.0.0 0.0.0.0 Serial0/1/0

!

!

ip access-list standard telnet

permit 172.16.3.0 0.0.0.63

deny any

access-list 1 permit 172.16.1.0 0.0.0.127

access-list 1 permit 172.16.2.0 0.0.0.63

!

!

!

!

!

line con 0

line vty 0 4

access-class telnet in

password 7 08701E1D5D4C53

login

line vty 5 15

access-class telnet in

password 7 08701E1D5D4C53

login

!

!

!

end

Таблица маршрутизации роутера Getway

172.16.0.0/16 is variably subnetted, 12 subnets, 5 masks

O 172.16.0.0/25 [110/65] via 172.16.4.1, 02:28:58, Serial0/0/0

O 172.16.0.128/25 [110/65] via 172.16.4.1, 02:28:58, Serial0/0/0

O 172.16.1.0/25 [110/65] via 172.16.4.1, 02:28:58, Serial0/0/0

O 172.16.1.128/25 [110/65] via 172.16.4.1, 02:28:58, Serial0/0/0

R 172.16.2.0/26 [120/1] via 172.16.4.5, 00:00:08, Serial0/0/1

R 172.16.2.64/26 [120/1] via 172.16.4.5, 00:00:08, Serial0/0/1

R 172.16.2.128/26 [120/1] via 172.16.4.5, 00:00:08, Serial0/0/1

R 172.16.2.192/27 [120/1] via 172.16.4.5, 00:00:08, Serial0/0/1

O 172.16.3.0/27 [110/65] via 172.16.4.1, 02:28:58, Serial0/0/0

R 172.16.3.32/28 [120/1] via 172.16.4.5, 00:00:08, Serial0/0/1

C 172.16.4.0/30 is directly connected, Serial0/0/0

C 172.16.4.4/30 is directly connected, Serial0/0/1

200.10.10.0/29 is subnetted, 1 subnets

C 200.10.10.0 is directly connected, Serial0/1/0

S* 0.0.0.0/0 is directly connected, Serial0/1/0