i have a IPv6 configuration question with systemd-networkd.
Our systems have one network card and i have a external connection/IP and additional a internal vlan connection/IP.
To configure this i create a config file for the normal connection and a network and a netdev file for the vlan.
So we have:
enp41s0.network
enp41s0.4001.network
enp41s0.4001.netdev
The external connection has a IPv4 and a IPv6 address and all is working.
For the vlan dev we will ONLY use a IPv4 address. In the network file of the vlan is only the IPv4 address configured and additional the parameter:
is set in /etc/sysctl.conf.net.ipv6.conf.enp41s0/4001.disable_ipv6 = 1
The config for the vlan dev is:
[Match]
#netdev name
Name=enp41s0.4001
[Network]
Description="VLAN 4001"
Address=192.168.100.56/24
Now my problem:
If i reboot the machine the vlan interface has a IPv6 address but if i do "sysctl -p" the ip disappears.
After reboot:
sysctl -p3: enp41s0.4001@enp41s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP group default qlen 1000
link/ether a2:c9:70:f3:95:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.100.56/24 brd 192.168.100.255 scope global enp41s0.4001
valid_lft forever preferred_lft forever
inet6 fe80::a0c9:70ff:fef3:951c/64 scope link
valid_lft forever preferred_lft forever
Why is the parameter in the sysctl.conf ignored after reboot or what can i change to get this working as expected?3: enp41s0.4001@enp41s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP group default qlen 1000
link/ether a2:c9:70:f3:95:1c brd ff:ff:ff:ff:ff:ff
inet 192.168.100.56/24 brd 192.168.100.255 scope global enp41s0.4001
valid_lft forever preferred_lft forever
Best
Silvio