IPv6 Route: Menambahkan IPv6 Route melalui sebuah interface

From OnnoWiki
Revision as of 11:10, 22 May 2013 by Onnowpurbo (talk | contribs) (New page: 7.4. Add an IPv6 route through an interface Not often needed, sometimes in cases of dedicated point-to-point links. 7.4.1. Using "ip" Usage: # /sbin/ip -6 route add <ipv6network>/<prefi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

7.4. Add an IPv6 route through an interface

Not often needed, sometimes in cases of dedicated point-to-point links. 7.4.1. Using "ip"

Usage:

  1. /sbin/ip -6 route add <ipv6network>/<prefixlength> dev <device>

¬ metric 1

Example:

  1. /sbin/ip -6 route add 2000::/3 dev eth0 metric 1

Metric “1” is used here to be compatible with the metric used by route, because the default metric on using “ip” is “1024”. 7.4.2. Using "route"

Usage:

  1. /sbin/route -A inet6 add <ipv6network>/<prefixlength> dev <device>

Example:

  1. /sbin/route -A inet6 add 2000::/3 dev eth0