Vyos Documentation outdated

Hi Hive

I am trying to add dhcpv6-server to an interface as described at:

under examples with the following command:

set service dhcpv6-server shared-network-name 'NET' interface 'eth1'.

and receive the error message

Configuration path: service dhcpv6-server shared-network-name NET [interface] is not valid. Set failed.

I happend with an older release and also with the newest rolling release…

How do I do it correctly?
thanks,
Klanglicht

Yeah that example looks broken:

set service dhcpv6-server shared-network-name 'NET' interface 'eth1'
set service dhcpv6-server shared-network-name 'NET1' subnet 2001:db8::/64 range 1 start 2001:db8::100
set service dhcpv6-server shared-network-name 'NET1' subnet 2001:db8::/64 range 1 stop 2001:db8::199
set service dhcpv6-server shared-network-name 'NET1' subnet 2001:db8::/64 option name-server 2001:db8::ffff
set service dhcpv6-server shared-network-name 'NET1' subnet 2001:db8::/64 subnet-id 1

First line should be NET1 and not NET.

Also try without the ` like so:

set service dhcpv6-server shared-network-name NET interface 'eth1'

It doesn’t work either. The interface parameter is invalid. If you do tab completion it will suggest the possible ones, but not interface unfortunately.

Some outdated version?

It’s the latest rolling release which i use.

And you are in config mode and on the top of the config structure? The prompt would be similar to:

vyos@vyos-latest#

and not in subsection of the config, e.g. here in service > dhcpv6-server:

[edit service dhcpv6-server]
vyos@vyos-latest# 

Yes. I’m not in an subsection

Are you copy-paste-ing the command or typing it in? And how are you connecting to the VyOS box?

I tried both. With typing it in, there is no suggestion when i tab complete. I’m connected through ssh.

Something wrong with your instance.
All works fine for other people :wink:

Strange everything else works as intended…

Then I’m out of ideas too, I’ll go with @Viacheslav and would suggest a reinstall if possible.

I am doing a fresh installation. Thanks for help