See "systemctl status networking.service" and "journalctl -xe" for details.
Você executou os comandos sugeridos para ver o problema que foi reclamado?
Veja a forma padrão que está em /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp0s3
iface enp0s3 inet dhcp
Mas se eu colocar:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s8
iface enp0s8 inet static
address 192.168.1.9
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.9
Apresenta a mensagem:
[....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.
failed!
No Virtual Box, em Redes está:
Adaptador 1 - Placa em modo Bridge
Adaptador 2 - Rede interna
Quando executo "systemctl status networking.service"
networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
Drop-In: /run/systemd/generator/networking.service.d
└─50-insserv.conf-$network.conf
Active: failed (Result: exit-code) since S<E1>b 2017-09-23 23:44:34 BRT; 3min
Docs: man:interfaces(5)
Process: 1611 ExecStop=/sbin/ifdown -a --read-environment --exclude=lo (code=e
Process: 1620 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=
Process: 1616 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [
Main PID: 1620 (code=exited, status=1/FAILURE)
Set 23 23:44:34 servidor systemd[1]: Starting Raise network interfaces...
Set 23 23:44:34 servidor sh[1616]: /etc/network/interfaces:14: unknown or no add
Set 23 23:44:34 servidor sh[1616]: ifquery: couldn't read interfaces file "/etc/
Set 23 23:44:34 servidor ifup[1620]: /etc/network/interfaces:14: unknown or no a
Set 23 23:44:34 servidor ifup[1620]: /sbin/ifup: couldn't read interfaces file "
Set 23 23:44:34 servidor systemd[1]: networking.service: Main process exited, co
Set 23 23:44:34 servidor systemd[1]: Failed to start Raise network interfaces.
Set 23 23:44:34 servidor systemd[1]: networking.service: Unit entered failed sta
Set 23 23:44:34 servidor systemd[1]: networking.service: Failed with result 'exi
lines 1-20/20 (END)...skipping...
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/networking.service.d
└─50-insserv.conf-$network.conf
Active: failed (Result: exit-code) since S<E1>b 2017-09-23 23:44:34 BRT; 3min 7s ago
Docs: man:interfaces(5)
Process: 1611 ExecStop=/sbin/ifdown -a --read-environment --exclude=lo (code=exited, status=1/FAILURE)
Process: 1620 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 1616 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=
Main PID: 1620 (code=exited, status=1/FAILURE)
Set 23 23:44:34 servidor systemd[1]: Starting Raise network interfaces...
Set 23 23:44:34 servidor sh[1616]: /etc/network/interfaces:14: unknown or no address type and no inherits keyword specified
Set 23 23:44:34 servidor sh[1616]: ifquery: couldn't read interfaces file "/etc/network/interfaces"
Set 23 23:44:34 servidor ifup[1620]: /etc/network/interfaces:14: unknown or no address type and no inherits keyword specified
Set 23 23:44:34 servidor ifup[1620]: /sbin/ifup: couldn't read interfaces file "/etc/network/interfaces"
Set 23 23:44:34 servidor systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Set 23 23:44:34 servidor systemd[1]: Failed to start Raise network interfaces.
Set 23 23:44:34 servidor systemd[1]: networking.service: Unit entered failed state.
Set 23 23:44:34 servidor systemd[1]: networking.service: Failed with result 'exit-code'.
E também quando executo "journalctl -xe" nada acontece