IPv6 Route: Membuang IPv6 Route dari gateway

From OnnoWiki
Revision as of 11:08, 22 May 2013 by Onnowpurbo (talk | contribs) (New page: 7.3. Removing an IPv6 route through a gateway Not so often needed manually, mostly done by network configure scripts on shutdown (full or per interface) 7.3.1. Using "ip" Usage: # /sbin...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

7.3. Removing an IPv6 route through a gateway

Not so often needed manually, mostly done by network configure scripts on shutdown (full or per interface) 7.3.1. Using "ip"

Usage:

  1. /sbin/ip -6 route del <ipv6network>/<prefixlength> via <ipv6address>

¬ [dev <device>]

Example:

  1. /sbin/ip -6 route del 2000::/3 via 2001:0db8:0:f101::1

7.3.2. Using "route"

Usage:

  1. /sbin/route -A inet6 del <network>/<prefixlength> gw <ipv6address> [dev

¬ <device>]

Example for removing upper added route again:

  1. /sbin/route -A inet6 del 2000::/3 gw 2001:0db8:0:f101::1