Re: networkd: get ipv6 slaac address only at boot despite IPv6AcceptRA=false
Hi,
I finally uninstalled ifupdown to not get these ip anymore. But I still
not understand why does /etc/inetd/networking is running at boot when it
is disabled ?
cED
Le 06. 09. 17 à 10:39, BRINER Cédric a écrit :
> systemd 232
> debian stretch 9.1
>
> Hi,
>
> I configure my ip stack with systemd-networkd. I do have a dual stack
> (v4 and v6). There is a router advertisement on fd69:620:600:b00:: and
> on 2001:620:600:b00:: and the ipv6 choosed is on a other network
> fd69:620:600:11::
>
> The problem is that my ip configuration differs between the one I get
> after a reboot and the one I get after a "systemctl restart
> systemd-networkd".
>
> Do you have any idea what the problem could be or what to do to
> troubleshoot it ?
>
> Regards.
>
> cED
>
>
> ------------------
>
> The config is:
> [Match]
> Name=ens192
>
> [Network]
> DHCP=no
>
> Address=10.194.11.42/24
> Gateway=10.194.11.1
>
> IPv6AcceptRA=false
> Address=fd69:620:600:11:250:56ff:feb6:26b9/64
> Gateway=fd69:620:600:11::1
>
> Domains=unige.ch
>
> DNS=2001:620:600:4::6
> DNS=2001:620:4::32
> DNS=2001:620:600:8::7
>
>
>
> When I do a systemctl restart systemd-network, the setup does not show
> any ip with the …:b00:: subnet.
> # networkctl status
> ● State: routable
> Address: 10.194.11.42 on ens192
> fd69:620:600:11:250:56ff:feb6:26b9 on ens192
> fe80::250:56ff:feb6:26b9 on ens192
> Gateway: 10.194.11.1 (Cisco Systems, Inc) on ens192
> fd69:620:600:11::1 (Cisco Systems, Inc) on ens192
> fe80::5:73ff:fea0:d4 (Cisco Systems, Inc) on ens192
> fe80::5:73ff:fea0:d5 (Cisco Systems, Inc) on ens192
> DNS: 2001:620:600:4::6
> 2001:620:4::32
> 2001:620:600:8::7
> Search Domains: unige.ch
>
>
>
> After a reboot, the networkctl status shows …:b00: subnet.
> # networkctl status
> ● State: routable
> Address: 10.194.11.42 on ens192
> 2001:620:600:b00:250:56ff:feb6:26b9 on ens192 --HERE
> fd69:620:600:11:250:56ff:feb6:26b9 on ens192
> fd69:620:600:b00:250:56ff:feb6:26b9 on ens192 --HERE
> fe80::250:56ff:feb6:26b9 on ens192
> Gateway: 10.194.11.1 (Cisco Systems, Inc) on ens192
> fd69:620:600:11::1 (Cisco Systems, Inc) on ens192
> fe80::5:73ff:fea0:d4 (Cisco Systems, Inc) on ens192
> fe80::5:73ff:fea0:d5 (Cisco Systems, Inc) on ens192
> DNS: 2001:620:600:4::6
> 2001:620:4::32
> 2001:620:600:8::7
> Search Domains: unige.ch
>
>
>
> I have disabled other way of configuring the network
> # systemctl | grep -i netwo
> systemd-networkd.service loaded active running Network Service
>
> systemd-resolved.service loaded active running Network Name
> Resolution
> systemd-networkd.socket loaded active running Network Service
> Netlink Socket
> network-online.target loaded active active Network is Online
>
> network-pre.target loaded active active Network (Pre)
>
> network.target loaded active active Network
>
> # systemctl status networking
> ● networking.service - Raise network interfaces
> Loaded: loaded (/lib/systemd/system/networking.service; disabled;
> vendor preset: enabled)
> Active: inactive (dead)
> Docs: man:interfaces(5)
>
>
Reply to: