静态ip:
auto eth0
iface eth0 inet static
address 192.168.1.111
gateway 192.168.1.1
netmask 255.255.255.0
动态ip:
auto eth0
iface eth0 inet dhcp
热插拔:
allow-hotplug eth0
静态ip:
auto eth0
iface eth0 inet static
address 192.168.1.111
gateway 192.168.1.1
netmask 255.255.255.0
动态ip:
auto eth0
iface eth0 inet dhcp
热插拔:
allow-hotplug eth0