[openstack-dev] Configuring ISC dhclient on guest to acquire ipv6 default gateway

Andrei Radulescu-Banu andrei.radulescu-banu at exfo.com
Tue Dec 22 21:50:38 UTC 2015


Hi all,

I've been trying for a few days to understand how this should work. My guest OS is Linux based, using ISC dhclient. In devstack I have configured an ipv6 net and subnet:

[stack at localhost images]$ neutron net-show private6
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| id                        | 55170162-305e-4d04-a159-2a141f0cd685 |
| mtu                       | 0                                    |
| name                      | private6                             |
| port_security_enabled     | True                                 |
| provider:network_type     | vxlan                                |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1063                                 |
| router:external           | False                                |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 4ea435ac-0ede-4dbc-9096-d97c256cc4d5 |
| tenant_id                 | 9ede0af4cbe94caf8222b1dcfaac0754     |
+---------------------------+--------------------------------------+

[stack at localhost images]$ neutron subnet-show private-subnet6
+-------------------+--------------------------------------------------+
| Field             | Value                                            |
+-------------------+--------------------------------------------------+
| allocation_pools  | {"start": "1:2:3:4::100", "end": "1:2:3:4::200"} |
| cidr              | 1:2:3:4::/64                                     |
| dns_nameservers   | 1:2:3:4::2                                       |
| enable_dhcp       | True                                             |
| gateway_ip        | 1:2:3:4::1                                       |
| host_routes       |                                                  |
| id                | 4ea435ac-0ede-4dbc-9096-d97c256cc4d5             |
| ip_version        | 6                                                |
| ipv6_address_mode | dhcpv6-stateful                                  |
| ipv6_ra_mode      | dhcpv6-stateful                                  |
| name              | private-subnet6                                  |
| network_id        | 55170162-305e-4d04-a159-2a141f0cd685             |
| subnetpool_id     |                                                  |
| tenant_id         | 9ede0af4cbe94caf8222b1dcfaac0754                 |
+-------------------+--------------------------------------------------+

When running dhclient on the interface, however, I am only able to acquire the interface address, but not the interface default gateway. I suppose the default gateway should be obtained through dhcp6 rather than neighbor discovery, because I set both ipv6_address_mode and ipv6_ra_mode to dhcpv6-stateful.

Any ideas?

Thanks,
Andrei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151222/745efe38/attachment.html>


More information about the OpenStack-dev mailing list