Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DHCP not providing IPv6 address to VM

OpenStack Environment Details: I have an Ocata OpenStack HA environment (3 controllers, 2 compute). There are two NICs in each node: one private network and one public network. Private network is used for openstack inter-node communication. Public network is used for API access. All the NICs have IPv4 addresses (no IPv6 addresses configured as Linux Bridge disables IPv6 by default in OpenStack). Both private and public networks are FLAT networks (No VLANs).

Issue: I created a provider network (linux bridge driver) on the public network with two subnets: IPv4 subnet and IPv6 subnet (IPv6 Address mode: dhcpv6-stateful, IPv6 RA mode: dhcpv6 stateful). When I created a VM, OpenStack assigned IPv4 and IPv6 addresses. These addresses were visible in "openstack server list" command output.

But inside the VM, I could see only IPv4 address; I don't see IPv6 address. When I did tcpdump to track the DHCP communication between VM and controllers, I saw only IPv4 addresses getting offered to the VM. IPv6 addresses were not offered. I want the VM to get both IPv4 and IPv6 addresses.

How to achieve this?

DHCP not providing IPv6 address to VM

OpenStack Environment Details: I have an Ocata OpenStack HA environment (3 controllers, 2 compute). There are two NICs in each node: one private network and one public network. Private network is used for openstack inter-node communication. Public network is used for API access. All the NICs have IPv4 addresses (no IPv6 addresses configured as OpenStack disables IPv6 on Linux Bridge disables IPv6 by default Bridges in OpenStack). the OS). Both private and public networks are FLAT networks (No VLANs).

Issue: I created a provider network (linux bridge driver) on the public network with two subnets: IPv4 subnet and IPv6 subnet (IPv6 Address mode: dhcpv6-stateful, IPv6 RA mode: dhcpv6 stateful). When I created a VM, OpenStack assigned IPv4 and IPv6 addresses. These addresses were visible in "openstack server list" command output.

But inside the VM, I could see only IPv4 address; I don't see IPv6 address. When I did tcpdump to track the DHCP communication between VM and controllers, I saw only IPv4 addresses getting offered to the VM. IPv6 addresses were not offered. I want the VM to get both IPv4 and IPv6 addresses.

How to achieve this?

DHCP not providing IPv6 address to VM

OpenStack Environment Details: I have an Ocata OpenStack HA environment (3 controllers, 2 compute). There are two NICs in each node: one private network and one public network. Private network is used for openstack inter-node communication. Public network is used for API access. All the NICs have IPv4 addresses (no IPv6 addresses configured as OpenStack disables IPv6 on Linux Bridges in the OS). Both private and public networks are FLAT networks (No VLANs).

Issue: I created a provider network (linux bridge driver) on the public network with two subnets: IPv4 subnet and IPv6 subnet (IPv6 Address mode: dhcpv6-stateful, IPv6 RA mode: dhcpv6 stateful). When I created a VM, OpenStack assigned IPv4 and IPv6 addresses. These addresses were visible in "openstack server list" command output.

But inside the VM, I could see only IPv4 address; I don't see IPv6 address. When I did tcpdump to track the DHCP communication between VM and controllers, I saw only IPv4 addresses getting offered to the VM. IPv6 addresses were not offered. I want the VM to get both IPv4 and IPv6 addresses.

How to achieve this?

Update: I delete IPv4 subnet and allowed the network with only IPv6 subnet. When I created a VM on this network, tcpdump show DHCP discover is broadcasted and these discover packets reached controller nodes. But DHCP didn't respond. Why this behavior?

DHCP not providing IPv6 address to VM

OpenStack Environment Details: I have an Ocata OpenStack HA environment (3 controllers, 2 compute). There are two NICs in each node: one private network and one public network. Private network is used for openstack inter-node communication. Public network is used for API access. All the NICs have IPv4 addresses (no IPv6 addresses configured as OpenStack disables IPv6 on Linux Bridges in the OS). Both private and public networks are FLAT networks (No VLANs).

Issue: I created a provider network (linux bridge driver) on the public network with two subnets: IPv4 subnet and IPv6 subnet (IPv6 Address mode: dhcpv6-stateful, IPv6 RA mode: dhcpv6 stateful). When I created a VM, OpenStack assigned IPv4 and IPv6 addresses. These addresses were visible in "openstack server list" command output.

But inside the VM, I could see only IPv4 address; I don't see IPv6 address. When I did tcpdump to track the DHCP communication between VM and controllers, I saw only IPv4 addresses getting offered to the VM. IPv6 addresses were not offered. I want the VM to get both IPv4 and IPv6 addresses.

How to achieve this?

Update: I delete IPv4 subnet and allowed the network with only IPv6 subnet. When I created a VM on this network, tcpdump show DHCP discover is broadcasted and these discover packets reached controller nodes. But DHCP didn't respond. Why this behavior?

[root@controller1 ~]# rpm -qa | grep dnsmasq
dnsmasq-2.66-21.el7.x86_64
dnsmasq-utils-2.66-21.el7.x86_64