15-IPv6 Configuration

HomeSupportConfigure & DeployConfiguration ExamplesH3C Routers Easy and Effortless Routing Feature Configuration Examples-6W10015-IPv6 Configuration
01-MSR Routers Stateless Address Auto-Configuration Examples

MSR Routers

Stateless Address Auto-Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2024 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.

Contents

Introduction· 1

Prerequisites· 1

Software version used· 1

Restrictions and guidelines· 1

Network configuration· 1

Procedures· 2

Configuring Router A· 2

Configure Router B· 2


Introduction

This document provides an example of configuring stateless address auto-configuration. This feature enhances network security, because it enables an interface to automatically generate an IPv6 global unicast address by using the address prefix in the received RA message and the interface ID.

Prerequisites

This document is not restricted to specific software or hardware versions. Procedures and information in the examples might be slightly different depending on the software or hardware version of the device.

The configuration examples were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

Software version used

This example is applicable to the MSR router series of the H3C Comware 7 platform. This document takes version R6749P14 of the H3C MSR3610-X1 router as an example. The specific operations might differ by product model and software version.

Restrictions and guidelines

·     Stateless address auto-configuration enables an interface to automatically generate an IPv6 global unicast address by using the address prefix in the received RA message and the interface ID. If the IPv6 prefix in the RA message is not 64 bits, stateless address auto-configuration fails to generate an IPv6 global unicast address.

·     An IEEE 802 interface supports generating public IPv6 addresses and temporary IPv6 addresses. Temporary IPv6 addresses do not overwrite public IPv6 addresses, so an interface can have multiple IPv6 addresses with the same address prefix but different interface IDs. If an interface fails to generate a public IPv6 address because of a prefix conflict or other reasons, it does not generate any temporary IPv6 address.

Network configuration

As shown in Figure 1, the host, Router A, and Router B are connected through Ethernet interfaces. Stateless address auto-configuration is enabled on GigabitEthernet 1/0/1 of Router B.

Figure 1 Network diagram

 

Procedures

Configuring Router A

# Assign a global unicast address to GigabitEthernet 1/0/1 and enable RA message advertisement on the interface.

<RouterA> system-view

[RouterA] interface gigabitethernet 1/0/1

[RouterA-GigabitEthernet1/0/1] ipv6 address 3001::1/64

[RouterA-GigabitEthernet1/0/1] undo ipv6 nd ra halt

[RouterA-GigabitEthernet1/0/1] quit

Configure Router B

# Enable stateless address auto-configuration on GigabitEthernet 1/0/1.

<RouterB> system-view

[RouterB] interface gigabitethernet 1/0/1

[RouterB-GigabitEthernet1/0/1] ipv6 address auto

[RouterB-GigabitEthernet1/0/1] quit

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网