Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

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>/<prefixlength> dev <device>
� metric 1

Example:

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

# /sbin/route -A inet6 add <network>/<prefixlength> dev <device>

Example:

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

 
 
  Published under the terms of the GNU General Public License Design by Interspire