Example for Configuring IPv6 Static Routes

Latest reply: Jan 14, 2017 16:16:53 1036 3 0 0

Applicability

This example applies to all AR models of V200R002C00 and later versions.

Networking Requirements

Static routes need to be configured to ensure that any two hosts can communicate with each other. Figure 7-3 shows the IPv6 addresses and masks of hosts and routers' interfaces.

Figure 7-3  Networking diagram of configuring IPv6 static routes
b73b42f16de54528be7a989b428a9e91

Procedure

  1. Configure RouterA.

    #
    ipv6  //Enable IPv6 forwarding.
    #
    interface GigabitEthernet1/0/0 
     ipv6 enable  //Enable IPv6 on the interface.
     ipv6 address 1::1 64 
    #  
    interface GigabitEthernet2/0/0 
     ipv6 enable
     ipv6 address 2::2 64 
    #
    ipv6 route-static 3:: 64 2::1                               
    ipv6 route-static 4:: 64 2::1                               
    ipv6 route-static 5:: 64 2::1  //Configure static routes on RouterA.
    #  
    return 

  2. Configure RouterB.

    #
    ipv6
    #
    interface GigabitEthernet1/0/0 
     ipv6 enable 
     ipv6 address 3::1 64 
    #  
    interface GigabitEthernet2/0/0
     ipv6 enable
     ipv6 address 2::1 64 
    #
    interface GigabitEthernet3/0/0 
     ipv6 enable
     ipv6 address 4::1 64 
    #
    ipv6 route-static 1:: 64 2::2                               
    ipv6 route-static 5:: 64 4::2
    #  
    return 

  3. Configure RouterC.

    #
    ipv6
    #
    interface GigabitEthernet1/0/0 
     ipv6 enable 
     ipv6 address 5::1 64 
    #  
    interface GigabitEthernet2/0/0 
     ipv6 enable
     ipv6 address 4::2 64 
    #
    ipv6 route-static 1:: 64 4::1                               
    ipv6 route-static 2:: 64 4::1                               
    ipv6 route-static 3:: 64 4::1
    #  
    return 

  4. Configure hosts.

    Set the default gateway of hosts in VLAN 10 to 1::1, default gateway of hosts in VLAN 20 to 5::1, and default gateway of VLAN 30 to 3::1.

  5. Configure switches.

    Configure switches to allow hosts to communicate with their respective gateways.

  6. Verify the configuration.

    • Run the display ipv6 routing-table command to view the IP routing table.
    • Run the ping ipv6 command to verify the router connectivity.

Configuration Notes

  • Before configuring an IPv6 routing protocol, enable IPv6 unicast forwarding on routers. Before configuring IPv6 features on an interface, enable IPv6 on the interface.

  • Configure IPv6 addresses for routers' interfaces correctly.

  • Configure default gateways for hosts.


  • x
  • convention:

user_2790689
Created Jan 14, 2017 16:12:29 Helpful(0) Helpful(0)

thank you
  • x
  • convention:

user_2790689
Created Jan 14, 2017 16:16:12 Helpful(0) Helpful(0)

thank you
  • x
  • convention:

user_2790689
Created Jan 14, 2017 16:16:53 Helpful(0) Helpful(0)

thank you
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login