Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Wicked doesn't assign any IPv6 addresses

  1. #1

    Default Wicked doesn't assign any IPv6 addresses

    I have a server running Leap 15.3, using Wicked for network management. While it's able to request and assign an IPv4 address fine, for some reason IPv6 refuses to work. Other devices on the network are able to get Ipv6 addresses, so I doubt this is a router issue.

    Thing is, it was working fine a few months ago. In the meantime, I changed a few things in my network and I just realized this weekend IPv6 was not working. However, I know it is not because of the switch to 15.3, it was also not working on 15.2 a few days ago.

    Here are some command outputs. Let me know what else would be needed for troubleshooting:
    Code:
    jonapap@delta ~> ip a
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 
        inet 127.0.0.1/8 scope host lo 
           valid_lft forever preferred_lft forever 
        inet6 ::1/128 scope host  
           valid_lft forever preferred_lft forever 
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 
        link/ether 70:85:c2:c7:80:ad brd ff:ff:ff:ff:ff:ff 
        inet 192.168.1.144/24 brd 192.168.1.255 scope global eth0 
           valid_lft forever preferred_lft forever 
        inet6 fe80::7285:c2ff:fec7:80ad/64 scope link  
           valid_lft forever preferred_lft forever
    
    Code:
    jonapap@delta ~> sudo wicked show eth0
    eth0            up 
          link:     #2, state up, mtu 1500 
          type:     ethernet, hwaddr 70:85:c2:c7:80:ad 
          config:   compat:suse:/etc/sysconfig/network/ifcfg-eth0 
          leases:   ipv4 dhcp granted 
          leases:   ipv6 dhcp requesting 
          addr:     ipv4 192.168.1.144/24 [dhcp] 
          route:    ipv4 default via 192.168.1.1 proto dhcp
    Code:
    jonapap@delta ~> sudo firewall-cmd --zone=home --list-all
    home (active) 
      target: default 
      icmp-block-inversion: no 
      interfaces: br1 eth0 wg0 
      sources:  
      services: dhcpv6-client mdns nfs samba samba-client ssh 
      ports: 8200/tcp 51820/udp 25500/tcp 
      protocols:  
      forward: yes 
      masquerade: no 
      forward-ports:  
      source-ports:  
      icmp-blocks:  
      rich rules:
    Code:
    jonapap@delta ~> sudo cat /etc/sysconfig/network/ifcfg-eth0
    [sudo] password for root:  
    MTU='0' 
    BOOTPROTO='dhcp' 
    STARTMODE='auto' 
    ZONE='home'
    Output of `sudo journalctl -u wickedd-dhcp6 -b 0`:
    Code:
    Jul 18 19:22:08 delta wickedd-dhcp6[1477]: eth0: Request to acquire DHCPv6 lease with UUID d0cbf360-5e4e-0800-c905-000020000000 in mode auto
    Jul 18 19:22:08 delta wickedd-dhcp6[1477]: Reading lease from /var/lib/wicked/lease-eth0-dhcp-ipv6.xml
    Jul 18 19:22:08 delta wickedd-dhcp6[1477]: eth0: Link-local IPv6 address not (yet) available
    Jul 18 19:22:08 delta wickedd-dhcp6[1477]: eth0: setting fsm timeout to 15000 msec
    Jul 18 19:22:08 delta wickedd-dhcp6[1477]: timeout 1000 adjusted by 91 to 1091 (jr 100)
    Jul 18 19:22:09 delta wickedd-dhcp6[1477]: timeout 2000 adjusted by 56 to 2056 (jr 100)
    Jul 18 19:22:09 delta wickedd-dhcp6[1477]: eth0: Found usable link-local IPv6 address: fe80::7285:c2ff:fec7:80ad
    Jul 18 19:22:09 delta wickedd-dhcp6[1477]: timeout 2000 adjusted by 87 to 2087 (jr 100)
    Jul 18 19:22:11 delta wickedd-dhcp6[1477]: timeout 4000 adjusted by 56 to 4056 (jr 100)
    Jul 18 19:22:15 delta wickedd-dhcp6[1477]: timeout 8000 adjusted by 2 to 8002 (jr 100)
    Jul 18 19:22:23 delta wickedd-dhcp6[1477]: eth0: timeout in state INIT
    Jul 18 19:22:23 delta wickedd-dhcp6[1477]: dhcp6_protocol_event(ev=2, dev=2, uuid=d0cbf360-5e4e-0800-c905-000020000000)
    Jul 18 19:22:23 delta wickedd-dhcp6[1477]: timeout 16000 adjusted by 91 to 16091 (jr 100)
    Jul 18 19:22:39 delta wickedd-dhcp6[1477]: timeout 32000 adjusted by 48 to 32048 (jr 100)
    Jul 18 19:23:11 delta wickedd-dhcp6[1477]: timeout 64000 adjusted by 68 to 64068 (jr 100)
    Jul 18 19:24:16 delta wickedd-dhcp6[1477]: timeout 128000 adjusted by 22 to 128022 (jr 100)
    Jul 18 19:26:24 delta wickedd-dhcp6[1477]: timeout 256000 adjusted by 74 to 256074 (jr 100)
    Jul 18 19:30:40 delta wickedd-dhcp6[1477]: timeout 512000 adjusted by 31 to 512031 (jr 100)
    Jul 18 19:39:12 delta wickedd-dhcp6[1477]: timeout 1024000 adjusted by 85 to 1024085 (jr 100)
    Jul 18 19:56:16 delta wickedd-dhcp6[1477]: timeout 2048000 adjusted by 98 to 2048098 (jr 100)
    Jul 18 20:30:24 delta wickedd-dhcp6[1477]: timeout 3600000 adjusted by 7 to 3600007 (jr 100)
    Jul 18 21:30:24 delta wickedd-dhcp6[1477]: timeout 3600000 adjusted by 80 to 3600080 (jr 100)
    Code:
    jonapap@delta ~> sudo radvdump
    # 
    # radvd configuration generated by radvdump 2.17 
    # based on Router Advertisement from fe80::4af8:b3ff:fe8a:416c 
    # received by interface eth0 
    # 
    
    interface eth0 
    { 
            AdvSendAdvert on; 
            # Note: {Min,Max}RtrAdvInterval cannot be obtained with radvdump 
            AdvManagedFlag on; 
            AdvOtherConfigFlag on; 
            AdvReachableTime 0; 
            AdvRetransTimer 0; 
            AdvCurHopLimit 64; 
            AdvDefaultLifetime 1800; 
            AdvHomeAgentFlag off; 
            AdvDefaultPreference medium; 
            AdvSourceLLAddress on; 
            AdvLinkMTU 1500; 
            AdvIntervalOpt on; 
    
            prefix 2607:fea8:bddd:2901::/64 
            { 
                    AdvValidLifetime 595862; 
                    AdvPreferredLifetime 163862; 
                    AdvOnLink on; 
                    AdvAutonomous on; 
                    AdvRouterAddr off; 
            }; # End of prefix definition 
    
    
            prefix fdb9:f2d6:d596:1::/64 
            { 
                    AdvValidLifetime infinity; # (0xffffffff) 
                    AdvPreferredLifetime infinity; # (0xffffffff) 
                    AdvOnLink on; 
                    AdvAutonomous on; 
                    AdvRouterAddr off; 
            }; # End of prefix definition 
    
    
            RDNSS fdb9:f2d6:d596:1::1 
            { 
                    AdvRDNSSLifetime 1800; 
            }; # End of RDNSS definition 
    
    }; # End of interface definition

  2. #2
    Join Date
    Sep 2012
    Posts
    6,798

    Default Re: Wicked doesn't assign any IPv6 addresses

    Quote Originally Posted by jonapap View Post
    Code:
            AdvManagedFlag on; 
    
    Your router claims that IPv6 addresses are available via DHCPv6 but nothing answers DHCPv6 request. The problem seems to be outside your host. Is DHCPv6 server actually active on your router? Is it configured to assign IPv6 addresses?

  3. #3

    Default Re: Wicked doesn't assign any IPv6 addresses

    Quote Originally Posted by arvidjaar View Post
    Your router claims that IPv6 addresses are available via DHCPv6 but nothing answers DHCPv6 request. The problem seems to be outside your host. Is DHCPv6 server actually active on your router? Is it configured to assign IPv6 addresses?
    My router definitely answers DHCPv6 requests. Other devices on the network are able to get an IPv6 lease from the router. I'm also able to get an IPv6 address if I put DHCLIENT6_MODE='managed' in ifcfg-eth0. However, I feel this is a workaround and that I should be able to get IPv6 working using SLAAC. Anyway, for some maybe unrelated reason, IPv6 still doesn't work even with the 'managed' mode. ping google.com -6 gives some permission denied error.

    To me, it seems that for some reason the dhcpv6 client doesn't see the route advertisement being sent by the router. Initially, I assumed it was maybe the firewall blocking the request, but it seems that firewalld is correctly configured. I even stopped the firewalld service and it didn't seem to help.

  4. #4

    Default Re: Wicked doesn't assign any IPv6 addresses

    Sorry, I take back what I said. Now this morning, even DHCLIENT6_MODE='managed' doesn't work. Here are the logs I have when using this mode. While it says it is trying to set the IPv6 address, weirdly my router is not showing any lease it assigned to my server.

    Code:
    Jul 19 08:46:56 delta wickedd-dhcp6[1475]: eth0: Request to acquire DHCPv6 lease with UUID 6d73f560-1734-0200-cc05-00000d000000 in mode managed
    Jul 19 08:46:56 delta wickedd-dhcp6[1475]: Reading lease from /var/lib/wicked/lease-eth0-dhcp-ipv6.xml
    Jul 19 08:46:56 delta wickedd-dhcp6[1475]: eth0: Link-local IPv6 address not (yet) available
    Jul 19 08:46:56 delta wickedd-dhcp6[1475]: eth0: setting fsm timeout to 15000 msec
    Jul 19 08:46:56 delta wickedd-dhcp6[1475]: timeout 1000 adjusted by 36 to 1036 (jr 100)
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: timeout 2000 adjusted by 51 to 2051 (jr 100)
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: Found usable link-local IPv6 address: fe80::7285:c2ff:fec7:80ad
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: fsm start in mode managed
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: Initiating DHCPv6 Address Confirmation
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: building CONFIRM with xid 0x1097
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: elapsed-time: 000.00
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: client-id: 00:01:00:01:27:d1:79:84:70:85:c2:c7:80:ad
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: ia-na: iaid=3267854509, T1=0, T2=0
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: ia-na.ia-address: 2607:fea8:bddd:2901::144, pref-life: 0, valid-life: 0
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: ia-na.ia-address: fdb9:f2d6:d596:1::144, pref-life: 0, valid-life: 0
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: bound DHCPv6 socket to [fe80::7285:c2ff:fec7:80ad%2]:546
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: setting initial transmit delay of 1000 [-100 .. 100] msec
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: timeout 1000 adjusted by 13 to 1013 (jr 200)
    Jul 19 08:46:57 delta wickedd-dhcp6[1475]: eth0: setting fsm timeout to 1013 msec
    Jul 19 08:46:58 delta wickedd-dhcp6[1475]: eth0: starting to transmit after initial delay
    Jul 19 08:46:58 delta wickedd-dhcp6[1475]: timeout 1000 adjusted by -58 to 942 (jr 200)
    Jul 19 08:46:58 delta wickedd-dhcp6[1475]: arming retransmit timer (942 msec)
    Jul 19 08:46:58 delta wickedd-dhcp6[1475]: eth0: setting fsm timeout to 10000 msec
    Jul 19 08:46:58 delta wickedd-dhcp6[1475]: eth0: CONFIRM message #1, xid 0x1097 sent with 100 of 100 byte to ff02::1:2
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: timeout 1884 adjusted by -64 to 1820 (jr 376)
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: arming retransmit timer (1820 msec)
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: eth0: advanced xid 0x001097 retransmission timeout from 1884 to 1820 [-188 .. 188]
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: eth0: Retransmitting DHCPv6 Address Confirmation
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: elapsed-time: 000.94
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: client-id: 00:01:00:01:27:d1:79:84:70:85:c2:c7:80:ad
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: ia-na: iaid=3267854509, T1=0, T2=0
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: ia-na.ia-address: 2607:fea8:bddd:2901::144, pref-life: 0, valid-life: 0
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: ia-na.ia-address: fdb9:f2d6:d596:1::144, pref-life: 0, valid-life: 0
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: eth0: CONFIRM message #2, xid 0x1097 sent with 100 of 100 byte to ff02::1:2
    Jul 19 08:46:59 delta wickedd-dhcp6[1475]: eth0: xid 0x001097 retransmitted, next deadline in 4m8.107s
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: timeout 3640 adjusted by -304 to 3336 (jr 728)
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: arming retransmit timer (3336 msec)
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: eth0: advanced xid 0x001097 retransmission timeout from 3640 to 3336 [-364 .. 364]
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: eth0: Retransmitting DHCPv6 Address Confirmation
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: elapsed-time: 002.76
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: client-id: 00:01:00:01:27:d1:79:84:70:85:c2:c7:80:ad
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: ia-na: iaid=3267854509, T1=0, T2=0
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: ia-na.ia-address: 2607:fea8:bddd:2901::144, pref-life: 0, valid-life: 0
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: ia-na.ia-address: fdb9:f2d6:d596:1::144, pref-life: 0, valid-life: 0
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: eth0: CONFIRM message #3, xid 0x1097 sent with 100 of 100 byte to ff02::1:2
    Jul 19 08:47:01 delta wickedd-dhcp6[1475]: eth0: xid 0x001097 retransmitted, next deadline in 4m11.444s
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: timeout 4000 adjusted by -278 to 3722 (jr 800)
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: arming retransmit timer (3722 msec)
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: eth0: advanced xid 0x001097 retransmission timeout from 4000 to 3722 [-400 .. 400]
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: eth0: Retransmitting DHCPv6 Address Confirmation
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: elapsed-time: 006.10
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: client-id: 00:01:00:01:27:d1:79:84:70:85:c2:c7:80:ad
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: ia-na: iaid=3267854509, T1=0, T2=0
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: ia-na.ia-address: 2607:fea8:bddd:2901::144, pref-life: 0, valid-life: 0
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: ia-na.ia-address: fdb9:f2d6:d596:1::144, pref-life: 0, valid-life: 0
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: eth0: CONFIRM message #4, xid 0x1097 sent with 100 of 100 byte to ff02::1:2
    Jul 19 08:47:05 delta wickedd-dhcp6[1475]: eth0: xid 0x001097 retransmitted, next deadline in 4m15.167s
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: timeout 4000 adjusted by 79 to 4079 (jr 800)
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: arming retransmit timer (4079 msec)
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: advanced xid 0x001097 retransmission timeout from 4000 to 4079 [-400 .. 400]
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: Retransmitting DHCPv6 Address Confirmation
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: elapsed-time: 009.82
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: client-id: 00:01:00:01:27:d1:79:84:70:85:c2:c7:80:ad
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: ia-na: iaid=3267854509, T1=0, T2=0
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: ia-na.ia-address: 2607:fea8:bddd:2901::144, pref-life: 0, valid-life: 0
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: ia-na.ia-address: fdb9:f2d6:d596:1::144, pref-life: 0, valid-life: 0
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: CONFIRM message #5, xid 0x1097 sent with 100 of 100 byte to ff02::1:2
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: xid 0x001097 retransmitted, next deadline in 4m19.246s
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: timeout in state CONFIRMING
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: disarming xid 0x001097 retransmission
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: Committing DHCPv6 lease with:
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0    +ia-na.address 2607:fea8:bddd:2901::144/0, pref-lft 106452, valid-lft 538452
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0    +ia-na.address fdb9:f2d6:d596:1::144/0, pref-lft 4294967295, valid-lft 4294967295
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: Preparing xml lease data for '/var/lib/wicked/lease-eth0-dhcp-ipv6.xml'
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: Writing lease to temporary file for '/var/lib/wicked/lease-eth0-dhcp-ipv6.xml'
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: Lease written to file '/var/lib/wicked/lease-eth0-dhcp-ipv6.xml'
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: dhcp6_protocol_event(ev=0, dev=2, uuid=6d73f560-1734-0200-cc05-00000d000000)
    Jul 19 08:47:08 delta wickedd-dhcp6[1475]: eth0: setting fsm timeout to 2000 msec
    Jul 19 08:47:10 delta wickedd-dhcp6[1475]: eth0: timeout in state VALIDATING
    Jul 19 08:47:10 delta wickedd-dhcp6[1475]: eth0: Reached BOUND state, scheduled RENEW to start in 364m17.347s
    Jul 19 08:47:10 delta wickedd-dhcp6[1475]: eth0: setting fsm timeout to 21600000 msec

  5. #5
    Join Date
    Sep 2012
    Posts
    6,798

    Default Re: Wicked doesn't assign any IPv6 addresses

    Quote Originally Posted by jonapap View Post
    While it says it is trying to set the IPv6 address, weirdly my router is not showing any lease it assigned to my server.
    Wicked behavior is correct so far. As long as lease is not expired client MUST send CONFIRM message and SHOULD continue to use lease if no reply was received.

    Code:
    Jul 19 08:46:56 delta wickedd-dhcp6[1475]: Reading lease from /var/lib/wicked/lease-eth0-dhcp-ipv6.xml
    Seeing content of this file may be helpful. You could also try to delete (move, rename) it to force wicked to request new address. I suppose there should be some command line for it, but I cannot test right now.

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,363

    Question Re: Wicked doesn't assign any IPv6 addresses

    @jonapap:

    Just checking some basics –
    • Do you have Avahi enabled?

    Code:
     # systemctl list-unit-files | grep -i 'avahi'
    avahi-daemon.service                                                      enabled         enabled      
    avahi-dnsconfd.service                                                    disabled        disabled     
    dbus-org.freedesktop.Avahi.service                                        alias           -            
    avahi-daemon.socket                                                       enabled         disabled     
     #
    • Is the “hosts:” entry in ‘/etc/nsswitch.conf’ setup like this?

    Code:
    hosts:          files mdns_minimal [NOTFOUND=return] dns
    • Have you made any changes to ‘/etc/sysconfig/network/dhcp’ ?

    For the record, I use the following settings due to my Router's behaviour –
    Code:
    DHCLIENT_RELEASE_BEFORE_QUIT="yes"
     .
     .
    DHCLIENT6_RELEASE_BEFORE_QUIT="yes"
    All the other settings use the Leap 15.3 default values.


    • Apart from “NETCONFIG_DNS_STATIC_SEARCHLIST” and “NETCONFIG_DNS_STATIC_SERVERS” have you made any other changes to ‘/etc/sysconfig/network/config’ ?

    For the record, I setup the DNS Static Search List and Servers to point to the LAN's router …


    • Does ‘/etc/resolv.conf’ look like the following example?

    Code:
    ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf
    ### autogenerated by netconfig!
    #
    # Before you change this file manually, consider to define the
    # static DNS configuration using the following variables in the
    # /etc/sysconfig/network/config file:
    #     NETCONFIG_DNS_STATIC_SEARCHLIST
    #     NETCONFIG_DNS_STATIC_SERVERS
    #     NETCONFIG_DNS_FORWARDER
    # or disable DNS configuration updates via netconfig by setting:
    #     NETCONFIG_DNS_POLICY=''
    #
    # See also the netconfig(8) manual page and other documentation.
    #
    ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf.
    search fritz.box
    nameserver 192.168.178.1
    nameserver fd00::5e49:79ff:fedc:e1aa
    For information only, the machine's relevant systemd Journal entries look like this:
    Code:
    [    1.705585] kernel: drop_monitor: Initializing network drop monitor service
    [    2.069656] systemd-udevd[281]: Network interface NamePolicy= disabled by default.
    [    6.559405] systemd-udevd[536]: Network interface NamePolicy= disabled by default.
    [    6.997300] kernel: libphy: r8169: probed
    [    6.997479] kernel: r8169 0000:03:00.0 eth0: RTL8168h/8111h, d4:5d:64:a5:f5:0e, XID 541, IRQ 70
    [    6.997481] kernel: r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
    [    8.872322] systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [    8.875711] systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    [    8.898177] avahi-daemon[1179]: Found user 'avahi' (UID 466) and group 'avahi' (GID 468).
    [    8.898559] avahi-daemon[1179]: Successfully dropped root privileges.
    [    8.898763] avahi-daemon[1179]: avahi-daemon 0.7 starting up.
    [    8.933056] systemd[1]: Reached target Host and Network Name Lookups.
    [    9.005829] systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    [    9.007237] avahi-daemon[1179]: Loading service file /etc/avahi/services/sftp-ssh.service.
    [    9.007608] avahi-daemon[1179]: Loading service file /etc/avahi/services/ssh.service.
    [    9.008937] avahi-daemon[1179]: Network interface enumeration completed.
    [    9.009019] avahi-daemon[1179]: Server startup complete. Host name is eck001.local. Local service cookie is 2833830566.
    [    9.009115] avahi-daemon[1179]: Service "xxx" (/etc/avahi/services/ssh.service) successfully established.
    [    9.009162] avahi-daemon[1179]: Service "xxx" (/etc/avahi/services/sftp-ssh.service) successfully established.
    [    9.010180] systemd[1]: Started TPM2 Access Broker and Resource Management Daemon.
    [    9.491698] systemd[1]: Reached target Network (Pre).
    [    9.493764] systemd[1]: Starting wicked AutoIPv4 supplicant service...
    [    9.495081] systemd[1]: Starting wicked DHCPv4 supplicant service...
    [    9.496369] systemd[1]: Starting wicked DHCPv6 supplicant service...
    [    9.526444] systemd[1]: Started wicked DHCPv6 supplicant service.
    [    9.526635] systemd[1]: Started wicked DHCPv4 supplicant service.
    [    9.526733] systemd[1]: Started wicked AutoIPv4 supplicant service.
    [    9.527627] systemd[1]: Starting wicked network management service daemon...
    [    9.544589] systemd[1]: Started wicked network management service daemon.
    [    9.545614] systemd[1]: Starting wicked network nanny service...
    [    9.561302] systemd[1]: Started wicked network nanny service.
    [    9.562222] systemd[1]: Starting wicked managed network interfaces...
    [   10.590208] kernel: Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
    [   10.802871] kernel: r8169 0000:03:00.0 eth0: Link is Down
    [   13.838297] kernel: r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   13.838314] kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   13.675409] wickedd-dhcp4[1338]: eth0: Request to acquire DHCPv4 lease with UUID 251cf560-1db2-0700-4405-000005000000
    [   13.677736] wickedd-dhcp6[1340]: eth0: Request to acquire DHCPv6 lease with UUID 251cf560-1db2-0700-4405-000006000000 in mode auto
    [   14.718404] avahi-daemon[1179]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::d65d:64ff:fea5:f50e.
    [   14.718990] avahi-daemon[1179]: New relevant interface eth0.IPv6 for mDNS.
    [   14.719079] avahi-daemon[1179]: Registering new address record for fe80::d65d:64ff:fea5:f50e on eth0.*.
    [   19.310359] wickedd-dhcp4[1338]: eth0: Committed DHCPv4 lease with address 192.168.178.27 (lease time 864000 sec, renew in 432000 sec, rebind in 756000 sec)
    [   19.398513] avahi-daemon[1179]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.178.27.
    [   19.399062] avahi-daemon[1179]: New relevant interface eth0.IPv4 for mDNS.
    [   19.399151] avahi-daemon[1179]: Registering new address record for 192.168.178.27 on eth0.IPv4.
    [   20.798506] avahi-daemon[1179]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::d65d:64ff:fea5:f50e.
    [   20.799062] avahi-daemon[1179]: Joining mDNS multicast group on interface eth0.IPv6 with address 2001:16b8:b95c:1300:d65d:64ff:fea5:f50e.
    [   20.799169] avahi-daemon[1179]: Registering new address record for 2001:16b8:b95c:1300:d65d:64ff:fea5:f50e on eth0.*.
    [   20.799250] avahi-daemon[1179]: Withdrawing address record for fe80::d65d:64ff:fea5:f50e on eth0.
    [   20.830340] avahi-daemon[1179]: Registering new address record for 2001:16b8:b95c:1300:e4de:9fee:15c7:686 on eth0.*.
    [   21.204304] wickedd-dhcp6[1340]: eth0: Committing empty DHCPv6 lease
    [   26.440027] wicked[1362]: lo              up
    [   26.440027] wicked[1362]: eth0            up
    [   26.441194] systemd[1]: Finished wicked managed network interfaces.
    [   26.441479] systemd[1]: Reached target Network.
    [   26.441563] systemd[1]: Reached target Network is Online.

  7. #7
    Join Date
    Sep 2012
    Posts
    6,798

    Default Re: Wicked doesn't assign any IPv6 addresses

    Quote Originally Posted by jonapap View Post
    MI should be able to get IPv6 working using SLAAC.
    What is the output of "sysctl -a | grep accept_ra"?

  8. #8

    Default Re: Wicked doesn't assign any IPv6 addresses

    Quote Originally Posted by arvidjaar View Post
    Seeing content of this file may be helpful. You could also try to delete (move, rename) it to force wicked to request new address. I suppose there should be some command line for it, but I cannot test right now.
    Here is the file in question. Indeed, if I delete it and keep the mode to 'managed', I get an IPv6 address. However, trying to ping using IPv6 still throws an error, saying the Network is unreachable. Seems there is no default route setup for IPv6.

    Code:
    <lease> 
      <family>ipv6</family> 
      <type>dhcp</type> 
      <uuid>6d73f560-1734-0200-cc05-00000d000000</uuid> 
      <state>granted</state> 
      <acquired>1626633151</acquired> 
      <update>0x00000000</update> 
      <ipv6:dhcp> 
        <client-id>00:01:00:01:27:d1:79:84:70:85:c2:c7:80:ad</client-id> 
        <server-id>00:03:00:01:48:f8:b3:8a:41:6c</server-id> 
        <server-address>fe80::7285:c2ff:fec7:80ad</server-address> 
        <server-preference>0</server-preference> 
        <ia-na> 
          <interface-id>3267854509</interface-id> 
          <acquired>1626633152</acquired> 
          <renewal-time>21600</renewal-time> 
          <rebind-time>34560</rebind-time> 
          <ia-address> 
            <address>2607:fea8:bddd:2901::144</address> 
            <preferred-lft>172128</preferred-lft> 
            <valid-lft>604128</valid-lft> 
          </ia-address> 
          <ia-address> 
            <address>fdb9:f2d6:d596:1::144</address> 
            <preferred-lft>4294967295</preferred-lft> 
            <valid-lft>4294967295</valid-lft> 
          </ia-address> 
        </ia-na> 
        <dns> 
          <server>fdb9:f2d6:d596:1::1</server> 
        </dns> 
      </ipv6:dhcp> 
    </lease>
    @dcurtisfra, here is the answer to your questions:

    • Avahi was not installed. However, installing it and making sure it's enabled similar to what you have didn't change anything.
    • Yes, the hosts entry is exactly as you have
    • Don't think I changed anything in ‘/etc/sysconfig/network/dhcp’, at least not intentionally.
    • Again, no changes to ‘/etc/sysconfig/network/config’ (else than setting a higher debug level for wicked)
    • Here is my `/etc/resolv.conf' file:
      Code:
      ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf 
      ### autogenerated by netconfig! 
      # 
      # Before you change this file manually, consider to define the 
      # static DNS configuration using the following variables in the 
      # /etc/sysconfig/network/config file: 
      #     NETCONFIG_DNS_STATIC_SEARCHLIST 
      #     NETCONFIG_DNS_STATIC_SERVERS 
      #     NETCONFIG_DNS_FORWARDER 
      # or disable DNS configuration updates via netconfig by setting: 
      #     NETCONFIG_DNS_POLICY='' 
      # 
      # See also the netconfig(8) manual page and other documentation. 
      # 
      ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf. 
      search lan 
      nameserver fdb9:f2d6:d596:1::1 
      nameserver 192.168.1.1
      
    • For the journal output that you showed me, you seem to have managed to only output the network-related services. Would you mind sharing what command you use to do that?


    Finally, @arvidjaar, here is the output of "sysctl -a | grep accept_ra". I've trimmed it a bit to only show the relevant interfaces:
    Code:
    net.ipv6.conf.all.accept_ra = 1 
    net.ipv6.conf.all.accept_ra_defrtr = 1 
    net.ipv6.conf.all.accept_ra_from_local = 0 
    net.ipv6.conf.all.accept_ra_min_hop_limit = 1 
    net.ipv6.conf.all.accept_ra_mtu = 1 
    net.ipv6.conf.all.accept_ra_pinfo = 1 
    net.ipv6.conf.all.accept_ra_rt_info_max_plen = 0 
    net.ipv6.conf.all.accept_ra_rt_info_min_plen = 0 
    net.ipv6.conf.all.accept_ra_rtr_pref = 1
    net.ipv6.conf.default.accept_ra = 1 
    net.ipv6.conf.default.accept_ra_defrtr = 1 
    net.ipv6.conf.default.accept_ra_from_local = 0 
    net.ipv6.conf.default.accept_ra_min_hop_limit = 1 
    net.ipv6.conf.default.accept_ra_mtu = 1 
    net.ipv6.conf.default.accept_ra_pinfo = 1 
    net.ipv6.conf.default.accept_ra_rt_info_max_plen = 0 
    net.ipv6.conf.default.accept_ra_rt_info_min_plen = 0 
    net.ipv6.conf.default.accept_ra_rtr_pref = 1
    net.ipv6.conf.eth0.accept_ra = 1 
    net.ipv6.conf.eth0.accept_ra_defrtr = 1 
    net.ipv6.conf.eth0.accept_ra_from_local = 0 
    net.ipv6.conf.eth0.accept_ra_min_hop_limit = 1 
    net.ipv6.conf.eth0.accept_ra_mtu = 1 
    net.ipv6.conf.eth0.accept_ra_pinfo = 1 
    net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0 
    net.ipv6.conf.eth0.accept_ra_rt_info_min_plen = 0 
    net.ipv6.conf.eth0.accept_ra_rtr_pref = 1 
    net.ipv6.conf.lo.accept_ra = 1 
    net.ipv6.conf.lo.accept_ra_defrtr = 1 
    net.ipv6.conf.lo.accept_ra_from_local = 0 
    net.ipv6.conf.lo.accept_ra_min_hop_limit = 1 
    net.ipv6.conf.lo.accept_ra_mtu = 1 
    net.ipv6.conf.lo.accept_ra_pinfo = 1 
    net.ipv6.conf.lo.accept_ra_rt_info_max_plen = 0 
    net.ipv6.conf.lo.accept_ra_rt_info_min_plen = 0 
    net.ipv6.conf.lo.accept_ra_rtr_pref = 1

  9. #9

    Default Re: Wicked doesn't assign any IPv6 addresses

    Also, this is definitely not a router problem. I just plugged another computer with OpenSUSE 15.3 on it and it gets IPv6 fine. I'm also installing a VM, again Leap 15.3, doesn't seem to have any problem retrieving IPv6. Still trying to figure out what is the difference in the network config between those boxes. From what I see, there is none.

  10. #10
    Join Date
    Sep 2012
    Posts
    6,798

    Default Re: Wicked doesn't assign any IPv6 addresses

    Quote Originally Posted by jonapap View Post
    HHowever, trying to ping using IPv6 still throws an error, saying the Network is unreachable.
    It is impossible to say anything without seeing full command invocation and its response as well as output of "ip a", "ip r", "ip -6 r".

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •