Linux IPv6 Configuration Methods

Source: Internet
Author: User

Three configuration methods for IPv6 in Linux: 1. automatically obtain the IPV6 address, modify the/etc/sysconfig/network file, add the following configuration text NETWORKING_IPV6 = yes, and then, run the Command service network restart and run the command ifconfig-a to view IPV6 address information: 2013-10-182, static IPV6 address device, modify the/etc/sysconfig/network-script/ifcfg-ethX file and add IPV6INIT = yes (whether to enable IPV6 address upon startup) IPV6_AUTOCONFI = no (whether to use automatic IPV6 Address Configuration) listen 6addr = 2001: da8: 8003: 202: 120: 1: 1 (IPV6 address) Listen 6defaultgw = 2001: da8: 8003: 801: 1 (IPV6 address gateway) run the Command service network restart and run the command ifconfig-a to view IPV6 address information. 3. The IPV6 address of the temporary device and the IPV6 Configuration in Linux: linux supports IPv6. check whether the/proc/net/if_inet6 file exists to check whether your system supports IPv6, if you do not have the following command to load the IPV6 module: # Use ipv6 after modprobe IPV6 is loaded successfully. # ifconfig eth0 inet6 add IPV6ADDR (IPV6ADDR is the IPV6 address of the device to be temporary) # route-A inet6 add default gw IPV6GATEWAY dev ethX (add ipv6 gateway IPV6GATEWAY address for the network device ethX) # ping6 IPV6ADDR (test ping IPV6 address)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.