VirtualBox

Opened 2 years ago

Last modified 2 months ago

#20715 new task

VirtualBox 6.1.30: "vboxmanage natnetwork" lacks of options to set IPv6 prefix and enable/disable router advertisements

Reported by: Thomas Dreibholz Owned by:
Component: network/NAT Version: VirtualBox 6.1.30
Keywords: Cc:
Guest type: other Host type: other

Description

VirtualBox 6.1.30: "vboxmanage natnetwork" lacks of options to set IPv6 prefix and enable/disable router advertisements.

Example: vboxmanage natnetwork add --netname ISP-Alpha \

--network 172.31.255.0/24 \ --enable \ --dhcp no \ --ipv6 yes

"--network" only allows to configure the IPv4 network. There is no corresponding option for IPv6. It is only possible to turn IPv6 on/off, and the prefix gets configured automatically. Documentation about how the IPv6 prefix is computed is missing! (And there is a bug in this automatic configuration as well: https://www.virtualbox.org/ticket/20714)

DHCP can be enabled with "--dhcp", but there is no option to turn on ICMPv6 router advertisements and/or DHCPv6.

Change History (2)

comment:1 by Thomas Dreibholz, 2 months ago

The issue still exists in VirtualBox 7.0.14 (from the official Oracle repository).

comment:2 by Klaus Espenlaub, 2 months ago

This appears to be mostly an issue with the documentation. It is missing for

--ipv6-enable on|off
--ipv6-default on|off
--ipv6-prefix ipv6net/prefixlen

The first option should be self-explanatory. The second enables or disables advertising the default ipv6 route. The third sets the IPv6 CIDR network.

There is no DHCPv6 support in VirtualBox so far.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use