Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
virtualbox [2015/07/29 09:45]
steve [Networking]
virtualbox [2015/07/29 09:47]
steve [Networking]
Line 34: Line 34:
  
 This will give the IP address (should end with .1), the broadcast and netmask as well. On the guest, set the configuration for the local network IP address to something in that same subdomain, and you should be able to log in just fine. This will give the IP address (should end with .1), the broadcast and netmask as well. On the guest, set the configuration for the local network IP address to something in that same subdomain, and you should be able to log in just fine.
 +
 +Here's an example on Ubuntu for ''​eth1''​ in ''/​etc/​network/​interfaces'':​
 +
 +<​code>​
 +auto eth1
 +iface eth1 inet static
 +address 192.168.56.10
 +netmask 255.255.255.0
 +</​code>​
 +
 +Also, an example for ''​enp0s8''​ in ''/​etc/​conf.d/​net'':​
 +
 +<​code>​
 +config_enp0s8="​192.168.56.20 netmask 255.255.255.0
 +</​code>​
 ==== Gentoo ==== ==== Gentoo ====