SoFunction
Updated on 2025-03-10

Summary of Ubuntu 24.04 network configuration issues built by Vmware

When I was building a server version of Ubuntu 24.04 by Vmware, I encountered a problem of accessing the network. Please record it.

The network used by Vmware is in bridge mode.

Edit /etc/netplan/file

sudo vi /etc/netplan/

: 

network:
    version: 2
    ethernets:
ens33: #Network card name, view through ip a command
dhcp4: no #If ip is automatically allocated, set this value to true
addresses: [192.168.3.210/24] #static IP address
        routes:
          - to: 0.0.0.0/0
via: 192.168.3.1 #Default Gateway
        nameservers:
addresses: [8.8.8.8] #Default DNS server

Refresh configuration:

sudo netplan apply

Verify the network

ping 

This is the end of this article about Ubuntu 24.04 network configuration built by Vmware. For more information about Vmware Ubuntu 24.04 network configuration, please search for my previous articles or continue browsing the following related articles. I hope everyone will support me in the future!