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

2 / ИСС / Технологии, применяемые при построении сетей на основе коммутаторов D-Link_new Advanced_SMM

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

DHCP Relay (Option 82) –

DHCP Relay

DHCP Relay (Option 82) –

DHCP Relay

Option 82 Relay Agent (

) DHCP – .

,

.

RFC 3046.

 

.

 

/

 

,

.

 

 

Unicast-

.

,

 

,

,

.

 

 

 

 

 

 

DHCP option 82

 

 

 

 

 

 

DHCP Relay Agent-

 

DHCP option 82 DES-3526/DES-3550

 

:

 

 

Circuit ID:

 

 

 

 

1.

2.

3.

4.

5.

6.

7.

DHCP -

1

6

0

4

VLAN

Module

Port

 

1

1

1

1

2

1

1

 

1.

 

 

 

 

 

 

 

2.

:

 

3

7

 

DHCP -

 

3.

Circuit ID

 

 

 

 

 

4.

:

 

5

7

 

 

,

5.

VLAN:

VLAN ID

DHCP –

.

 

 

 

DHCP –

.

6.

:

 

 

,

 

 

 

 

 

 

 

 

 

0;

 

,

Unit ID.

 

7.

:

,

 

DHCP -

,

1.

 

 

 

Remote ID:

 

 

 

 

1.

2.

3.

4.

5.

 

 

 

2

8

0

6

MAC address

 

Relay Agent

 

 

1

1

1

1

6

 

 

.

1.

 

 

 

 

 

 

 

 

 

 

DHCP –

 

2.

 

 

 

 

 

 

 

 

 

 

 

 

3.

Remote ID

 

 

 

,

.

4.

 

 

 

 

 

5.

MAC-

: MAC-

 

.

remote ID

.

Circuit ID

9 = 1001 4

:

Circuit ID 0106000400010009

 

 

01

 

06

00

04

0001

00

09

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

6

0

4

VLAN

Module

Port

 

 

 

 

 

 

 

 

 

 

 

 

 

1.

2.

 

3.

4.

5.

6.

7.

 

 

1

1

 

1

1

2

1

1

 

 

 

 

 

 

 

 

 

 

 

 

1.

 

 

 

01 (

Agent Circuit ID)

 

 

 

2.

 

 

 

06

 

 

 

 

 

3.

Circuit ID

00

 

 

 

 

 

4.

 

 

 

04

 

 

 

 

 

5.VLAN: VLAN ID DHCP – . 0001

6.: , 0;

, Unit ID. 00

7.: , DHCP – ,

1. 09

 

 

 

 

 

Remote ID:

 

Remote ID

02080006000F3D849FFF

 

 

02

08

00

06

0080c835260a

 

 

2

8

0

6

MAC address

 

 

1.

2.

3.

4.

5.

 

 

1

1

1

1

6

 

1.

 

02 (

Agent Remote ID)

 

2.

 

08

 

 

 

 

3.

Remote ID 00

 

 

 

 

4.

 

06

 

 

 

 

5.

MAC-

: MAC-

 

 

. 0080C835260A

 

 

Circuit ID

 

 

00040001000900060080c835260a

 

(0106)000400010009

 

 

 

+

 

DHCP –

IP-

,

(0208)00060080c835260a

 

 

 

 

 

Remote ID

 

 

 

 

 

 

 

 

 

 

Option 82

 

1

VLAN V2

VLAN Default

2

 

11.10.10.1/8

 

1-12

13-24

10.10.10.1/8

 

 

 

 

 

L3

 

 

 

 

 

DGS-3324SR

 

 

 

 

 

23

 

 

 

 

L2

 

 

 

 

DES 3526

DHCP -

 

9

10

11.10.10.100/8

 

 

 

10.10.10.101/8

 

 

 

 

 

A

 

 

B

 

:

 

 

 

10.10.10.1/8

 

 

 

 

 

IP Pool:

 

:

 

 

 

11.10.10.101-

1. DHCP -

10.10.10.101

 

10.0.0.0/8

11.10.10.200

2. L3, 2- 10.10.10.1 10.0.0.0/8

11.10.10.1 11.0.0.0/8

3. L2 (DES-3526/DES-3550) DHCP Relay Agent 11.10.10.100 11.0.0.0/8

MAC – 00-80-C8-35-26-0A

4.2 , DHCP – , L2 - 9, 10

DHCP Option 82

1.DHCP – IP- 11.10.10.101 – 11.10.10.200 IP- DHCP – , DHCP Relay Agent- 10.10.10.100 ( DHCP – , , 9 10, IP- .)

--- DHCP –

2.- DHCP – 9

L2, DHCP – IP- 11.10.10.9;

DHCP – 10 L2, DHCP –

IP- 11.10.10.10. (, DHCP –

, 9 , IP- 11.10.10.9)

--- DHCP – option 82

config vlan default delete 1:1-1:12 create vlan v2 tag 2

config vlan v2 add untagged 1:1-1:12

# IP- VLAN 2 default config ipif System ipaddress 10.10.10.1/8

create ipif p2 11.10.10.1/8 v2 save

L2 (DES-3526/DES-3550):

config ipif System ipaddress 11.10.10.100/8

# create iproute default 11.10.10.1

# DHCP Relay

config dhcp_relay add ipif System 10.10.10.101

config dhcp_relay option_82 state enable

enable dhcp_relay

save

DHCP

- 1

DHCP – ,

”haneWIN” DHCP – . (http://www.hanewin.de/homee.htm)

“Basic Profile”

Relay IP : 11.10.10.100

IP-:

11.10.10.101 11.10.10.200

: 255.0.0.0

: 11.10.10.1