Чрез локалната мрежа се осъществяват различни функции като



страница5/5
Дата03.01.2022
Размер0.67 Mb.
#111906
1   2   3   4   5
Изграждане на локална мрежа
Име на устройството

Интерфейс

Подмрежа

IP адрес

Подмрежова маска

Шлюз по подразбиране

PC 1

Fa0/1 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 2

Fa0/2 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 3

Fa0/3 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 4

Fa0/4 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 5

Fa0/5 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 6

Fa0/6 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 7

Fa0/7 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

PC 8

Fa0/9 SW1

192.168.221.16/29

DHCP

255.255.255.248

192.168.221.17

PC 9

Fa0/10 SW1

192.168.221.16/29

DHCP

255.255.255.248

192.168.221.17

PC 10

Fa0/11 SW1

192.168.221.16/29

DHCP

255.255.255.248

192.168.221.17

PC 11

Fa0/12 SW1

192.168.221.24/29

DHCP

255.255.255.248

192.168.221.25

PC 12

Fa0/13 SW1

192.168.221.24/29

DHCP

255.255.255.248

192.168.221.25

PC 13

Fa0/14 SW1

192.168.221.24/29

DHCP

255.255.255.248

192.168.221.25

PC 14

Fa0/16 SW1

192.168.221.32/29

DHCP

255.255.255.248

192.168.221.33

PC 15

Fa0/17 SW1

192.168.221.32/29

DHCP

255.255.255.248

192.168.221.33

PC 16

Fa0/1 SW2

192.168.221.56/29

DHCP

255.255.255.248

192.168.221.57

PC 17

Fa0/2 SW2

192.168.221.56/29

DHCP

255.255.255.248

192.168.221.57

PC 18

Fa0/5 SW2

192.168.221.64/29

DHCP

255.255.255.248

192.168.221.65

PC 19

Fa0/6 SW2

192.168.221.64/29

DHCP

255.255.255.248

192.168.221.65

PC 20

Fa0/9 SW2

192.168.221.72/29

DHCP

255.255.255.248

192.168.221.73

PC 21

Fa0/10 SW2

192.168.221.72/29

DHCP

255.255.255.248

192.168.221.73

PC 22

Fa0/11 SW2

192.168.221.72/29

DHCP

255.255.255.248

192.168.221.73

PC 23

Fa0/18 SW2

192.168.221.48/29

DHCP

255.255.255.248

192.168.221.49

Printer 1

Fa0/8 SW1

192.168.221.0/28

DHCP

255.255.255.240

192.168.221.1

Printer 2

Fa0/15 SW1

192.168.221.24/29

DHCP

255.255.255.248

192.168.221.25

Printer 3

Fa0/29 SW2

192.168.221.48/29

DHCP

255.255.255.248

192.168.221.49

Server 1

Fa0/15 SW2

192.168.221.40/29

192.168.221.42

255.255.255.248

192.168.221.41

Server 2

Fa0/16 SW2

192.168.221.40/29

192.168.221.43

255.255.255.248

192.168.221.41

Server 3

Fa0/17 SW2

192.168.221.40/29

192.168.221.44

255.255.255.248

192.168.221.41

IP Phone 1

Fa0/3 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 2

Fa0/4 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 3

Fa0/7 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 4

Fa0/8 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 5

Fa0/12 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 6

Fa0/13 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 7

Fa0/14 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

IP Phone 8

Fa0/20 SW2

192.168.221.80/28

DHCP

255.255.255.240

192.168.221.81

Router1

Fa0/24 SW2

-

-

-

-

Switch 1

Fa0/23 SW2

-

-

-

-

Switch 2

Fa0/0 R1

-

-

-

-

-

-

-

-

-

-

3.3 Конфигурации на някой от устройствата

R
interface FastEthernet0/0.10

encapsulation dot1Q 10

ip address 192.168.221.1 255.255.255.240

!

interface FastEthernet0/0.20



encapsulation dot1Q 20

ip address 192.168.221.17 255.255.255.248

!

interface FastEthernet0/0.30



encapsulation dot1Q 30

ip address 192.168.221.25 255.255.255.248

!

interface FastEthernet0/0.40



encapsulation dot1Q 40

ip address 192.168.221.33 255.255.255.248

!

interface FastEthernet0/0.50



encapsulation dot1Q 50

ip address 192.168.221.57 255.255.255.248

!

interface FastEthernet0/0.60



encapsulation dot1Q 60

ip address 192.168.221.65 255.255.255.248

!

interface FastEthernet0/0.70



encapsulation dot1Q 70

ip address 192.168.221.73 255.255.255.248

!

interface FastEthernet0/0.80



encapsulation dot1Q 80

ip address 192.168.221.41 255.255.255.248

!

interface FastEthernet0/0.90



encapsulation dot1Q 90

ip address 192.168.221.49 255.255.255.248

!

interface FastEthernet0/0.100



encapsulation dot1Q 100

ip address 192.168.221.81 255.255.255.240

!

interface FastEthernet0/0.110



encapsulation dot1Q 110

ip address 192.168.221.97 255.255.255.224



hostname Router

ip dhcp excluded-address 192.168.221.81

ip dhcp pool VLAN10

network 192.168.221.0 255.255.255.240

default-router 192.168.221.1

ip dhcp pool VLAN20

network 192.168.221.16 255.255.255.248

default-router 192.168.221.17

ip dhcp pool VLAN30

network 192.168.221.24 255.255.255.248

default-router 192.168.221.25

ip dhcp pool VLAN40

network 192.168.221.32 255.255.255.248

default-router 192.168.221.33

ip dhcp pool VLAN50

network 192.168.221.56 255.255.255.248

default-router 192.168.221.57

ip dhcp pool VLAN60

network 192.168.221.64 255.255.255.248

default-router 192.168.221.65

ip dhcp pool VLAN70

network 192.168.221.72 255.255.255.248

default-router 192.168.221.73

ip dhcp pool VLAN90

network 192.168.221.48 255.255.255.248

default-router 192.168.221.49

ip dhcp pool VLAN100

network 192.168.221.80 255.255.255.240

default-router 192.168.221.81

option 150 ip 192.168.221.81

ip dhcp pool VLAN110

network 192.168.221.96 255.255.255.224

default-router 192.168.221.97
outer:

Switch1:


Всеки порт е разпределен спрямо неговия VLAN в зависимост от това, в коя стая се намират устройствата. Командата използвана за присвояване на порт към VLAN е switchport mode access, след това switchport access vlan(номерът на VLAN-a).

IP телефони:

telephony-service

max-ephones 8

max-dn 8


ip source-address 192.168.221.81 port 2000

auto assign 1 to 8

ephone-dn 1

number 1


ephone-dn 2

number 2


ephone-dn 3

number 3


ephone-dn 4

number 4


ephone-dn 5

number 5


ephone-dn 6

number 6


ephone-dn 7

number 7


ephone-dn 8

number 8


Ping между две PC-та, PC16 и PC23



Сподели с приятели:
1   2   3   4   5




©obuch.info 2024
отнасят до администрацията

    Начална страница