Connecting VM to the internet and other VM network options
Go to virtualbox settings.
Go to 'Network' -> On 'Adapter 1' tab, select the checkbox 'Enable Network Adapter'
In 'Attached to' dropdown select 'NAT'
On 'Adapter 2' tab, in Attached to: select 'Bridged Adapter'
Select the network name wlp3s0