Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

2 / ИСС / Функции коммутаторов D-Link 3-его уровня и примеры их использования_SMM

.pdf
Скачиваний:
67
Добавлен:
06.02.2016
Размер:
6.28 Mб
Скачать

:

Multi-netting 3/3

## L3: DGS-3324SR reset config

config vlan default delete 1-8

create vlan multinet tag 2

config vlan multinet add untagged 1-8

create ipif net1 192.168.1.254/24 multinet state enable

create ipif net2 192.168.2.254/24 multinet secondary state enable create ipif net3 192.168.3.254/24 multinet secondary state enable create ipif net4 192.168.4.254/24 multinet secondary state enable create ipif net5 192.168.5.254/24 multinet secondary state enable

## L2:

: Uplink-, VLAN default.

DGS-3324SR

Intranet-

220.1.1.1

255.255.255.0220.1.1.254

DHCP-

220.1.1.253 255.255.255.0

220.1.1.254

PC1

 

192.168.1.1

PC2

 

255.255.255.0

210.254.254.1

192.168.1.254

255.255.255.0

 

210.254.254.254

 

:

 

Multi-netting:

DGS-3324SR

9-24, Default VLAN,

, System Ipif =

10.90.90.90/8

1-8

VLAN = multinet, , 1: 192.168.1.254/24

2: 210.254.254.254/24 (secondary) 3: 220.1.1.254/24

PC

1,

2, …

5 PC

 

(

multi-netting IP-

 

 

)

PC10 (

IP-

).

 

:

 

 

 

 

 

 

 

 

IP-

 

192.168.1.x/24

 

 

 

.

 

 

DHCP

 

 

IP-

 

210.254.254.x/24.

 

,

 

,

 

 

 

 

 

 

 

 

«manual IP» «

IP-

 

DHCP-

 

»

 

 

IP-

.

Multi-netting

 

 

L3

 

 

 

Intranet.

Virtual Router Redundancy Protocol – VRRP

VRRP –

VRRP - RFC-2338

.

VRRP (the single point of failure)

.

VRRP ,

VRRP

LAN.

VRRP

,

.

VRRP

.

!

10.1.1.254

VRRP

, 172.19.10.1

L3

IP-

:

OSPF, RIP, …

!!!!

: VRRP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L2-

:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.

Spanning Tree:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STP, RSTP, MSTP,…

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10.10.10.10/8

10.10.10.11/8

10.10.10.12/8

= 10.1.1.254 = 10.1.1.254 = 10.1.1.254

2. : 802.3ad (LACP)

VRRP

– Virtual Router: VRRP

,

.

Virtual Router IDentifier (VRID)

IP-.

VRRP - VRRP Router : , VRRP. VRRP . VRRP Backup

Master .

IP- - IP Address Owner : VRRP ,

IP-

.

- Master Router:

() ,

ARP-

.

- Backup Router: VRRP

, .

, .

- VRID Virtual Router Identifier:

VRID.

,

VRID (1 ~ 255).

! C

 

 

 

 

 

 

 

 

 

 

 

 

IP = 192.168.4.x/24

 

 

 

 

 

 

 

 

 

 

 

192_168_4

 

= 192.168.4.254

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4.254

 

 

 

 

 

 

 

 

 

 

L3_C

2.254

3.254

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

192_168_2

192_168_3

2.252

 

 

 

 

 

 

 

 

 

 

 

 

3.253

L3_A 1.252

192_168_1

 

 

 

 

1.253 L3_B

 

 

 

 

 

 

 

$ 1

$ 2

VRRP

L2

IP = 192.168.1.x/24= 192.168.1.252

 

 

VRRP:

 

 

1/5

 

 

 

 

:

 

VRRP

 

192_168_1

L3_A

L3_B

VRRP.

L3_A

 

.

L3_B

 

.

L3_A ,

192.168.1.x

L3_A. L3_B

.

L3_A, L3_B

192.168.1.x,

.

VRRP ,

.

VRRP: 2/5

L3_C

. RIP .

config vlan default delete 1-18

create vlan vlan2 tag 2

config vlan vlan2 add untag 1-6

create ipif 192_168_2 192.168.2.254/24 vlan2 state enable

create vlan vlan3 tag 3

config vlan vlan3 add untag 7-12

create ipif 192_168_3 192.168.3.254/24 vlan3 state enable

create vlan vlan4 tag 4

config vlan vlan4 add untag 13-18

create ipif 192_168_4 192.168.4.254/24 vlan4 state enable

enable rip

config rip all tx_mode v2_only rx_mode v2_only state enable

L3_A

. RIP . VRRP 192_168_1

VRID=252

VRRP:

3/5

L3_B

. RIP . VRRP 192_168_1

VRID=252

config vlan default delete 1-12

 

config vlan default delete 1-12

create vlan vlan2 tag 2

 

create vlan vlan2 tag 2

config vlan vlan2 add untag 1-6

 

config vlan vlan2 add untag 1-6

create ipif 192_168_1 192.168.1.252/24 vlan2 state enable

 

create ipif 192_168_1 192.168.1.253/24 vlan2 state enable

create vlan vlan3 tag 3

 

create vlan vlan3 tag 3

config vlan vlan3 add untag 7-12

 

config vlan vlan3 add untag 7-12

create ipif 192_168_2 192.168.2.252/24 vlan3 state enable

 

create ipif 192_168_3 192.168.3.253/24 vlan3 state enable

enable rip

 

enable rip

config rip all tx_mode v2_only rx_mode v2_only state

 

config rip all tx_mode v2_only rx_mode v2_only state

enable

 

enable

create vrrp vrid 252 ipif 192_168_1 ipaddress

 

create vrrp vrid 252 ipif 192_168_1 ipaddress

192.168.1.252 state enable

 

192.168.1.252 state enable

enable vrrp

 

enable vrrp

 

 

 

 

 

 

VRRP L3_A

DGS-3324SR:4# show vrrp

Global VRRP : Enabled

Non-owner response PING: Disabled

Interface Name

 

: 192_168_1

Authentication type

 

: No Authentication

VRID

: 252

Virtual IP Address

: 192.168.1.252

Virtual MAC Address : 00-00-5E-00-01-FC

Virtual Router State

: Master

State

: Enabled

Priority

: 255

Master IP Address

: 192.168.1.252

Critical IP Address

: 0.0.0.0

Checking Critical IP

: Disabled

Advertisement Interval : 1 secs

Preempt Mode

 

: True

Virtual Router Up Time : 6782215 centi-secs Total Entries: 1

VRRP: 4/5

L3_B

DGS-3324SR:4# show vrrp

Global VRRP : Enabled

Non-owner response PING: Disabled

Interface Name

 

: 192_168_1

Authentication type

 

: No Authentication

VRID

: 252

Virtual IP Address

: 192.168.1.252

Virtual MAC Address : 00-00-5E-00-01-FC

Virtual Router State

: Backup

State

: Enabled

Priority

: 100

Master IP Address

: 192.168.1.252

Critical IP Address

: 0.0.0.0

Checking Critical IP

: Disabled

Advertisement Interval : 1 secs

Preempt Mode

 

: True

Virtual Router Up Time : 6786620 centi-secs Total Entries: 1