Ubuntu12.04Server: simple network configuration. Edit the interfaces network port configuration file in the/etc/network directory. If the ip address is automatically obtained when the system is installed, in addition to the back-to-loop port, only the line ifaceeth0inetdhcp is not commented out. We need to change dhcp to static or comment out the line manually. Remember not to check the port correctly, generally, only eth0 must be manually configured for a network adapter. You need to add the following parameters:
For simple network configuration of Ubuntu 12.04 Server, edit the interfaces network port configuration file under the/etc/network directory.
If the ip address is automatically obtained when you install the system, only the line iface eth 0 inet dhcp is commented out except the loop port, we need to change dhcp to static or comment out and manually write another line. Remember not to mistake the port. Generally, only eth0 is a network card.
To manually configure, you need to add the following parameters:
Addredd
Netmask
Gateway
Dns-servers
After modifying the configuration, remember to restart the port or the network service.