Network between two ubuntu 16 on VirtualBox
-
I'm trying to build a seat between two virtuals. To that end, he added an additional adapter in VB structures with the Internal Network parameter. Then edited file /etc/network/interfaces like:
# interfaces(5) file used by ifup(8) and ifdown(8) auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.0.1 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255
Now, in an attempt to reboot the online demana, I have a mistake:
[....] 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.
I tried to reboot the car and do it.
ifconfig
ip didn't change that. What am I doing wrong?
-
You can just make a grid bridge in the building of all the virtois and they'll be on the same grid with the host. DHCP will also be from the Router.