How do i list network information on virtualbox?
-
To list the internal networks
$ vboxmanage list intnets Name: enp0s8 Name: intnet
To list the bridged networks
$ vboxmanage list bridgedifs Name: enp0s5 GUID: 30706e65-3573-4000-8000-001c49999x399 DHCP: Disabled IPAddress: 10.50.20.1 NetworkMask: 255.255.255.0 IPV6Address: fdb2:2c26:f4xx:0000:8f1c:33xx:ac8e:xx49 IPV6NetworkMaskPrefixLength: 64 HardwareAddress: 00:1c:cc:24:xx:a5 MediumType: Ethernet Status: Up VBoxNetworkName: HostInterfaceNetworking-enp0s5
To list the nat networks
$ vboxmanage list hostonlyifs
To list the host-only networks
$ vboxmanage list natnets
To list the dhcpservers
$ vboxmanage list dhcpservers NetworkName: HostInterfaceNetworking-vboxnet0 IP: 192.168.99.6 NetworkMask: 255.255.255.0 lowerIPAddress: 192.168.99.100 upperIPAddress: 192.168.99.254 Enabled: Yes
© Lightnetics 2024