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

6. Налаштування комутаторів.

Налаштування комутаторів беремо із “running-config” кожного комутатора із мережі.

version 12.1

no service timestamps log datetimemsec

no service timestamps debug datetimemsec

no service password-encryption

!

hostname Switch

!

enable secret 5 $1$mERr$MKTFfYat3dA8lr8/RK3wi0

enable password qwerty

!

!

spanning-tree mode pvst

!

interface FastEthernet0/1

.

.

interface FastEthernet0/24

!

interface Vlan1

ip address 10.0.8.126 255.255.255.192

!

ip default-gateway 10.0.8.65

!

!

line con 0

password qwerty

login

!

linevty 0 4

password qwerty

login

linevty 5 15

login

Такі налаштування виконані на кожному комутаторі тільки з різними початковими характеристиками

7. Налаштування маршрутизаторів

Налаштування маршрутизаторів виконується в CLI в кожному маршрутизаторі.

ISP :

version 12.4

no service timestamps log datetimemsec

no service timestamps debug datetimemsec

no service password-encryption

!

hostname Router

!

!

!

enable secret 5 $1$mERr$7ROPIOkDnPEzwGFVilkoJ0

enable password taras26031993

!

spanning-tree mode pvst

!

!

interface FastEthernet0/0

noip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/1

noip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/0/0

switchport access vlan 100

switchport mode access

!

interface FastEthernet0/0/1

switchport access vlan 100

switchport mode access

!

interface FastEthernet0/0/2

switchport access vlan 100

switchport mode access

!

interface FastEthernet0/0/3

switchport access vlan 100

switchport mode access

!

interface FastEthernet1/0

ip address 11.0.0.2 255.255.255.252

!

interface Vlan1

noip address

shutdown

!

interface Vlan100

ip address 11.0.0.9 255.255.255.248

!

ip classless

!

line con 0

password 18c8784

login

!

line aux 0

!

linevty 0 4

password 18c8784

login

!

end

WEST:

version 12.2

no service timestamps log datetimemsec

no service timestamps debug datetimemsec

no service password-encryption

!

hostname Router

!

!

!

enable secret 5 $1$mERr$MKTFfYat3dA8lr8/RK3wi0

enable password tednet

!

interface FastEthernet0/0

ip address 10.0.8.6 255.255.255.252

duplex auto

speed auto

!

interface FastEthernet1/0

ip address 10.0.8.13 255.255.255.252

ip helper-address 10.0.0.2

duplex auto

speed auto

!

interface FastEthernet2/0

ip address 10.0.8.17 255.255.255.240

ip helper-address 10.0.0.2

duplex auto

speed auto

!

interface FastEthernet3/0

ip address 10.0.8.10 255.255.255.252

duplex auto

speed auto

!

ip classless

ip route 10.0.0.0 255.255.255.248 10.0.8.5

ip route 0.0.0.0 0.0.0.0 10.0.8.5

ip route 10.0.8.64 255.255.255.192 10.0.8.9

ip route 10.0.0.0 255.255.255.252 10.0.8.9

!

line con 0

passwordtednet

login

!

line aux 0

!

linevty 0 4

passwordtednet

login

!

!

ntp server 11.0.0.10 key 0

ntp update-calendar

!

End

EAST:

version 12.2

no service timestamps log datetimemsec

no service timestamps debug datetimemsec

no service password-encryption

!

hostname Router

!

!

!

enable secret 5 $1$mERr$MKTFfYat3dA8lr8/RK3wi0

enable password tednet

!

interface FastEthernet0/0

ip address 10.0.8.2 255.255.255.252

duplex auto

speed auto

!

interface FastEthernet1/0

ip address 10.0.8.65 255.255.255.192

ip helper-address 10.0.0.2

duplex auto

speed auto

!

interface Serial2/0

noip address

shutdown

!

interface Serial3/0

noip address

shutdown

!

interface FastEthernet4/0

ip address 10.0.8.9 255.255.255.252

duplex auto

speed auto

!

interface FastEthernet5/0

noip address

shutdown

!

router rip

!

ip classless

ip route 10.0.0.0 255.255.255.248 10.0.8.1

ip route 0.0.0.0 0.0.0.0 10.0.8.1

ip route 10.0.8.12 255.255.255.252 10.0.8.10

ip route 10.0.8.16 255.255.255.240 10.0.8.10

!

line con 0

passwordtednet

login

!

line aux 0

!

linevty 0 4

passwordtednet

login

!

!

ntp server 11.0.0.10 key 0

ntp update-calendar

!

End

MAIN:

version 12.2

no service timestamps log datetimemsec

no service timestamps debug datetimemsec

no service password-encryption

!

hostname TED

!

enable secret 5 $1$mERr$MKTFfYat3dA8lr8/RK3wi0

enable password tednet

!

username TED password 0 chiker

!

ip domain-name TED

!

interface FastEthernet0/0

ip address 10.0.8.1 255.255.255.252

ipnat inside

duplex auto

speed auto

!

interface FastEthernet1/0

ip address 10.0.8.5 255.255.255.252

ipnat inside

duplex auto

speed auto

!

interface FastEthernet3/0

ip address 10.0.0.1 255.255.255.248

duplex auto

speed auto

!

interface FastEthernet4/0

ip address 11.0.0.1 255.255.255.252

ip access-group 100 in

ipnat outside

!

router rip

!

ipnat inside source list 1 interface FastEthernet4/0 overload

ip classless

ip route 10.0.8.16 255.255.255.240 10.0.8.6

ip route 10.0.8.64 255.255.255.192 10.0.8.2

ip route 10.0.8.12 255.255.255.252 10.0.8.6

ip route 11.0.0.8 255.255.255.248 11.0.0.2

ip route 10.0.8.12 255.255.255.252 10.0.8.2

ip route 10.0.8.16 255.255.255.240 10.0.8.2

!

!

access-list 1 permit 10.0.8.0 0.0.0.255

access-list 100 permit udp any any

access-list 100 permit tcp any 11.0.0.0 0.0.0.1 established

access-list 100 permit icmp any 11.0.0.0 0.0.0.1 echo-reply

!

line con 0

passwordtednet

login

!

line aux 0

!

linevty 0 4

passwordtednet

login local

!

!

ntp server 11.0.0.10 key 0

ntp update-calendar

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]