校园宽带IPV6 OSPFv3协议书和DHCPv6配备小结
时间:2021-04-05

本配备适用H3CS12500-CMW520-R1825P01及H3CS5800-CMW520-R1211。

一、IPV6 OSPFv3协议书配备

OSPFv3关键开启对IPV6协议书的适用;

配备OSPFv3,务必手动式特定router id,提议配备为lookback0详细地址。

12508配备以下:

[12500]ospfv3

[12500-ospfv3-1]router-id 10.10.10.1

[12500-ospfv3-1]quit

[12500]interface Vlan-interface 100 //vlan100为与5800互连vlan

[12500-Vlan-interface100] ospfv3 1 area 0.0.0.0

5800配备以下:

[5800]ospfv3

[5800-ospfv3-1]router-id 10.10.10.10

[5800-ospfv3-1]quit

[5800]interface Vlan-interface 100

[5800-Vlan-interface100] ospfv3 1 area 0.0.0.0

查验指令:

disp ospfv3 peer //查询ospfv3隔壁邻居信息内容

disp ipv6 neighbors all //查看ipv6隔壁邻居信息内容


二、DHCPv6配备

下列配备能够全自动为客户分派ipv6详细地址,而且能够下达ipv6 dns信息内容。

[5800]ipv6 //开启ipv6

[5800]interface Vlan-interface 200 //进到客户vlan

[5800-Vlan-interface200] undo ipv6 nd ra halt //容许隔壁邻居发觉路由器通知

[5800-Vlan-interface200] ipv6 nd autoconfig other-flag //隔壁邻居发觉全自动配备use DHCP for non-address config

[5800-Vlan-interface200] ipv6 address 2001:77:77:77::1/64 //配备用ipv6详细地址段

[5800-Vlan-interface200] ipv6 dhcp server apply pool 1 allow-hint preference 255 rapid-commit //启用dhcp详细地址池1Allow client suggested prefixes

[5800-Vlan-interface200]quit

[5800] ipv6 dhcp server enable //开启dhcpv6

[5800] ipv6 dhcp prefix-pool 1 prefix 2001:4860:4860:4860::/64 assign-len 64 //配备ipv6作为前缀信息内容和分派长短

[5800] ipv6 dhcp pool 1 //创建ipv6 dhcp详细地址池

[5800-dhcp6-pool-1] dns-server 2001:4860:4860::8888

[5800-dhcp6-pool-1] dns-server 2001:4860:4860::8844

校园宽带IPV6 OSPFv3协议书和DHCPv6配备小结