beautypg.com

QTECH QSW-8300 Инструкция по настройке User Manual

Page 176

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

175

Switch3(Config-if-Vlan10)#exit

Switch3(config)#

Switch2 configuration:

Switch2>enable

Switch2#config

Switch2(config)#service dhcpv6

Switch2(config)#interface vlan 1

Switch2(Config-if-Vlan1)#ipv6 address 2001:da8:1:1::2/64

Switch2(Config-if-Vlan1)#exit

Switch2(config)#interface vlan 10

Switch2(Config-if-Vlan10)#ipv6 address 2001:da8:10:1::2/64

Switch2(Config-if-Vlan10)#exit

Switch2(config)#interface vlan 100

Switch2(Config-if-Vlan100)#ipv6 address 2001:da8:100:1::1/64

Switch2(Config-if-Vlan100)#no ipv6 nd suppress-ra

Switch2(Config-if-Vlan100)#ipv6 nd managed-config-flag

Switch2(Config-if-Vlan100)#ipv6 nd other-config-flag

Switch2(Config-if-Vlan100)#ipv6 dhcp relay destination 2001:da8:10:1::1

Switch2(Config-if-Vlan100)#exit

Switch2(config)#

Example2:

When the network operator is deploying IPv6 networks, network automatically configuration

can be achieved through the prefix delegation allocation of IPv6 addresses, in stead of

configuring manually for each switch:

To configure the switching or routing device which is connected to the client switch as DHCPv6

prefix delegation server, that is to setup a local database for the relationship between the

allocated prefix and the DUID of the client switch.

To configure the switch as the prefix delegation client, and make the client switch to get IPv6

address prefix from the prefix delegation server, through a process which is much like the

process of DHCPv6 address allocation.

The edge devices which receive the address prefix, send routing advertisement - RA

messages, to the client hosts about the address prefix through the interface which is

connected to the hosts, then the hosts get an valid IPv6 address through stateless auto

configuration, while at the same time, the stateless DHCPv6 server will be configured for the

interface, in order to provide the DHCPv6 client with information such as DNS, and domain

name, etc.

Network Topology:

The edge switch is a Switch1 switch. The interface connected to the trunk switch which is