Statical IP

System - Administration - Network -

Device

eth0  double click

select
Activate device when computer starts
Allow all users to enable and disable the device

Statically set IP addresses
Address: 192.168.2.144
Subnet mask: 255.255.255.0
Default gateway address: 192.168.2.2

DNS

Hostname:   (the name set in hosts)
Primary DNS: 192.168.2.2
Secondary DNA: 192.168.2.2

原文地址:https://www.cnblogs.com/greencolor/p/2443007.html