Thank you very much!
Wow, that was really fast!
I’ll try to compile the pullrequest and test it with all known services.
Maybe some services (like squid proxy) do require the address in brackets like [fe80::1%eth1]:3128
Okay, after some hours (installed fresh debian, learned how to use docker, learned how to use git, learned how to build vyos, etc.) of self studying I managed to fetch the pull-request 1124 and build a deb-package from vyos-1x repository.
I still had to learn how to build an iso with a patched vyos-1x but for now its sufficient to get a deb-file for installing.
Already found a small issue with auto completion and posted it to phabricator.
I hope thats okay.
Another question: should the patch get expanded to some other fields than listen-address?
For example:
vyos@vyos# set system name-server fe80::1%eth0
It is good to be able to bind a link-local addresses to dns forwarder but thats only half the battle.
You also should also be able to use it as name-server on the other side
Adding “<validator name=“ipv6-link-local”/>” to “interface-definitions/dns-domain-name.xml.in” does not work because “fe80::1” is not on this host.
Without a check the result works:
vyos@vyos# cat /etc/resolv.conf
### Autogenerated by VyOS ###
### Do not edit, your changes will get overwritten ###
# system
nameserver fe80::1%eth0
Maybe the ipv6-address check could be a bit more common to allow the “%interface” extension to specify the interface to use (the “scope”).