Hi misc@ happy new year!

While running snapshot #584 on amd64 I noticed setting addresses using
ifconfig is not consistent for ipv4 and ipv6.

Is this expected behavior? I wasn't able to find anything in the FAQ.


Many thanks,
Pedro Caetano


pcaetano@rtr $ > doas ifconfig vether100 create
pcaetano@rtr $ > doas ifconfig vether100 inet 10.10.10.1
pcaetano@rtr $ > doas ifconfig vether100 inet 10.10.10.2
pcaetano@rtr $ > doas ifconfig vether100 inet 10.10.10.3
pcaetano@rtr $ > ifconfig vether100



vether100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d5:bd:bf
        index 22 priority 0 llprio 3
        groups: vether
        media: Ethernet autoselect
        status: active
        inet 10.10.10.3 netmask 0xff000000 broadcast 10.255.255.255
pcaetano@rtr $ > doas ifconfig vether100 destroy
pcaetano@rtr $ > doas ifconfig vether100 create
pcaetano@rtr $ > doas ifconfig vether100 inet6 fe80::1
pcaetano@rtr $ > doas ifconfig vether100 inet6 fe80::2
pcaetano@rtr $ > doas ifconfig vether100 inet6 fe80::3
pcaetano@rtr $ > doas ifconfig vether100
vether100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr fe:e1:ba:d7:91:b2
        index 24 priority 0 llprio 3
        groups: vether
        media: Ethernet autoselect
        status: active
        inet6 fe80::fce1:baff:fed7:91b2%vether100 prefixlen 64 scopeid 0x18
        inet6 fe80::1%vether100 prefixlen 64 scopeid 0x18
        inet6 fe80::2%vether100 prefixlen 64 scopeid 0x18
        inet6 fe80::3%vether100 prefixlen 64 scopeid 0x18

Reply via email to