You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the Linux virtual-machine images in the Azure Marketplace do not have Dynamic Host Configuration Protocol version 6 (DHCPv6) configured by default. To support IPv6, DHCPv6 must be configured in the Linux OS distribution that you are using. The various Linux distributions configure DHCPv6 in a variety of ways because they use different packages.
21
+
Some of the Linux virtual-machine images in the Azure Marketplace don't have Dynamic Host Configuration Protocol version 6 (DHCPv6) configured by default. To support IPv6, DHCPv6 must be configured in the Linux OS distribution that you're using. The various Linux distributions configure DHCPv6 in various ways because they use different packages.
22
22
23
23
> [!NOTE]
24
24
> Recent SUSE Linux and CoreOS images in the Azure Marketplace have been pre-configured with DHCPv6. No additional changes are required when you use these images.
@@ -36,26 +36,35 @@ This document describes how to enable DHCPv6 so that your Linux virtual machine
36
36
timeout 10;
37
37
```
38
38
39
-
2. Edit the network configuration for the eth0 interface with the following configuration:
39
+
1. Edit the network configuration for the eth0 interface with the following configuration:
40
40
41
41
* On **Ubuntu 12.04 and 14.04**, edit the */etc/network/interfaces.d/eth0.cfg* file.
42
-
* On **Ubuntu 16.04**, edit the */etc/network/interfaces.d/50-cloud-init.cfg* file.
42
+
* On **Ubuntu 16.04**, create a new override file in the cloud.cfg.d folder that will retain your configuration, for example a */etc/cloud/cloud.config.d/91-azure-network.cfg* file. Ensure that "dhcp6: true" is reflected under the required interface, as shown by the sample below:
Beginning with Ubuntu 17.10, the default network configuration mechanism is [NETPLAN]( https://netplan.io). At install/instantiation time, NETPLAN reads network configuration from YAML configuration files at this location: /{lib,etc,run}/netplan/*.yaml.
57
66
58
-
Please include a *dhcp6:true* statement for each ethernet interface in your configuration. For example:
67
+
Include a *dhcp6:true* statement for each ethernet interface in your configuration. For example:
59
68
60
69
```config
61
70
network:
@@ -76,15 +85,15 @@ For reference information about NETPLAN, see https://netplan.io/reference.
76
85
timeout 10;
77
86
```
78
87
79
-
2. Edit the */etc/network/interfaces* file, and add the following configuration:
88
+
1. Edit the */etc/network/interfaces* file, and add the following configuration:
@@ -98,66 +107,66 @@ For reference information about NETPLAN, see https://netplan.io/reference.
98
107
NETWORKING_IPV6=yes
99
108
```
100
109
101
-
2. Edit the */etc/sysconfig/network-scripts/ifcfg-eth0* file, and add the following two parameters:
110
+
1. Edit the */etc/sysconfig/network-scripts/ifcfg-eth0* file, and add the following two parameters:
102
111
103
112
```config
104
113
IPV6INIT=yes
105
114
DHCPV6C=yes
106
115
```
107
116
108
-
3. Renew the IPv6 address:
117
+
1. Renew the IPv6 address:
109
118
110
119
```bash
111
120
sudo ifdown eth0 && sudo ifup eth0
112
121
```
113
122
114
123
## SLES 11 and openSUSE 13
115
124
116
-
Recent SUSE Linux Enterprise Server (SLES) and openSUSE images in Azure have been pre-configured with DHCPv6. No additional changes are required when you use these images. If you have a VM that's based on an older or custom SUSE image, do the following:
125
+
Recent SUSE Linux Enterprise Server (SLES) and openSUSE images in Azure have been pre-configured with DHCPv6. No other changes are required when you use these images. If you have a VM that's based on an older or custom SUSE image, follow the steps below:
117
126
118
127
1. Install the `dhcp-client` package, if needed:
119
128
120
129
```bash
121
130
sudo zypper install dhcp-client
122
131
```
123
132
124
-
2. Edit the */etc/sysconfig/network/ifcfg-eth0* file, and add the following parameter:
133
+
1. Edit the */etc/sysconfig/network/ifcfg-eth0* file, and add the following parameter:
125
134
126
135
```config
127
136
DHCLIENT6_MODE='managed'
128
137
129
138
130
-
3. Renew the IPv6 address:
139
+
1. Renew the IPv6 address:
131
140
132
141
```bash
133
142
sudo ifdown eth0 && sudo ifup eth0
134
143
```
135
144
136
145
## SLES 12 and openSUSE Leap
137
146
138
-
Recent SLES and openSUSE images in Azure have been pre-configured with DHCPv6. No additional changes are required when you use these images. If you have a VM that's based on an older or custom SUSE image, do the following:
147
+
Recent SLES and openSUSE images in Azure have been pre-configured with DHCPv6. No other changes are required when you use these images. If you have a VM that's based on an older or custom SUSE image, follow the steps below:
139
148
140
149
1. Edit the */etc/sysconfig/network/ifcfg-eth0* file, and replace the `#BOOTPROTO='dhcp4'` parameter with the following value:
141
150
142
151
```config
143
152
BOOTPROTO='dhcp'
144
153
```
145
154
146
-
2. To the */etc/sysconfig/network/ifcfg-eth0* file, add the following parameter:
155
+
1. To the */etc/sysconfig/network/ifcfg-eth0* file, add the following parameter:
147
156
148
157
```config
149
158
DHCLIENT6_MODE='managed'
150
159
```
151
160
152
-
3. Renew the IPv6 address:
161
+
1. Renew the IPv6 address:
153
162
154
163
```bash
155
164
sudo ifdown eth0 && sudo ifup eth0
156
165
```
157
166
158
167
## CoreOS
159
168
160
-
Recent CoreOS images in Azure have been pre-configured with DHCPv6. No additional changes are required when you use these images. If you have a VM based on an older or custom CoreOS image, do the following:
169
+
Recent CoreOS images in Azure have been pre-configured with DHCPv6. No other changes are required when you use these images. If you have a VM based on an older or custom CoreOS image, follow the steps below:
161
170
162
171
1. Edit the */etc/systemd/network/10_dhcp.network* file:
163
172
@@ -169,7 +178,7 @@ Recent CoreOS images in Azure have been pre-configured with DHCPv6. No additiona
0 commit comments