您现在的位置:首页 >> IPv6知识 >> IPv6配置 >> 内容

[操作系统]Add an IPv6 route through an interface

时间:2013/7/22 14:48:43 点击:765

  核心提示:Not often needed, sometimes in cases of dedicated point-to-point links.  7.4.1. Using 'ip'  Usage:  CODE:  # /sbin/ip -6 route add / devmetric 1  Exam...

  Not often needed, sometimes in cases of dedicated point-to-point links.

  7.4.1. Using "ip"

  Usage:

  CODE:

  # /sbin/ip -6 route add / dev ¬ metric 1

  Example:

  CODE:

  # /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:

  CODE:

  # /sbin/route -A inet6 add / dev

  Example:

  CODE:

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

作者:IPv6edu.com 来源:IPv6之家


共有评论 0相关评论
发表我的评论
  • 大名:
  • 内容:
  • IPv6教育(www.ipv6edu.com) © 2017 版权所有 All Rights Reserved.
  • Email:master@ipv6edu.com 京ICP备09058832号
  • Powered by ipv6edu!