Custom Search

Thursday, June 23, 2016

How to Configure Virtualbox Ubuntu NAT and Host Only enp0s3 enp0s8 Network Ubuntu

$sudo vim /etc/network/interfaces

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet static
address 10.0.2.11
netmask 255.255.255.0
gateway 10.0.2.2

auto enp0s8
iface enp0s8 inet static
address 192.168.56.5
netmask 255.255.255.0



1 comment: