I'm running a Debian GNU/Linux 8 server for school assignments.
While trying to do service networking restart, it gave me this error:
root@server:~# service networking restart [warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning). [....] Reconfiguring network interfaces...RTNETLINK answers: File exists Failed to bring up eth0. done.
Here is the /etc/network/interfaces file:
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 18.104.22.168 netmask 255.255.255.128 gateway 22.214.171.124 post-up arp -f /etc/ethers iface eth0 inet6 static address 2001:6a8:2880:a077::47 netmask 64 gateway 2001:6a8:2880:a077::1
I haven't changed anything about this config lately. I've been working on my postfix SMTP assignment and opening some ipv6 ports with ip6tables. Can any of this cause the problem?