Mailinglist Archive: wicked-devel (3 mails)

< Previous Next >
Re: [wicked-devel] wickedd-dhcp6 isn't grabbing the global IPv6 address via DHCP
Am 19.02.2016 um 13:52 schrieb Scott Simpson:

On 2/19/16 3:13 AM, Marius Tomaschewski wrote:
Am 30.12.2015 um 01:37 schrieb Scott Simpson:
I'm using OpenSuSE 42.1 and wicked network management. The wickedd-dhcp6
program is not grabbing the global IPv6 address.
I guess your network admin did not enabled ipv6 router RAs
(there will be no default route and also no DHCP6 or AUTO6)
or disabled DHCP6 in it.

Add DHCLIENT6_MODE=managed to ifcfg-ethX to override.

## Type: list(auto,managed,info)
## Default: auto
# This option allows to specify the request mode used by the DHCPv6
# client when the BOOTPROTO is set to dhcp or dhcp6, and overrides
# the "Managed Address Configuration" and the "Other Configuration"
# flags provided by the IPv6 router its Router Advertisement (RA)
# for the network connected to this interface.
# auto: follow RA flags, remain silent when no RA flag is set
# info: request other configuration (dns,ntp) only, no IP address
# managed: request IP address as well as other configuration
I'll try this and let you know. I was running OpenSUSE 12.1 before with
NetworkManager and the global IPv6 address was always picked up so it
isn't Comcast's issue.

Don't know / remember what NetworkManager is doing here.

Earlier versions (sysconfig) did not monitor any events and ignored
ipv6 router RA / network admin settings and just asked dhcp6 server
in managed mode, even the network rules say something else.

Install radvd and call radvdump and let it run a longer time (600 sec
at least) until you can see something like this (a managed network):

interface eth0
AdvSendAdvert on;
# Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump
AdvManagedFlag on; ## IP and dns,ntp via dhcpv6
AdvOtherConfigFlag on; ## dns,ntp via dhcpv6 only
AdvReachableTime 0;
AdvRetransTimer 0;
AdvCurHopLimit 64;
AdvDefaultLifetime 3600; ## >0, set default route
AdvDefaultPreference high;
AdvHomeAgentFlag off;
AdvSourceLLAddress on;

prefix 2001:db8:1234:5678::/64
AdvValidLifetime 3600;
AdvPreferredLifetime 2400;
AdvOnLink on;
AdvAutonomous off; ## IP address autoconf disabled
AdvRouterAddr off;
}; # End of prefix definition

}; # End of interface definition

We use DHCLIENT6_MODE="auto" default to follow the network admin to
provide the settings in the RA, except the local admin overrides it
to use managed||info dhcpv6 request.

The kernel receives the ipv6 RA packets and is using the RA to set the
default route (on accept_ra > 0 and accept_ra_defrtr > 0), autoconfigure
IP address (${prefix}:${eui64_from_mac}/64 on autoconf=1 and also
${prefix}:${random}/64 on use_tempaddr > 0) and forward these info to
the userspace to make the rest, where wickedd[-dhcp6] is listening for
the kernel events and making the dhcpv6 requests.

See also

Gruesse / Regards,
Marius Tomaschewski <mt@xxxxxxx>, <mt@xxxxxxxx>
SUSE LINUX GmbH, GF: Felix Imendörffer, Jane Smithard,
Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg),
Maxfeldstraße 5, 90409 Nürnberg, Germany
To unsubscribe, e-mail: wicked-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: wicked-devel+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation