mirror of https://github.com/apache/cloudstack.git
338 lines
8.4 KiB
Plaintext
338 lines
8.4 KiB
Plaintext
#Licensed to the Apache Software Foundation (ASF) under one
|
|
#or more contributor license agreements. See the NOTICE file
|
|
#distributed with this work for additional information
|
|
#regarding copyright ownership. The ASF licenses this file
|
|
#to you under the Apache License, Version 2.0 (the
|
|
#"License"); you may not use this file except in compliance
|
|
#with the License. You may obtain a copy of the License at
|
|
#http://www.apache.org/licenses/LICENSE-2.0
|
|
#Unless required by applicable law or agreed to in writing,
|
|
#software distributed under the License is distributed on an
|
|
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
#KIND, either express or implied. See the License for the
|
|
#specific language governing permissions and limitations
|
|
#under the License.
|
|
#
|
|
# Translators:
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Apache CloudStack Docs\n"
|
|
"POT-Creation-Date: 2013-04-12T11:19:39\n"
|
|
"PO-Revision-Date: 2013-04-12 11:48+0000\n"
|
|
"Last-Translator: Automatically generated\n"
|
|
"Language-Team: None\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Language: zh_TW\n"
|
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
|
|
#. Tag: title
|
|
#, no-c-format
|
|
msgid "IPv6 Support in &PRODUCT;"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"&PRODUCT;supports Internet Protocol version 6 (IPv6), the recent version of "
|
|
"the Internet Protocol (IP) that defines routing the network traffic. IPv6 "
|
|
"uses a 128-bit address that exponentially expands the current address space "
|
|
"that is available to the users. IPv6 addresses consist of eight groups of "
|
|
"four hexadecimal digits separated by colons, for example, "
|
|
"5001:0dt8:83a3:1012:1000:8s2e:0870:7454. &PRODUCT; supports IPv6 for public "
|
|
"IPs in shared networks. With IPv6 support, VMs in shared networks can obtain"
|
|
" both IPv4 and IPv6 addresses from the DHCP server. You can deploy VMs "
|
|
"either in a IPv6 or IPv4 network, or in a dual network environment. If IPv6 "
|
|
"network is used, the VM generates a link-local IPv6 address by itself, and "
|
|
"receives a stateful IPv6 address from the DHCPv6 server."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"IPv6 is supported only on KVM and XenServer hypervisors. The IPv6 support is"
|
|
" only an experimental feature."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Here's the sequence of events when IPv6 is used:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "The administrator creates an IPv6 shared network in an advanced zone."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "The user deploys a VM in an IPv6 shared network."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"The user VM generates an IPv6 link local address by itself, and gets an IPv6"
|
|
" global or site local address through DHCPv6."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"For information on API changes, see <xref linkend=\"changed-"
|
|
"apicommands-4.1\" />."
|
|
msgstr ""
|
|
|
|
#. Tag: title
|
|
#, no-c-format
|
|
msgid "Prerequisites and Guidelines"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Consider the following:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "CIDR size must be 64 for IPv6 networks."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"The DHCP client of the guest VMs should support generating DUID based on "
|
|
"Link-layer Address (DUID- LL). DUID-LL derives from the MAC address of guest"
|
|
" VMs, and therefore the user VM can be identified by using DUID. See <ulink "
|
|
"url=\"http://tools.ietf.org/html/rfc3315\">Dynamic Host Configuration "
|
|
"Protocol for IPv6 </ulink>for more information."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"The gateway of the guest network generates Router Advisement and Response "
|
|
"messages to Router Solicitation. The M (Managed Address Configuration) flag "
|
|
"of Router Advisement should enable stateful IP address configuration. Set "
|
|
"the M flag to where the end nodes receive their IPv6 addresses from the "
|
|
"DHCPv6 server as opposed to the router or switch."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"The M flag is the 1-bit Managed Address Configuration flag for Router "
|
|
"Advisement. When set, Dynamic Host Configuration Protocol (DHCPv6) is "
|
|
"available for address configuration in addition to any IPs set by using "
|
|
"stateless address auto-configuration."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"Use the System VM template exclusively designed to support IPv6. Download "
|
|
"the System VM template from <ulink "
|
|
"url=\"http://nfs1.lab.vmops.com/templates/routing/debian/ipv6/\">http://nfs1.lab.vmops.com/templates/routing/debian/ipv6/</ulink>."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"The concept of Default Network applies to IPv6 networks. However, unlike "
|
|
"IPv4 &PRODUCT; does not control the routing information of IPv6 in shared "
|
|
"network; the choice of Default Network will not affect the routing in the "
|
|
"user VM."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"In a multiple shared network, the default route is set by the rack router, "
|
|
"rather than the DHCP server, which is out of &PRODUCT; control. Therefore, "
|
|
"in order for the user VM to get only the default route from the default NIC,"
|
|
" modify the configuration of the user VM, and set non-default NIC's "
|
|
"<code>accept_ra</code> to 0 explicitly. The <code>accept_ra</code> parameter"
|
|
" accepts Router Advertisements and auto-configure "
|
|
"<code>/proc/sys/net/ipv6/conf/interface</code> with received data."
|
|
msgstr ""
|
|
|
|
#. Tag: title
|
|
#, no-c-format
|
|
msgid "Limitations of IPv6 in &PRODUCT;"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "The following are not yet supported:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Security groups"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Userdata and metadata"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Passwords"
|
|
msgstr ""
|
|
|
|
#. Tag: title
|
|
#, no-c-format
|
|
msgid "Guest VM Configuration for DHCPv6"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"For the guest VMs to get IPv6 address, run dhclient command manually on each"
|
|
" of the VMs. Use DUID-LL to set up dhclient."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"The IPv6 address is lost when a VM is stopped and started. Therefore, use "
|
|
"the same procedure to get an IPv6 address when a VM is stopped and started."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Set up dhclient by using DUID-LL."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Perform the following for DHCP Client 4.2 and above:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"Run the following command on the selected VM to get the dhcpv6 offer from "
|
|
"VR:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "dhclient -6 -D LL <dev>"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Perform the following for DHCP Client 4.1:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Open the following to the dhclient configuration file:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "vi /etc/dhcp/dhclient.conf"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Add the following to the dhclient configuration file:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "send dhcp6.client-id = concat(00:03:00, hardware);"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid ""
|
|
"Get IPv6 address from DHCP server as part of the system or network restart."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Based on the operating systems, perform the following:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "On CentOS 6.2:"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Open the Ethernet interface configuration file:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "vi /etc/sysconfig/network-scripts/ifcfg-eth0"
|
|
msgstr "vi /etc/sysconfig/network-scripts/ifcfg-eth0"
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "The <code>ifcfg-eth0</code> file controls the first NIC in a system."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Make the necessary configuration changes, as given below:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid ""
|
|
"DEVICE=eth0\n"
|
|
"HWADDR=06:A0:F0:00:00:38\n"
|
|
"NM_CONTROLLED=no\n"
|
|
"ONBOOT=yes\n"
|
|
"BOOTPROTO=dhcp6\n"
|
|
"TYPE=Ethernet\n"
|
|
"USERCTL=no\n"
|
|
"PEERDNS=yes\n"
|
|
"IPV6INIT=yes\n"
|
|
"DHCPV6C=yes"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Open the following:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "vi /etc/sysconfig/network"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid ""
|
|
"NETWORKING=yes\n"
|
|
"HOSTNAME=centos62mgmt.lab.vmops.com\n"
|
|
"NETWORKING_IPV6=yes\n"
|
|
"IPV6_AUTOCONF=no"
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "On Ubuntu 12.10"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "etc/network/interfaces:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid ""
|
|
"iface eth0 inet6 dhcp\n"
|
|
"autoconf 0\n"
|
|
"accept_ra 1"
|
|
msgstr ""
|