[wicked-devel] wickedd-dhcp6 isn't grabbing the global IPv6 address via DHCP
I'm using OpenSuSE 42.1 and wicked network management. The wickedd-dhcp6 program is not grabbing the global IPv6 address. Here is my output using wickedd-dhcp6: eth1 Link encap:Ethernet HWaddr 64:70:02:11:C2:04 inet addr:71.198.202.25 Bcast:255.255.255.255 Mask:255.255.248.0 inet6 addr: fe80::6670:2ff:fe11:c204/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:24268 errors:0 dropped:0 overruns:0 frame:0 TX packets:6366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6677253 (6.3 Mb) TX bytes:1008811 (985.1 Kb) When I used to run OpenSuSE 13.1 using NetworkManager I got: enp6s0 Link encap:Ethernet HWaddr 64:70:02:11:C2:04 inet addr:71.198.202.25 Bcast:71.198.207.255 Mask:255.255.248.0 inet6 addr: fe80::6670:2ff:fe11:c204/64 Scope:Link inet6 addr: 2001:558:6045:10c:1cc1:f1d1:2df3:7444/128 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18326382 errors:0 dropped:0 overruns:0 frame:0 TX packets:4489664 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13654397617 (13021.8 Mb) TX bytes:1186632969 (1131.6 Mb) Notice the "Global" line in addition to the "Link" line. Is this not implemented in wickedd-dhcp6 yet? Scott -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
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 # DHCLIENT6_MODE="auto"
Here is my output using wickedd-dhcp6:
eth1 Link encap:Ethernet HWaddr 64:70:02:11:C2:04 inet addr:71.198.202.25 Bcast:255.255.255.255 Mask:255.255.248.0 inet6 addr: fe80::6670:2ff:fe11:c204/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:24268 errors:0 dropped:0 overruns:0 frame:0 TX packets:6366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6677253 (6.3 Mb) TX bytes:1008811 (985.1 Kb)
When I used to run OpenSuSE 13.1 using NetworkManager I got:
enp6s0 Link encap:Ethernet HWaddr 64:70:02:11:C2:04 inet addr:71.198.202.25 Bcast:71.198.207.255 Mask:255.255.248.0 inet6 addr: fe80::6670:2ff:fe11:c204/64 Scope:Link inet6 addr: 2001:558:6045:10c:1cc1:f1d1:2df3:7444/128 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18326382 errors:0 dropped:0 overruns:0 frame:0 TX packets:4489664 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13654397617 (13021.8 Mb) TX bytes:1186632969 (1131.6 Mb)
Notice the "Global" line in addition to the "Link" line. Is this not implemented in wickedd-dhcp6 yet? Scott
?? the fe80:: scope link address is calculated (EUI64) from the MAC address and added to any ipv6 capable interface as soon as it goes UP. It is used by any dhcp6 client to request global address, neighbour and router discovery (RA, default route setup, ...), ... It is something like an "ipv6 mac" address [ipv6 is not using arp]. Gruesse / Regards, Marius Tomaschewski <mt@suse.de>, <mt@suse.com> -- 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@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
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 # DHCLIENT6_MODE="auto" 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.
?? the fe80:: scope link address is calculated (EUI64) from the MAC address and added to any ipv6 capable interface as soon as it goes UP. It is used by any dhcp6 client to request global address, neighbour and router discovery (RA, default route setup, ...), ... It is something like an "ipv6 mac" address [ipv6 is not using arp].
Yes, this I know. Regards, Scott -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
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 # DHCLIENT6_MODE="auto" 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 https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt Gruesse / Regards, Marius Tomaschewski <mt@suse.de>, <mt@suse.com> -- 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@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
On 02/20/2016 03:07 AM, Marius Tomaschewski wrote:
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 # DHCLIENT6_MODE="auto"
Changing DHCLIENT6_MODE=managed worked. I have global IPv6 addresses again. Thank you! Scott -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
participants (2)
-
Marius Tomaschewski
-
Scott Simpson