Friday, April 22, 2011

IPv6 - 6to4 Tunnels using IPv4 EIGRP routes



In this lab, configure all routers with IPV6 and IPV4 addresses and establish communication between R1 and R3 using IPv6to4 tunnelling.

Objectives are as follows;
(1) Configure EIGRP for IPV4.
(2) Create a 6to4 tunneling
(3) Configure static IPv6 routes.



In R1, configure the following configurations for tunnelling.

interface Tunnel0
 no ip address
 no ip redirects
 ipv6 address 2002:AC10:C01:1::1/64
 tunnel source Serial0/0
 tunnel mode ipv6ip 6to4


For IPv6 routing,

ipv6 unicast-routing
ipv6 route 2002::/16 Tunnel0
ipv6 route FEC0::3:0/112 2002:AC10:1703:1::3

Enabling simple EIGRP routing for IPv4 networks are as follow;

router eigrp 1
 network 10.0.0.0
 network 172.16.0.0
 no auto-summary
-------------
Result of routing in R1 are as follow;

R1#sh ipv6 route
IPv6 Routing Table - 12 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
S   2002::/16 [1/0]
     via ::, Tunnel0
C   2002:AC10:C01:1::/64 [0/0]
     via ::, Tunnel0
L   2002:AC10:C01:1::1/128 [0/0]
     via ::, Tunnel0
C   2002:AC10:C01:11::/64 [0/0]
     via ::, Loopback11
L   2002:AC10:C01:11::1/128 [0/0]
     via ::, Loopback11
C   2002:AC10:C01:12::/64 [0/0]
     via ::, Loopback12
L   2002:AC10:C01:12::1/128 [0/0]
     via ::, Loopback12
L   FE80::/10 [0/0]
     via ::, Null0
C   FEC0::1:0/112 [0/0]
     via ::, Loopback0
L   FEC0::1:1/128 [0/0]
     via ::, Loopback0
S   FEC0::3:0/112 [1/0]
     via 2002:AC10:1703:1::3
L   FF00::/8 [0/0]
     via ::, Null0



-------------------------------------------
R1's IPV6 addressing are as follows;

R1#sh ipv6 int brief
Serial0/0                  [up/up]
Serial0/1                  [administratively down/down]
Serial0/2                  [administratively down/down]
Serial0/3                  [administratively down/down]
Loopback0                  [up/up]
    FE80::9CD7:2EFF:FEF0:99FA
    FEC0::1:1
Loopback9                  [up/up]
Loopback11                 [up/up]
    FE80::9CD7:2EFF:FEF0:99FA
    2002:AC10:C01:11::1
Loopback12                 [up/up]
    FE80::9CD7:2EFF:FEF0:99FA
    2002:AC10:C01:12::1
Tunnel0                    [up/up]
    FE80::AC10:C01
    2002:AC10:C01:1::1
----------------------------------------------------------------------------
In R3, 

Enabling for tunnelling are as follows;

ipv6 unicast-routing
 ipv6 address FEC0::3:1/112
 ipv6 address 2002:AC10:1703:31::1/64
 ipv6 address 2002:AC10:1703:32::1/64
 ipv6 address 2002:AC10:1703:1::3/64
 tunnel mode ipv6ip 6to4
ipv6 route 2002::/16 Tunnel0
ipv6 route FEC0::1:0/112 2002:AC10:C01:1::1
------------

IPV6 addressing in R3 are as follows;

R3#sh ipv6 int brief
Serial0/0                  [up/up]
Serial0/1                  [administratively down/down]
Serial0/2                  [administratively down/down]
Serial0/3                  [administratively down/down]
Loopback0                  [up/up]
    FE80::9CD7:2EFF:FEF0:99FA
    FEC0::3:1
Loopback31                 [up/up]
    FE80::9CD7:2EFF:FEF0:99FA
    2002:AC10:1703:31::1
Loopback32                 [up/up]
    FE80::9CD7:2EFF:FEF0:99FA
    2002:AC10:1703:32::1
Tunnel0                    [up/up]
    FE80::AC10:1703
    2002:AC10:1703:1::3

-------------------
IPV6 routing table is as follows;

R3#sh ipv6 route
IPv6 Routing Table - 12 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
S   2002::/16 [1/0]
     via ::, Tunnel0
C   2002:AC10:1703:1::/64 [0/0]
     via ::, Tunnel0
L   2002:AC10:1703:1::3/128 [0/0]
     via ::, Tunnel0
C   2002:AC10:1703:31::/64 [0/0]
     via ::, Loopback31
L   2002:AC10:1703:31::1/128 [0/0]
     via ::, Loopback31
C   2002:AC10:1703:32::/64 [0/0]
     via ::, Loopback32
L   2002:AC10:1703:32::1/128 [0/0]
     via ::, Loopback32
L   FE80::/10 [0/0]
     via ::, Null0
S   FEC0::1:0/112 [1/0]
     via 2002:AC10:C01:1::1
C   FEC0::3:0/112 [0/0]
     via ::, Loopback0
L   FEC0::3:1/128 [0/0]
     via ::, Loopback0
L   FF00::/8 [0/0]
     via ::, Null0
--------------------------
Enabling IPv4 EIGRP routing as follows;

router eigrp 1
 network 10.0.0.0
 network 172.16.0.0
 no auto-summary

3 comments:

  1. hi i got one question. i'm replacing eigrp routing protocol to ospf routing protocol.. and the tunnel is failed..i don't know why. pls help me..thanks

    ReplyDelete
  2. Hi Nas,
    I haven't try with OSPF yet. Let me try and I'll get back to you.

    ReplyDelete
  3. Hi Nas,
    I just tested with OSPF and it works as long as neighbours are establishing.
    What's the error are you getting? Have you try to test with different IOS?
    =============
    R3#sh ipv6 route
    IPv6 Routing Table - 12 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
    S 2002::/16 [1/0]
    via ::, Tunnel0
    C 2002:AC10:1703:1::/64 [0/0]
    via ::, Tunnel0
    L 2002:AC10:1703:1::3/128 [0/0]
    via ::, Tunnel0
    ----------------------
    R3#sh ipv6 interface brief
    Serial0/0 [up/up]
    unassigned
    Serial0/1 [administratively down/down]
    unassigned
    Serial0/2 [administratively down/down]
    unassigned
    Serial0/3 [administratively down/down]
    unassigned
    Loopback0 [up/up]
    FE80::FFFF:FE10:45C5
    FEC0::3:1
    Loopback31 [up/up]
    FE80::FFFF:FE10:45C5
    2002:AC10:1703:31::1
    Loopback32 [up/up]
    FE80::FFFF:FE10:45C5
    2002:AC10:1703:32::1
    Tunnel0 [up/up]
    FE80::AC10:1703
    2002:AC10:1703:1::3

    ReplyDelete