ip配置: vim /etc/network/interfaces auto eth0 iface eth0 inet static >靜態 iface eth0 inet dhcp >動態 address 192.168.0.133 netmask 255.255.255.0 gateway 19 ...
ip配置: vim /etc/network/interfaces auto eth0
iface eth0 inet static ===>靜態 iface eth0 inet dhcp ===>動態
address 192.168.0.133
netmask 255.255.255.0
gateway 192.168.0.1 dns配置: vim /etc/resolv.conf nameserver dns地址 service networking restrat