IPv6 Static Routes (On Cisco Routers) - www.ipcisco.com : www.ipcisco.com

IPv6 Static Routes (On Cisco Routers)

Author: gokhankosem, on 20 Jun 12 - 2 Comments
Content Protection by DMCA.com
On Cisco routers to create a static route for IPv6, we use the similar commands with IPv4. We can make this configuration with three ways :

  • To send all packets to the next-hop address,

    ipv6 route 2001:dc8:b15:4::1/64 2001:dc8:b15:5::1/64

  • Directly attached static route to send packets out an interface,
    ipv6 route 2001:dc8:b15:4::1/64 fastethernet 0/0

  • Full specified static route on a broadcast interface,

    ipv6 route 2001:dc8:b15:4::1/64 fastethernet 0/0 2001:dc8:b15:5::1

  • Below there is an example of IPv6 static routes on Cisco routers.

    First of all we will enable ipv6 routing on all routers and we eill give the ipv6 addresses of interfaces. To control we can use ”show ipv6 interface brief” command.

    R11(config)# ipv6 unicast-routing
    R11(config)# interface serial 0/0
    R11(config-if)# ipv6 address 2001:200:20:1::1/64
    R11(config-if)# no shutdown
    R11(config-if)# exit

    R12(config)# ipv6 unicast-routing
    R12(config)# interface serial 0/0
    R12(config)# ipv6 address 2001:200:20:1::2/64
    R12(config-if)# no shutdown
    R12(config)# interface serial 0/1
    R12(config)# ipv6 address 2001:200:30:2::2/64
    R12(config-if)# no shutdown
    R12(config)# exit

    R13 (config)# ipv6 unicast-routing
    R13(config)# interface serial 0/0
    R13(config)# ipv6 address 2001:200:30:2::1/64
    R13(config-if)# no shutdown

    After interface configuration, it is time to configure static routes. On R11 and R13 we will configure one static route. These are :

    R11(config)# ipv6 route 2001:200:30:2::1/64 2001:200:20:1::2
    R13(config)# ipv6 route 2001:200:20:2::1/64 2001:200:30:2::2

    The last ipv6 routing tables are below on three routers:

    Now, it is time to verify our configuration. We can ping from R11 to 13 to control the connection.

    You can find the other IPv6 articles below…

    IPv6 – Part 1 (IPv6 and IPv6 Addresses)
    IPv6 – Part 2 (What does IPv6 bring?)
    IPv6 – Part 3 (Address Types in IPv6)
    IPv6 – Part 4 (Subnetting IPv6)

    IPv6 Static Route Configuration Examples…

    IPv6 Static Route Configuration on Cisco
    IPv6 Static Route Configuration on Juniper

    IPv6 Routing Protocols…

    IPv6 Routing Protocols – Part 1
    IPv6 Routing Protocols – Part 2 (OSPFv3)

    IPv4 and IPv6 Headers…

    IPv4 and IPv6 Headers

    Youn can join OUR Facebook Group with the below links!!!

About the Author
Gokhan Kosem is a telecommunation and network engineer. His ambition to IP networks and end-to-end system installation made him to prepare this web-site. By sharing his experiences about various networking protocols beside different system installation experiences and Cisco, Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for his collegues in all over the world. He is currently lives in Istanbul, Turkey.

2 comments for “IPv6 Static Routes (On Cisco Routers)”


Hi Kosem,
like to know ..if i connect the r11 router to the layer 2 switch through fa0/0 then i give the ip for the fa0/0 2001:200:abcd::1/66 its working..or can u give me example configuration…Thanks

March 29th, 2012 at 09:40

Hi TZ,
You can assign an ip address to the vlan interface of a layer 2 switch. The detailed link can also help you;)

April 11th, 2012 at 20:34

Leave a Reply

Copy Protected by Chetan's WP-Copyprotect.