Layer 3 - IP Routing Configuration Guide

HomeSupportWirelessH3C WA2200 Series WLAN Access PointsConfigure & DeployConfiguration GuidesH3C WA Series WLAN Access Points Configuration Guide-6W100Layer 3 - IP Routing Configuration Guide
03-IPv6 Static Routing Configuration
Title Size Download
03-IPv6 Static Routing Configuration 88.22 KB

l          The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.

l          Support of the H3C WA series WLAN access points (APs) for features may vary by AP model. For more information, see Feature Matrix.

l          The interface types and the number of interfaces vary by AP model.

l          The term AP in this document refers to common APs, wireless bridges, and mesh APs.

 

This chapter includes these sections:

l          Introduction to IPv6 Static Routing

l          Configuring an IPv6 Static Route

l          Displaying and Maintaining IPv6 Static Routes

l          IPv6 Static Routing Configuration Example

 

l          The term router in this document refers to both routers and APs configured with routing capabilities.

l          Support for IPv6 static routing depends on the AP model.

 

Introduction to IPv6 Static Routing

Static routes are manually configured. They work well in simple networks. Configuring and using them properly can improve the performance of networks and guarantee enough bandwidth for important applications.

However, static routes also have shortcomings. Any topology changes could result in unavailable routes, requiring the network administrator to manually configure and modify the static routes.

Features of IPv6 Static Routes

Similar to IPv4 static routes, IPv6 static routes work well in simple IPv6 network environments.

Their major difference lies in the destination and next hop addresses. IPv6 static routes use IPv6 addresses whereas IPv4 static routes use IPv4 addresses. Currently, IPv6 static routes do not support VPN instance.

Default IPv6 Route

The IPv6 static route that has the destination address configured as ::/0 (indicating a prefix length of 0) is the default IPv6 route. If the destination address of an IPv6 packet does not match any entry in the routing table, this default route will be used to forward the packet.

Configuring an IPv6 Static Route

In small IPv6 networks, IPv6 static routes can be used to forward packets. In comparison to dynamic routes, it helps to save network bandwidth.

Configuration prerequisites

l          Configuring parameters for the related interfaces

l          Configuring link layer attributes for the related interfaces

l          Enabling IPv6 packet forwarding

l          Ensuring that the neighboring nodes are IPv6 reachable

Configuring an IPv6 Static Route

Follow these steps to configure an IPv6 static route:

To do…

Use the commands…

Remarks

Enter system view

system-view

Configure an IPv6 static route with the output interface being a broadcast interface

ipv6 route-static ipv6-address prefix-length nexthop-address [ preference preference-value ]

Required

The default preference of IPv6 static routes is 60.

 

While configuring a static route with a broadcast interface as its output interface, such as an Ethernet interface or a VLAN interface, you must specify the next hop address.

 

Displaying and Maintaining IPv6 Static Routes

To do…

Use the command…

Remarks

Display IPv6 static route information

display ipv6 routing-table

Available in any view

 

Using the undo ipv6 route-static command can delete a single IPv6 static route.

 

IPv6 Static Routing Configuration Example

Network requirements

The IP addresses and masks of the hosts and interfaces of the switches and the AP are shown in Figure 1-1. IPv6 static routes are required for interconnection between Host A and Host B.

Figure 1-1 Network diagram for IPv6 static route configuration

 

Configuration procedure

1)        Configure the IPv6 addresses for all interfaces (omitted)

2)        Configure IPv6 static routes.

# Configure a default IPv6 static route on Switch A.

<SwitchA> system-view

[SwitchA] ipv6

[SwitchA] ipv6 route-static :: 0 4::2

# Configure two IPv6 static routes on Switch B.

<SwitchB> system-view

[SwitchB] ipv6

[SwitchB] ipv6 route-static 1:: 64 4::1

[SwitchB] ipv6 route-static 3:: 64 3::1

# Configure a default IPv6 static route on the AP.

<AP> system-view

[AP] ipv6

[AP] ipv6 route-static :: 0 3::1

3)        Configure gateways for hosts.

Configure the gateway of Host A as 1::1, and that of Host B as 3::3.

4)        Verify the configuration.

# Ping Host B on Switch A.

<SwitchA> system-view

[SwitchA] ping ipv6 3::2

  PING 3::2 : 56  data bytes, press CTRL_C to break

    Reply from 3::2

    bytes=56 Sequence=1 hop limit=254  time = 63 ms

    Reply from 3::2

    bytes=56 Sequence=2 hop limit=254  time = 62 ms

    Reply from 3::2

    bytes=56 Sequence=3 hop limit=254  time = 62 ms

    Reply from 3::2

    bytes=56 Sequence=4 hop limit=254  time = 63 ms

    Reply from 3::2

    bytes=56 Sequence=5 hop limit=254  time = 63 ms

 

  --- 3::2 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 62/62/63 ms

  • 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
新华三官网