i have installed ubuntu server on virtual box. When i execute the "ifconfig" command it shows the info of eth0 and loopback with inet6 address .but i want ipv4 address instead of ipv6 and i am not sure about the network adapter configuration of virtualbox as iam using wifi on my pc. Please help me
Ubuntu – How to obtain ipv4 address of ubuntu server running in virtual box along with ipv6
networkingservervirtualbox
Related Question
- Ubuntu – Getting I.P address of Ubuntu Server running in Virtual Box
- Ubuntu – How to set Ubuntu Server to ipv4 network address
- Ubuntu – Ubuntu Server running in Virtual Box – Network not connecting to Wifi bridged adapter
- Ubuntu – Ubuntu Server 20.04 – Netplan configuration for dynamic IPv4 and static IPv6
Best Answer
As i can guess you did bridge mode for Internet but , your dhcp not providing IP address to your port or you have not enabled networking. so , it showing like this
Solution: start your network-manager using
or use if already started
or
or
or enable using GUI
or
if you still face problem then it means your wifi dhcp not providing ip to VM then you can change mode
bridge
toNAT
for internet then you will get private ip and will able to connect internet