IPv6 Tunnel lewat IPv4

tiket2Tujuan Lab agar dari R1 bisa ping ke 3::3 pake source 1::1. Seperti topology, masing-masing loopback di R1 dan R3 itu menggunakan IPv6, sedangkan akan dilewatkan ke OSPF yang menggunakan IPv4. Apakah kudu pake redistribution? oh tidak, karena masing-masing  jenis IPnya tidak sama. Jadi kita perlu melewatkanya menggunakan Tunnel. 

R1#ping 3::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 3::3 source 1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:
Packet sent with a source address of 1::1
.....
Success rate is 0 percent (0/5)
R1#
R1#sh ipv6 route
IPv6 Routing Table - 2 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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
D - EIGRP, EX - EIGRP external
LC 1::1/128 [0/0]
via ::, Loopback0
L FF00::/8 [0/0]
via ::, Null0
R1#

Pertama kita perlu memastikan bahwa di R1 dan R3 OSPF sudah saling adjacency, bisa dilihat dari tabel routingnya.

R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/11] via 12.12.12.2, 00:36:25, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/20] via 12.12.12.2, 00:36:25, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R1#

Kemudian bisa ping ke masing-masing interface

R1#ping 23.23.23.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 23.23.23.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/75/148 ms
R1#

Kemudian berlanjut kita konfigurasikan Tunnelnya. Seperti berikut

R1

!
interface Tunnel0
no ip address
ipv6 address 3000::1/112
ipv6 eigrp 1
tunnel source FastEthernet0/0
tunnel destination 23.23.23.3
tunnel mode ipv6ip
!

R3

!
interface Tunnel0
no ip address
ipv6 address 3000::2/112
ipv6 eigrp 1
tunnel source FastEthernet0/0
tunnel destination 12.12.12.1
tunnel mode ipv6ip
!

Penjelasan : kita bikin interface tunnel dulu kemudian ditambahkan ipv6 address dan selanjutnya address ipv6 tersebut kita masukan ke routing eigrp 1 karena loopback address menggunakan eigrp, kemudian source interface itu pake interface yang termasuk dalam OSPF, tunnel destination itu pake ip interface yang ada di R3 sebagai tujuanya. tunnel mode diset ipv6ip.

Kemudian kita cek di tabel routingnya kalau sudah dikonfigurasikan.

R1#sh ipv6 route
IPv6 Routing Table - 5 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
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
D - EIGRP, EX - EIGRP external
LC 1::1/128 [0/0]
via ::, Loopback0
D 3::3/128 [90/297372416]
via FE80::1717:1703, Tunnel0
C 3000::/112 [0/0]
via ::, Tunnel0
L 3000::1/128 [0/0]
via ::, Tunnel0
L FF00::/8 [0/0]
via ::, Null0
R1#

Nah ip 3::3 sudah muncul di tabel routing. Sekarang kita cek ping.

R1#ping 3::3 source 1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:
Packet sent with a source address of 1::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/81/152 ms
R1#

Leave a Reply

Fill in your details below or click an icon to log in:

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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.