Assalamualaikum Wr.Wb
Alhamdullilah pada kesempatan kali ini saya bisa kembali membuat artikel lagi...untuk kali ini saya akan membahas bagaimana melakukan routing dengan ipv4 & ipv6..untuk routing nya sendiri kali ini saya akan menggunakan procol eigrp..
Berikut topologi yang akan kita gunakan.
Topologi 1.0
Seperti biasa untuk awal-awal kita setting ip address pada setiap router.
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#ipv6 add 1::1/128
R1(config-if)#int fa0/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#ipv6 add 12::1/64
R1(config-if)#no sh
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#ipv6 add 1::1/128
R1(config-if)#int fa0/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#ipv6 add 12::1/64
R1(config-if)#no sh
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int fa0/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#ipv6 add 12::2/128
R2(config-if)#no sh
R2(config-if)#int lo0
R2(config-if)#ipv6 add 2::2/128
R2(config-if)#int fa0/0
R2(config-if)#no ipv6 add 12::2/128
R2(config-if)#ipv6 add 12::2/64
R2(config-if)#int f1/1
R2(config-if)#ipv6 add 23::2/64
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int fa0/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#ipv6 add 12::2/128
R2(config-if)#no sh
R2(config-if)#int lo0
R2(config-if)#ipv6 add 2::2/128
R2(config-if)#int fa0/0
R2(config-if)#no ipv6 add 12::2/128
R2(config-if)#ipv6 add 12::2/64
R2(config-if)#int f1/1
R2(config-if)#ipv6 add 23::2/64
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#no sh
R3(config)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#ipv6 add 3::3/128
R3(config-if)#int fa1/1
R3(config-if)#ipv6 add 23::3/64
R3(config-if)#ip add 23.23.23.3 255.255.255.0
R3(config-if)#no sh
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#ipv6 add 3::3/128
R3(config-if)#int fa1/1
R3(config-if)#ipv6 add 23::3/64
R3(config-if)#ip add 23.23.23.3 255.255.255.0
R3(config-if)#no sh
Setelah di beri ip address pada setiap router,selanjutnya kita lakukan routing,selain itu untuk melakukan routing dengan ipv6 kita perlu mengaktifkan "unicast-routing" nya.
R1(config)#router eigrp 10
R1(config-router)#net 12.12.12.0
R1(config-router)#net 1.1.1.1
R1(config-router)#no au
R1(config-router)#ex
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router eigrp 10
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#router eigrp 10
R1(config-router)#int lo0
R1(config-if)#ipv6 eigrp 10
R1(config-if)#int fa0/0
R1(config-if)#ipv6 eigrp 10
R1(config-if)#
R1(config-router)#net 12.12.12.0
R1(config-router)#net 1.1.1.1
R1(config-router)#no au
R1(config-router)#ex
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router eigrp 10
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#router eigrp 10
R1(config-router)#int lo0
R1(config-if)#ipv6 eigrp 10
R1(config-if)#int fa0/0
R1(config-if)#ipv6 eigrp 10
R1(config-if)#
R2(config-if)#router eigrp 10
R2(config-router)#net 2.2.2.2
R2(config-router)#net 12.12.12.0
R2(config-router)#net 23.23.23.0
R2(config-router)#no auto-summary
R2(config-router)#ex
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router eigrp 10
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#router eigrp 10
R2(config-router)#int lo0
R2(config-if)#ipv6 eigrp 10
R2(config-if)#int fa0/0
R2(config-if)#ipv6 eigrp 10
R2(config-if)#int f1/1
R2(config-if)#ipv6 eigrp 10
R2(config-router)#net 2.2.2.2
R2(config-router)#net 12.12.12.0
R2(config-router)#net 23.23.23.0
R2(config-router)#no auto-summary
R2(config-router)#ex
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router eigrp 10
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#router eigrp 10
R2(config-router)#int lo0
R2(config-if)#ipv6 eigrp 10
R2(config-if)#int fa0/0
R2(config-if)#ipv6 eigrp 10
R2(config-if)#int f1/1
R2(config-if)#ipv6 eigrp 10
R3(config)#
R3(config)#ipv6 unicast-routing
R3(config)#ipv6 router eigrp 10
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#router eigrp 10
R3(config-router)#int lo0
R3(config-if)#ipv6 eigrp 10
R3(config-if)#int f1/1
R3(config-if)#ipv6 eigrp 10
R3(config-if)#
R3(config)#ipv6 unicast-routing
R3(config)#ipv6 router eigrp 10
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#router eigrp 10
R3(config-router)#int lo0
R3(config-if)#ipv6 eigrp 10
R3(config-if)#int f1/1
R3(config-if)#ipv6 eigrp 10
R3(config-if)#
Selanjutnya kita cek tabel routing.
R1#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
D 2.2.2.2 [90/156160] via 12.12.12.2, 00:01:03, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/158720] via 12.12.12.2, 00:00:58, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, FastEthernet0/0
L 12.12.12.1/32 is directly connected, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/30720] via 12.12.12.2, 00:01:03, FastEthernet0/0
R1#
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
D 2.2.2.2 [90/156160] via 12.12.12.2, 00:01:03, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
D 3.3.3.3 [90/158720] via 12.12.12.2, 00:00:58, FastEthernet0/0
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.12.12.0/24 is directly connected, FastEthernet0/0
L 12.12.12.1/32 is directly connected, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/30720] via 12.12.12.2, 00:01:03, FastEthernet0/0
R1#
Lah kok informasi ipv6 nya gak ada?sanss,yang tadi kita lakukan itu melihat tabel routing ipv4 dan untuk melihat informasi tabell routing ipv6 berikut syntax nya..
R1#sh ipv6 route
IPv6 Routing Table - default - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
NDr - Redirect, 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 - LISP
LC 1::1/128 [0/0]
via Loopback0, receive
D 2::2/128 [90/156160]
via FE80::C802:10FF:FE5C:0, FastEthernet0/0
D 3::3/128 [90/158720]
via FE80::C802:10FF:FE5C:0, FastEthernet0/0
C 12::/64 [0/0]
via FastEthernet0/0, directly connected
L 12::1/128 [0/0]
via FastEthernet0/0, receive
D 23::/64 [90/30720]
via FE80::C802:10FF:FE5C:0, FastEthernet0/0
L FF00::/8 [0/0]
via Null0, receive
R1#
IPv6 Routing Table - default - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
NDr - Redirect, 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 - LISP
LC 1::1/128 [0/0]
via Loopback0, receive
D 2::2/128 [90/156160]
via FE80::C802:10FF:FE5C:0, FastEthernet0/0
D 3::3/128 [90/158720]
via FE80::C802:10FF:FE5C:0, FastEthernet0/0
C 12::/64 [0/0]
via FastEthernet0/0, directly connected
L 12::1/128 [0/0]
via FastEthernet0/0, receive
D 23::/64 [90/30720]
via FE80::C802:10FF:FE5C:0, FastEthernet0/0
L FF00::/8 [0/0]
via Null0, receive
R1#
Nah jika seluruh router sudah memiliki tabel routing yang lengkap,berarti setiap router juga sudah bisa saling komunikasi..untuk pengujian nya kita lakukan ping.
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/30/56 ms
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/39/52 ms
R1#ping 2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/46/88 ms
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 100 percent (5/5), round-trip min/avg/max = 1/33/56 ms
R1#
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/30/56 ms
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/39/52 ms
R1#ping 2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/46/88 ms
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 100 percent (5/5), round-trip min/avg/max = 1/33/56 ms
R1#
oke karena seluruh router sudah bisa saling komunikasi,berarti kita sudah bisa melakukan routing eigrp dengan ipv4&ipv6..sekian dulu materinya jika ada yang ingin ditanyakan silahkan tinggalkan teks pada kolom komentar..
Waalaikumsalah Wr.Wb
0 komentar:
Posting Komentar