IPv6 tunneling over IPv6

April 26, 2007 at 4:28 pm | Posted in IPv6 | Leave a comment

CE1#
ipv6 unicast-routing
!
!
interface FastEthernet0
 no ip address
 speed auto
 ipv6 address FEC0:0:0:1::2/64
 ipv6 rip attlab enable
!
PE1#
!
ipv6 unicast-routing
!
!
!
!
interface Loopback0
 ip address 165.87.1.1 255.255.255.255
!
interface Tunnel0
 description tunnel PE1 –> PE2
 no ip address
 ipv6 address FEC0:0:0:A::1/124
 ipv6 rip attlab enable
 tunnel source Serial0/2
 tunnel destination 32.29.1.6
 tunnel mode ipv6ip
!
interface FastEthernet0/0
 no ip address
 speed 10
 full-duplex
! this is required, to advertized the subnet via RIP
 ipv6 address FEC0:0:0:1::/64 eui-64

! this address is not required, if we do not want to ping from PE2 to PE1 FastEthernet
 ipv6 address FEC0:0:0:1::1/64
 ipv6 rip attlab enable
!
!
interface Serial0/2
 description WAN PE1 — PE2
 ip address 32.29.1.5 255.255.255.252
 clockrate 64000
!
!        
!
ipv6 router rip attlab
  no split-horizon
!
PE2#
!
ipv6 unicast-routing
!
interface Tunnel0
 description tunnel PE2 –> PE1
 no ip address
 ipv6 address FEC0:0:0:A::2/124
 ipv6 rip attlab enable
 tunnel source Serial0/2
 tunnel destination 32.29.1.5
 tunnel mode ipv6ip
!
interface FastEthernet0/0
 no ip address
 speed 10
 full-duplex
 ipv6 address FEC0:0:0:2::/64 eui-64
!
!
interface Serial0/2
 description WAN PE1 — PE2
 ip address 32.29.1.6 255.255.255.252
!
P1#
!
!
ipv6 unicast-routing
!
!
interface FastEthernet0/0
 no ip address
 speed 10
 full-duplex
 ipv6 address FEC0:0:0:2::2/64
 ipv6 rip attlab enable
!

CE1#sh ipv6 int
CE1#sh ipv6 interface fa0
FastEthernet0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::211:BBFF:FEB0:8F07
  Global unicast address(es):
    FEC0:0:0:1::2, subnet is FEC0:0:0:1::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::9
    FF02::1:FF00:2
    FF02::1:FFB0:8F07
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  Hosts use stateless autoconfig for addresses.

CE1#sh ipv6 route
IPv6 Routing Table – 6 entries
Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP
       U – Per-user Static route
       I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary
       O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2
       ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2
L   FE80::/10 [0/0]
     via ::, Null0
C   FEC0:0:0:1::/64 [0/0]
     via ::, FastEthernet0
L   FEC0:0:0:1::2/128 [0/0]
     via ::, FastEthernet0
R   FEC0:0:0:2::/64 [120/3]
     via FE80::20B:5FFF:FE76:7280, FastEthernet0
R   FEC0:0:0:A::/124 [120/2]
     via FE80::20B:5FFF:FE76:7280, FastEthernet0
L   FF00::/8 [0/0]
     via ::, Null0
PE1#sh ipv6 interface fa0/0
FastEthernet0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::20B:5FFF:FE76:7280
  Global unicast address(es):
    FEC0:0:0:1::1, subnet is FEC0:0:0:1::/64
    FEC0::1:20B:5FFF:FE76:7280, subnet is FEC0:0:0:1::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::9
    FF02::1:FF00:1
    FF02::1:FF76:7280
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  Hosts use stateless autoconfig for addresses.
PE1#sh ipv6 interface tunnel0
Tunnel0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::201D:105
  Description: tunnel PE1 –> PE2
  Global unicast address(es):
    FEC0:0:0:A::1, subnet is FEC0:0:0:A::/124
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::9
    FF02::1:FF00:1
    FF02::1:FF1D:105
  MTU is 1480 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.

PE2#sh ipv6 interface fa0/0
FastEthernet0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::214:F2FF:FE7F:AE60
  Global unicast address(es):
    FEC0::2:214:F2FF:FE7F:AE60, subnet is FEC0:0:0:2::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::9
    FF02::1:FF7F:AE60
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  Hosts use stateless autoconfig for addresses.
PE2#sh ipv6 interface tunnel0
Tunnel0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::201D:106
  Description: tunnel PE2 –> PE1
  Global unicast address(es):
    FEC0:0:0:A::2, subnet is FEC0:0:0:A::/124
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::9
    FF02::1:FF00:2
    FF02::1:FF1D:106
  MTU is 1480 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.
PE2#

P1#sh ipv6 interface fa0/0
FastEthernet0/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::20B:5FFF:FE63:1620
  Global unicast address(es):
    FEC0:0:0:2::2, subnet is FEC0:0:0:2::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::9
    FF02::1:FF00:2
    FF02::1:FF63:1620
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  Hosts use stateless autoconfig for addresses.
P1#sh ipv6 route
IPv6 Routing Table – 6 entries
Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP
       U – Per-user Static route
       I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea
L   FE80::/10 [0/0]
     via ::, Null0
R   FEC0:0:0:1::/64 [120/3]
     via FE80::214:F2FF:FE7F:AE60, FastEthernet0/0
L   FEC0:0:0:2::2/128 [0/0]
     via ::, FastEthernet0/0
C   FEC0:0:0:2::/64 [0/0]
     via ::, FastEthernet0/0
R   FEC0:0:0:A::/124 [120/2]
     via FE80::214:F2FF:FE7F:AE60, FastEthernet0/0
L   FF00::/8 [0/0]
     via ::, Null0
CE1#traceroute ipv6 FEC0:0:0:2::2

Type escape sequence to abort.
Tracing the route to FEC0:0:0:2::2

  1 FEC0:0:0:1::1 0 msec 0 msec 4 msec
  2 FEC0:0:0:A::2 28 msec 28 msec 28 msec
  3 FEC0:0:0:2::2 32 msec 28 msec 32 msec

CE1#debug ipv6 icmp
ICMP packet debugging is on
CE1#
CE1#
CE1#
CE1#traceroute ipv6 FEC0:0:0:2::2

Type escape sequence to abort.
Tracing the route to FEC0:0:0:2::2

  1
ICMPv6: Received ICMPv6 packet from FEC0:0:0:1::1, type 3
ICMPv6: Received ICMPv6 packet from FE80::20B:5FFF:FE76:7280, type 135
ICMPv6: Received ICMPv6 packet from FE80::20B:5FFF:FE76:7280, type 136FEC0:0:0:1::1 0 msec 0 msec 4 msec
  2
ICMPv6: Received ICMPv6 packet from FEC0:0:0:1::1, type 3
ICMPv6: Received ICMPv6 packet from FEC0:0:0:1::1, type 3
ICMPv6: Received ICMPv6 packet from FEC0:0:0:A::2, type 3
ICMPv6: Received ICMPv6 packet from FE80::20B:5FFF:FE76:7280, type 135FEC0:0:0:A::2 28 msec 28 msec 28 msec
  3
ICMPv6: Received ICMPv6 packet from FEC0:0:0:A::2, type 3
ICMPv6: Received ICMPv6 packet from FEC0:0:0:A::2, type 3
ICMPv6: Received ICMPv6 packet from FEC0:0:0:2::2, type 1
ICMPv6: Received ICMP unreachable code 4 from FEC0:0:0:2::2
ICMPv6: Received ICMPv6 packet from FE80::20B:5FFF:FE76:7280, type 134FEC0:0:0:2::2 28 msec 28 msec 28 msec
CE1#
ICMPv6: Received ICMPv6 packet from FEC0:0:0:2::2, type 1
ICMPv6: Received ICMP unreachable code 4 from FEC0:0:0:2::2
ICMPv6: Received ICMPv6 packet from FEC0:0:0:2::2, type 1
ICMPv6: Received ICMP unreachable code 4 from FEC0:0:0:2::2
CE1#debug ipv6 packet
IPv6 unicast packet debugging is on
CE1#
CE1#
CE1#ping ipv6 FEC0:0:0:2::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0:0:0:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/37/40 ms
CE1#
IPV6: source FE80::211:BBFF:FEB0:8F07 (local)
      dest FF02::9 (FastEthernet0)
      traffic class 224, flow 0x0, len 72+1428, prot 17, hops 255, originating
IPv6: Sending on FastEthernet0
IPv6: SAS picked source FEC0:0:0:1::2 for FEC0:0:0:2::2 (FastEthernet0)
IPv6: nexthop FE80::20B:5FFF:FE76:7280,
IPV6: source FEC0:0:0:1::2 (local)
      dest FEC0:0:0:2::2 (FastEthernet0)
      traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originating
IPv6: Sending on FastEthernet0
IPV6: source FEC0:0:0:2::2 (FastEthernet0)
      dest FEC0:0:0:1::2
      traffic class 0, flow 0x0, len 100+14, prot 58, hops 62, forward to ulp
IPv6: SAS picked source FEC0:0:0:1::2 for FEC0:0:0:2::2 (FastEthernet0)
IPv6: nexthop FE80::20B:5FFF:FE76:7280,
IPV6: source FEC0:0:0:1::2 (local)
      dest FEC0:0:0:2::2 (FastEthernet0)
      traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originating
IPv6: Sending on FastEthernet0
IPV6: source FEC0:0:0:2::2 (FastEthernet0)
      dest FEC0:0:0:1::2
      traffic class 0, flow 0x0, len 100+14, prot 58, hops 62, forward to ulp
IPv6: SAS picked source FEC0:0:0:1::2 for FEC0:0:0:2::2 (FastEthernet0)
IPv6: nexthop FE80::20B:5FFF:FE76:7280,
IPV6: source FEC0:0:0:1::2 (local)
      dest FEC0:0:0:2::2 (FastEthernet0)
      traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originating
IPv6: Sending on FastEthernet0
IPV6: source FEC0:0:0:2::2 (FastEthernet0)
      dest FEC0:0:0:1::2
      traffic class 0, flow 0x0, len 100+14, prot 58, hops 62, forward to ulp
IPv6: SAS picked source FEC0:0:0:1::2 for FEC0:0:0:2::2 (FastEthernet0)
IPv6: nexthop FE80::20B:5FFF:FE76:7280,
IPV6: source FEC0:0:0:1::2 (local)
      dest FEC0:0:0:2::2 (FastEthernet0)
      traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originating
IPv6: Sending on FastEthernet0
IPV6: source FEC0:0:0:2::2 (FastEthernet0)
      dest FEC0:0:0:1::2
      traffic class 0, flow 0x0, len 100+14, prot 58, hops 62, forward to ulp
IPv6: SAS picked source FEC0:0:0:1::2 for FEC0:0:0:2::2 (FastEthernet0)
IPv6: nexthop FE80::20B:5FFF:FE76:7280,
IPV6: source FEC0:0:0:1::2 (local)
    dest FEC0:0:0:2::2 (FastEthernet0)
      traffic class 0, flow 0x0, len 100+0, prot 58, hops 64, originating
IPv6: Sending on FastEthernet0
IPV6: source FEC0:0:0:2::2 (FastEthernet0)
      dest FEC0:0:0:1::2
      traffic class 0, flow 0x0, len 100+14, prot 58, hops 62, forward to ulp
IPV6: source FE80::211:BBFF:FEB0:8F07 (local)
      dest FF02::9 (FastEthernet0)
      traffic class 224, flow 0x0, len 72+1428, prot 17, hops 255, originating
IPv6: Sending on FastEthernet0

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: