Difference between revisions of "IPv6: Membuang IPv6 Route dari gateway"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 5: | Line 5: | ||
Penggunaan | Penggunaan | ||
− | + | /sbin/ip -6 route del <ipv6network>/<prefixlength> via <ipv6address> [dev <device>] | |
Contoh | Contoh | ||
− | + | /sbin/ip -6 route del 2000::/3 via 2001:0db8:0:f101::1 | |
==Menggunakan "route"== | ==Menggunakan "route"== | ||
Line 15: | Line 15: | ||
Penggunaan | Penggunaan | ||
− | + | /sbin/route -A inet6 del <network>/<prefixlength> gw <ipv6address> [dev <device>] | |
Contoh | Contoh | ||
− | + | /sbin/route -A inet6 del 2000::/3 gw 2001:0db8:0:f101::1 | |
==Yang Perlu di Delete== | ==Yang Perlu di Delete== | ||
+ | |||
+ | Kesalahan ini akan terjadi saat Router Advertisement (RA) memberikan routing tanpa memiliki alokasi IPv6 global. Default ke fe80::1 perlu di delete. | ||
+ | |||
+ | /sbin/ip -6 route del ::/0 via fe80::1 | ||
+ | /sbin/route -A inet6 del ::/0 gw fe80::1 | ||
− | |||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[IPv6]] | * [[IPv6]] |
Revision as of 14:44, 31 January 2019
Membuang IPv6 route melalui gateway, sering kali tidak di perlukan secara manual. Kebanyakan dilakukan oleh script konfigurasi network pada saat shutdown (full atau per interface).
Menggunakan "ip"
Penggunaan
/sbin/ip -6 route del <ipv6network>/<prefixlength> via <ipv6address> [dev <device>]
Contoh
/sbin/ip -6 route del 2000::/3 via 2001:0db8:0:f101::1
Menggunakan "route"
Penggunaan
/sbin/route -A inet6 del <network>/<prefixlength> gw <ipv6address> [dev <device>]
Contoh
/sbin/route -A inet6 del 2000::/3 gw 2001:0db8:0:f101::1
Yang Perlu di Delete
Kesalahan ini akan terjadi saat Router Advertisement (RA) memberikan routing tanpa memiliki alokasi IPv6 global. Default ke fe80::1 perlu di delete.
/sbin/ip -6 route del ::/0 via fe80::1 /sbin/route -A inet6 del ::/0 gw fe80::1