Connectivity Problems
Posted: 16. Sep 2015, 11:21
Hi,
my name is Alberto and I am trying to connect my host computer to the virtual machine.
I have a Windows 7 Installed and in the Virtual Machine i've installed a Ubuntu 14.04 Server 32-bit.
My /etc/network/interfaces configuration looks like:
-----------------------------------------
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.56.101
network 192.168.56.0
netmask 255.255.255.0
broadcast 192.168.56.255
gateway 192.168.56.1
auto eth1
iface eth1 inet dhcp
--------------------------------
In /etc/resolv.conf there's nothing (well a commented text with #)
I've looked through internet and so and some people are talking about /etc/udev/rules.d/70-persistent-net.rules, but I don't have this file
My configuration on Oracle VM Virtualbox looks like this:
Adapter 1:
Adapter Host only
VirtualBox Host-only Adapter
Adapter type: Intel Pro/1000MT Desktop (82540EM)
Promiscuous mode: Allow everything
Cable connected (option marked)
Adapter2:
NAT
(Same Type of Adapter...83540EM)
Promiscuous mode Deny
Cable Connected
Port forwaridng option:
Rule 1 TCP (blank on both IP addresses) Host port 2525, Guest Port 22)
Also there is another place where to configure
Virtualbox->File->Preferences (CTRL+G)-> Network
Nat Network:
One Nat network added and checkbox marked with the same port forwarding configuration as in the other place with the nat, dhcp allowed, ipv6 not
and in host only adapter
Virtualbox ethernet adapter without dhcp server and address 192.168.56.1
mask: 255.255.255.0
Also when I start my Ubuntu no network interfaces except from loopback could be seen, when I force it (eth0 up) they appear without IP addres, no ping to any network.
I have added some pics about it to make it easily but I couldn't put them in any order (sorry).
my name is Alberto and I am trying to connect my host computer to the virtual machine.
I have a Windows 7 Installed and in the Virtual Machine i've installed a Ubuntu 14.04 Server 32-bit.
My /etc/network/interfaces configuration looks like:
-----------------------------------------
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.56.101
network 192.168.56.0
netmask 255.255.255.0
broadcast 192.168.56.255
gateway 192.168.56.1
auto eth1
iface eth1 inet dhcp
--------------------------------
In /etc/resolv.conf there's nothing (well a commented text with #)
I've looked through internet and so and some people are talking about /etc/udev/rules.d/70-persistent-net.rules, but I don't have this file
My configuration on Oracle VM Virtualbox looks like this:
Adapter 1:
Adapter Host only
VirtualBox Host-only Adapter
Adapter type: Intel Pro/1000MT Desktop (82540EM)
Promiscuous mode: Allow everything
Cable connected (option marked)
Adapter2:
NAT
(Same Type of Adapter...83540EM)
Promiscuous mode Deny
Cable Connected
Port forwaridng option:
Rule 1 TCP (blank on both IP addresses) Host port 2525, Guest Port 22)
Also there is another place where to configure
Virtualbox->File->Preferences (CTRL+G)-> Network
Nat Network:
One Nat network added and checkbox marked with the same port forwarding configuration as in the other place with the nat, dhcp allowed, ipv6 not
and in host only adapter
Virtualbox ethernet adapter without dhcp server and address 192.168.56.1
mask: 255.255.255.0
Also when I start my Ubuntu no network interfaces except from loopback could be seen, when I force it (eth0 up) they appear without IP addres, no ping to any network.
I have added some pics about it to make it easily but I couldn't put them in any order (sorry).