[systemd-devel] systemd-networkd, IPv6PrivacyExtensions=kernel, sysctl and devicenames

Andrei Borzenkov arvidjaar at gmail.com
Sat May 23 13:13:28 UTC 2020


23.05.2020 11:56, Ede Wolf пишет:
>>
>> tw:~ # systemctl stop NetworkManager.service
>> tw:~ # ip l set dev enp0s5 down
>> tw:~ # cat /proc/sys/net/ipv6/conf/enp0s5/use_tempaddr
>> 1
>> tw:~ # cat /proc/sys/net/ipv6/conf/enp0s5/addr_gen_mode
>> 1
>> tw:~ # echo 3 > /proc/sys/net/ipv6/conf/enp0s5/addr_gen_mode
>> tw:~ # echo 2 > /proc/sys/net/ipv6/conf/enp0s5/use_tempaddr
>> tw:~ # cat /proc/sys/net/ipv6/conf/enp0s5/use_tempaddr
>> 2
>> tw:~ # cat /proc/sys/net/ipv6/conf/enp0s5/addr_gen_mode
>> 3
>> tw:~ # ip l set dev enp0s5 name ififif
>> tw:~ # ip l set dev ififif up
>> tw:~ # cat /proc/sys/net/ipv6/conf/ififif/use_tempaddr
>> 2
>> tw:~ # cat /proc/sys/net/ipv6/conf/ififif/addr_gen_mode
>> 3
>>
> 
> Thanks for taking the time to demonstrate this. But it does not comapre,
> as you do not remane the interface.

May 23 09:05:52 tw.0.2.15 kernel: virtio_net virtio4 ififif: renamed
from enp0s5



More information about the systemd-devel mailing list