Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Summary of IPV6 OSPFv3 Protocol and DHCPv6 configuration of Campus Network

Shulou Source: shulou.com Published: 2022-06-01 07:23:42 10月03日 Update

This configuration applies to H3C S12500-CMW520-R1825P01 and H3C S5800-CMW520-R1211.

IPV6 OSPFv3 Protocol Configuration

OSPFv3 mainly enables IPV6 protocol support;

To configure OSPFv3, you must specify the router id manually. It is recommended to configure the lookup 0 address.

12508 is configured as follows:

[12500]ospfv3

[12500-ospfv3-1]router-id 10.10.10.1

[12500-ospfv3-1]quit

[12500]interface Vlan-interface 100 //vlan100 for interconnection with 5800 vlan

[12500-Vlan-interface100] ospfv3 1 area 0.0.0.0

The 5800 is configured as follows:

[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

Check command:

disp ospfv3 peer //View ospfv3 neighbor information

disp ipv6 neighbors all //View ipv6 neighbor information

II. DHCPv6 configuration

The following configuration can automatically assign ipv6 addresses to users and can deliver ipv6 dns information.

[5800]ipv6 //Enable ipv6

[5800]interface Vlan-interface 200 //Enter user vlan

[5800-Vlan-interface200] undo ipv9nd ra halt //Allow Neighbor Discovery Route Advertisement

[5800-Vlan-interface200] ipv6nd autoconfig other-flag //neighbor discovery autoconfig use DHCP for non-address config

[5800-Vlan-interface200] ipv6 address 2001:77:77::1/64 //ipv6 address segment for configuration

[5800-Vlan-interface200] ipv6 dhcp server apply pool 1 allow-hint preference 255 rapid-commit //invoke dhcp address pool 1Allow client suggested prefixes

[5800-Vlan-interface200]quit

[5800] ipv6 dhcp server enable //enable dhcpv6

[5800] ipv6 dhcp fix-pool 1 prefix 2001:4860:4860::/64 assign-len 64 //configure ipv6 prefix information and allocation length

[5800] ipv6 dhcp pool 1 //Create ipv6 dhcp pool

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

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

Tags: Configuration address information neighbors users assignments prefixes commands recommendations manual routing advertisement length interconnection support inspection campus campus network Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Tech Info Huawei macOS Microsoft