# This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
namesrever 8.8.8.8
# This is an autoconfigured IPv6 interface
#iface eth0 inet6 auto
ЧТО НЕТАК? при вызове sudo /etc/init.d/networking restart матерится матом:
chenger@SRV-HOST:~$ sudo /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... /etc/network/interfaces:2: misplaced option
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:2: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"
И да, поциЕнт пьян...