A Preliminary Study on Huawei and Cisco IPV6: link-local address in IPV6

Source: Internet
Author: User


A Preliminary Study on Huawei and Cisco IPv6. The Global IP address of link-local address in IPV6 is not enough, and IPV6 is gradually launched. You don't need to talk about the benefits of IPv6, such as supporting IP Security, for example, not enough. Recently, we found that when both Huawei and Cisco configure IPv6, an IPv6 address called link-local address is generated under the interface. In some experiments, the record is as follows: In www.2cto.com Huawei VRP system, When configuring static routes for a specified interface, you must use the link-local address of the interface instead of the configured IP address. The reason is that ipv6 can be configured with multiple addresses under the interface:
Display current-configuration interface Eth-Trunk 1.1788 # interface Eth-Trunk1.1788 vlan-type dot1q 1788 ip binding vpn-instance IBM ipv6 enable ipv6 address 500E: 0: 0: 5 :: 2/126 ipv6 address 192: 168: 31: 1/64 # return static route configuration tip: [R1] ipv6 route-static vpn-instance IBM 20E: 0: 0: 5 :: 2 128 Eth-Trunk1.1788 500E: 0: 0: 5: 2 Error: The next-hop must be a link-local address. [R1] ipv6 route-static vpn-instance IBM 20E: 0 : 0: 5: 2 128 Eth-Trunk1.1788 500E: 0: 0: 5: 1 Error: The next-hop must be a link-local address. www.2cto.com should be used after each interface enables ipv6, this interface will automatically generate a link-local address, as a means to uniquely identify the route, the IPv6 address configured under the port is not used as an identifier.
[R1] display ipv6 interface Eth-Trunk 1.1788Eth-Trunk1.1788 current state: DOWN IPv6 protocol current state: DOWNIPv6 is enabled, link-local address is FE80: 5689: 98FF: FE44: 8133 [TENTATIVE] Global unicast address (es): 500E: 0: 0: 5: 2, subnet is 500E: 0: 0: 5:/126 [TENTATIVE] 192: 168: 31: 1, subnet is 192: 168: 31:/64 [TENTATIVE] On A Huawei device, use link-local address as the next hop address to configure the static route successfully: [R1] ipv6 route-static vpn-insta Nce IBM 20E: 0: 0: 5: 2 128 Eth-Trunk 1.1788 FE80: 5689: 98FF: FE44: 8133 [R1] on Huawei devices, whether an interface has one or more IPv6 addresses, the local link address is always used in the static VPN routing configuration of the specified port, instead of the lower port address. Similarly, Cisco generates the local link address of the interface, which is used in the routing label. However, there is no configuration problem on the Cisco IOX system equipment, because the Cisco IOX system can configure static routes to specify the port. The Cisco device www.2cto.com should also use the local link address of the port by default, but it does not need to be explicitly stated. R2 # configure t Wed Sep 5 17:43:39. 760 PRCR2 (config) # router staticR2 (config-static) # vrf SONYR2 (config-static-vrf) # address-family ipv6 unicastR2 (config-static-vrf-afi) #192: 168: 31: 1/64 GigabitEthernet0/4/0/4 R2 (config-static-vrf-afi) # end R2 # quit
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.