/etc/network/interfaces
##/etc/network/interfaces
# loopback
auto lo
iface lo inet loopback
# lan
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
# pxe
auto eth1
allow-hotplug eth1
iface eth1 inet static
network 192.168.1.0
address 192.168.1.111
netmask 255.255.255.0
broadcast 192.168.1.255
#auto eth0
#allow-hotplug eth0
#iface eth0 inet static
#address foo.bar.7
#netmask 255.255.255.0
#network foo.bar.0
#broadcast foo.bar.255
#gateway foo.bar.111
#nameserver foo.bar.111
post-up /sbin/ethtool -s eth0 wol g
post-down /sbin/ethtool -s eth0 wol g
#auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#wpa-ssid SSID
#wpa-psk PSK-PASS
#auto bnep0
#allow-hotplug bnep0
#iface bnep0 inet dhcp
Parsed in 0.004 seconds