Difference between revisions of "IPv6: Membuang IPv6 Route dari gateway"

From OnnoWiki
Jump to navigation Jump to search
Line 21: Line 21:
 
  # /sbin/route -A inet6 del 2000::/3 gw 2001:0db8:0:f101::1
 
  # /sbin/route -A inet6 del 2000::/3 gw 2001:0db8:0:f101::1
  
 +
 +
 +
==Yang Perlu di Delete==
 +
 +
 +
  /sbin/route -A inet6 del ::/0 gw fe80::1
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[IPv6]]
 
* [[IPv6]]

Revision as of 14:42, 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

 /sbin/route -A inet6 del ::/0 gw fe80::1

Pranala Menarik