OS:Debian8
HW: IPC(Nexcom..)
us@us:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST> ...
3: eoe0s0: <BROADCAST,MULTICAST> ...
4: eoe0s1: <BROADCAST,MULTICAST> ...
6: eth2: <BROADCAST,MULTICAST> ...
$sudo vi /etc/network/interfaces
...
auto eth2
iface eth2
inet dhcp
...
$ sudo service networking restart
$ sudo /etc/init.d/networking restart