Pengertian configure ipv4 and ipv6 static and default routes
Konfigurasi rute statis IPv4 dan IPv6 adalah proses untuk menentukan jalur eksplisit antara dua perangkat jaringan secara manual. Rute statis IPv4 dan IPv6 memiliki beberapa perbedaan, seperti:
Penampilan alamat IP
IPv4 menggunakan empat angka desimal yang dipisahkan dengan titik, sedangkan IPv6 menggunakan angka heksadesimal yang dipisahkan dengan titik dua.
Ukuran alamat IP
IPv4 menggunakan alamat IP berukuran 32-bit, sedangkan IPv6 menggunakan alamat IP berukuran 128-bit.
Rute default statis IPv6
Rute default statis IPv6 hanya memiliki angka nol (::) dan panjang awalan /0, yang setara dengan 0.0.0.0/0 di IPv4
langkah-langkah :
Router(config)# hostname R1
R1(config)# no ip domain-lookup
R1(config)# enable secret class
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R1(config)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R1(config)# service password-encryption
R1(config)# banner motd # Authorized Users Only!
R1(config)# exit
R1# copy running-config startup-config
Router(config)# hostname R2
R2(config)# no ip domain-lookup
R2(config)# enable secret class
R2(config)# enable secret class
R2(config)# line console 0
R2(config-line)# password cisco
R2(config-line)# login
R2(config)# line vty 0 4
R2(config-line)# password cisco
R2(config-line)# login
R2(config)# service password-encryption
R2(config)# banner motd # Authprized User Only! #
R2(config)# exit
R2# copy running-config startup-config
switch(config)# hostname S1
S1(config)# no ip domain-lookup
S1(config)# enable secret class
S1(config)# line console 0
S1(config-line)# password cisco
S1(config-line)# login
S1(config)# line vty 0 15
S1(config-line)# password cisco
S1(config-line)# login
S1(config)# service password-encryption
S1(config)# banner motd # Authorized Users Only!
S1(config)# exit
S1# copy running-config startup-config
S1#conf t
S1(config)# interface range f0/1-3, f0/6-24, g0/1-2
S1(config-if-range)# shutdown
S1(config-if-range)# exit
S1# copy running-config startup-config
switch(config)# hostname S2
S2(config)# no ip domain-lookup
S2(config)# enable secret class
S2(config)# enable secret class
S2(config)# line console 0
S2(config-line)# password cisco
S2(config-line)# login
S2(config)# line vty 0 15
S2(config-line)# password cisco
S2(config-line)# login
S2(config)# service password-encryption
S2(config)# banner motd $ Authorized Users Only! $
S2(config)# exit
S2# copy running-config startup-config
S2#conf t
S2(config)# interface range f0/1-3, f0/6-24, g0/1-2
S2(config-if-range)# shutdown
S2(config-if-range)# exit
S2# copy running-config startup-config
R1(config)# ipv6 unicast-routing
R1(config)# interface g0/0/0
R1(config-if)# ip address 172.16.1.1 255.255.255.0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:2::1/64
R1(config-if)# no shutdown
R1(config-if)# interface g0/0/1
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
R1(config-if)# no shutdown
R1(config-if)# interface lo1
R1(config-if)# ip address 10.1.0.1 255.255.255.0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:10::1/64
R1(config-if)# no shutdown
R1(config-if)# interface lo2
R1(config-if)# ip address 209.165.200.225 255.255.255.224
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:209::1/64
R1(config-if)# no shutdown
R1# show ip interface brief
R1#copy running-config startup-config
R2(config)# interface g0/0/0
R2(config-if)# ip address 172.16.1.2 255.255.255.0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:2::2/64
R2(config-if)# no shutdown
R2(config-if)# interface g0/0/1
R2(config-if)# ip address 192.168.1.2 255.255.255.0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:1::2/64
R2(config-if)# no shutdown
R2(config-if)# interface lo1
R2(config-if)# ip address 10.2.0.1 255.255.255.0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:11::2/64
R2(config-if)# no shutdown
R2(config-if)# interface lo2
R2(config-if)# ip address 209.165.200.193 255.255.255.224
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:210::1/64
R2(config-if)# no shutdown
R2# show ip interface brief
R2#copy running-config startup-config
R1#ping 192.168.1.2
R1(config)# ip route 10.2.0.0 255.255.255.0 192.168.1.2
R1#ping 172.16.1.2
R1(config)# ip route 0.0.0.0 0.0.0.0 172.16.1.2
R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.2 80
R2(config)# ip route 0.0.0.0 0.0.0.0 172.16.1.1
R1# show ip route
R1# traceroute 10.2.0.1
R1# traceroute 209.165.200.193
R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# shutdown
R1(config-if)# end
R1# show ip route static
R1# traceroute 209.165.200.193
R1# config terminal
R1(config)# interface g0/0/0
R1(config-if)# no shutdown
R1(config-if)# end
R1#conf t
R1(config)# ipv6 route ::/0 2001:db8:acad:2::2
R2(config)# ipv6 route 2001:db8:acad:10::/64 2001:db8:acad:1::1
R2(config)# ipv6 route ::/0 2001:db8:acad:2::1
R2(config)# ipv6 route ::/0 2001:db8:acad:1::1 80
R2(config)#end
R2# show ipv6 route
R2# traceroute 2001:db8:acad:10::1
R2# traceroute 2001:db8:acad:209::1
R2# config terminal
R2(config)# interface g0/0/0
R2(config-if)# shutdown
R2(config-if)# end
R2# show ipv6 route static
R2# traceroute 2001:db8:acad:209::1
link google drive
vidio 15.6.1
- https://drive.google.com/file/d/1-RSeX3UrT2WqbM1qJj3hngl4AHhbCt7u/view?usp=drivesdk
- https://drive.google.com/file/d/1LNDLYDmsQkg8qArIh6FOKtxAattpXmEI/view?usp=drivesdk
- https://drive.google.com/file/d/1pTdz9EIvlmycR5Gz4ez4ciVc-4j5csZy/view?usp=drivesdk