Ubuntu Server sets up a website in the IP address/DNS lab and stores it under the Ubuntu Server in the VM. You need to configure the website so that it can be accessed in the LAN. The VM is changed to the "bridge" mode. (1) Change the IP address of Ubuntu Server to open [plain]/etc/network/interfaces sudo vim/etc/network/interfaces and add the following statement: [plain] auto eth0 iface eth0 inet static address xxx. xxx. xxx. xxx # IP address netmask xxx. xxx. xxx. xxx # subnet mask gateway xxx. xxx. xxx. xxx # Gateway (2) How does the Ubuntu Server modify the DNS address of the NIC [plain] sudo vim/etc/resolv. change conf to the following content: [plain] search localdomain nameserver 172.16.3.4 DNS nameserver 172.16.3.3 to be modified (3) The last step of Ubuntu Server is also the most important step. Add the command to restart the network configuration in rc. local: [plain] sudo/etc/init. d/networking restart