Example: Configuring CE1
!
ipv6 unicast-routing
ipv6 cef
!
interface Ethernet0/0
no ip address
ipv6 address 2001:DB8:2:1::1/64
no shutdown
exit
!
!
ipv6 route 2001:DB8:2:2::/64 2001:DB8:2:1::2
ipv6 route 2001:DB8:2:4::/64 2001:DB8:2:1::2
!
Example: Configuring PE1
ipv6 unicast-routing
ipv6 cef
!
interface Tunnel0
no ip address
ipv6 address 2001:DB8:2:4::1/64
tunnel source 10.22.22.22
tunnel destination 10.44.44.44
exit
!
interface Ethernet0/0
no ip address
ipv6 address 2001:DB8:2:1::2/64
no shutdown
exit
!
interface Ethernet1/1
no ip address
ip address 10.22.22.22 255.255.255.0
no shutdown
exit
!
ip route 10.44.44.0 255.255.255.0 10.22.22.23
ipv6 route 2001:DB8:2:2::/64 Tunnel0 2001:DB8:2:4::2
Example: Configuring PE2
!
ipv6 unicast-routing
ipv6 cef
!
interface Tunnel0
no ipv6 address
ipv6 address 2001:DB8:2:4::2/64
tunnel source 10.44.44.44
tunnel destination 10.22.22.22
exit
!
interface Ethernet0/0 no ipv6 address
ipv6 address 2001:DB8:2:2::1/64
no shutdown
exit
!
interface Ethernet1/0
no ip address
ip address 10.44.44.44 255.255.255.0
no shutdown
exit
!
ip route 10.22.22.0 255.255.255.0 10.44.44.43
!
ipv6 route 2001:DB8:2:1::/64 Tunnel0 2001:DB8:2:4::1
!
Example: Configuring CE2
!
ipv6 unicast-routing
ipv6 cef
!
!
interface Ethernet0/0
no ipv6 address
ipv6 address 2001:DB8:2:2::2/64
no shutdown
exit
!
!
ipv6 route 2001:DB8:2:1::/64 2001:DB8:2:2::1
ipv6 route 2001:DB8:2:4::/64 2001:DB8:2:2::1
!
Example: Configuring Device X
!
interface Ethernet1/0
no ip address
ip address 10.44.44.43 255.255.255.0
no shutdown
exit
!
interface Ethernet1/1
no ip address
ip address 10.22.22.23 255.255.255.0
no shutdown
exit
!
Example: Verifying the Tunnel Configuration
From CE1
Device# ping ipv6 2001:db8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/9/43 ms
Device# ping ipv6 2001:db8:2:2::2 source 2001:db8:2:1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:2:1::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
From PE1
Device# show tunnel interface
Tunnel0
Mode:GRE/IP, Destination 10.44.44.44, Source 10.22.22.22
IP transport: output interface Ethernet1/1 next hop 10.22.22.23
Application ID 1: unspecified
Linestate - current up
Internal linestate - current up, evaluated up
Tunnel Source Flags: Local
Transport IPv4 Header DF bit cleared
OCE: IP tunnel decap
Provider: interface Tu0, prot 47
Performs protocol check [47]
Protocol Handler: GRE: opt 0x0
ptype: ipv4 [ipv4 dispatcher: punt]
ptype: ipv6 [ipv6 dispatcher: from if Tu0]
ptype: mpls [mpls dispatcher: drop]
ptype: otv [mpls dispatcher: drop]
ptype: generic [mpls dispatcher: drop]
There are 0 tunnels running over the EON IP protocol
There are 0 tunnels running over the IPinIP protocol
There are 0 tunnels running over the NOSIP protocol
There are 0 tunnels running over the IPv6inIP protocol
There are 0 tunnels running over the RBSCP/IP protocol
Device# show ip route 10.44.44.44
Routing entry for 10.44.44.0/24
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* 10.22.22.23
Route metric is 0, traffic share count is 1
Device# debug ipv6 icmp
ICMP Packet debugging is on
*Jan 1 10:57:37.882: ICMPv6: Sent R-Advert, Src=FE80::A8BB:CCFF:FE00:5200, Dst=FF02::1
*Jan 1 11:00:18.634: ICMPv6: Received R-Advert, Src=FE80::A8BB:CCFF:FE00:5200,Dst=FF02::1