NAT/HostOnly guest can't connect host/internet
NAT/HostOnly guest can't connect host/internet
Host Win10, Guest Ubuntu 14.04, network NAT/HostOnly. host ping guest is OK, but guest can't ping host, host can't access Internet.
When vm starts, there's VBox Warning message: Can't connect to the network interface 'DEVICE\{....}', MAC number in {}, can be seen in host as Tunnel adapter isatap, Media state, Connection-specific DNS Suffix
IPs: lo 127.0.0.1 eth0 / eth1: 192.168.0.127
network interfaces: lo iface lo inet lookback, eth0: iface eth0 inet dhcp, eth1: iface eth1 inet static, address 192.168.0.127, netmask 255.255.255.0
eth0 dhcp not get, but get static as eth1
vbox version 4.3 - ugraded to 5.0
Would you help me out?
When vm starts, there's VBox Warning message: Can't connect to the network interface 'DEVICE\{....}', MAC number in {}, can be seen in host as Tunnel adapter isatap, Media state, Connection-specific DNS Suffix
IPs: lo 127.0.0.1 eth0 / eth1: 192.168.0.127
network interfaces: lo iface lo inet lookback, eth0: iface eth0 inet dhcp, eth1: iface eth1 inet static, address 192.168.0.127, netmask 255.255.255.0
eth0 dhcp not get, but get static as eth1
vbox version 4.3 - ugraded to 5.0
Would you help me out?
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: NAT/HostOnly guest can't connect host/internet
Well, your post is a little bit too condensed for me, so, could you provide 1) a VBox.log where you have observed the problem and 2) the <VMName>.vbox? Both of them zipped please...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: NAT/HostOnly guest can't connect host/internet
Also post the results of the following:
Code: Select all
VBoxManage list hostonlyifsRe: NAT/HostOnly guest can't connect host/internet
socratis & perryg,
I've got these 3 files - vbox.log/best.vbox/hostonlyifs.txt, zipped into vbox.zip and attached for your review.
Thank you both for help.
I've got these 3 files - vbox.log/best.vbox/hostonlyifs.txt, zipped into vbox.zip and attached for your review.
Thank you both for help.
- Attachments
-
- vbox.zip
- (26.22 KiB) Downloaded 8 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: NAT/HostOnly guest can't connect host/internet
You have two host only adapters and they are both wrong. Delete the number two host only adapter ( look in preference -> network )
Edit the first one to equal the two screenshots provided. ( see below )
Next your Extension pack does not match the running version of VirtualBox.
Also you are running close to not having enough memory
This is what is causing your network issues and should be fixed when you set the host-only network up properly.
Edit the first one to equal the two screenshots provided. ( see below )
Next your Extension pack does not match the running version of VirtualBox.
Code: Select all
VirtualBox VM 5.0.14 r105127 win.amd64 (Jan 19 2016 16:40:17) release log
00:00:03.846450 Oracle VM VirtualBox Extension Pack (Version: 4.3.12 r93733; VRDE Module: VBoxVRDP unusable because of 'Incompatible extension pack (version '4.3.12'), please update')
Code: Select all
00:00:03.845133 Host RAM: 4008MB total, 1184MB available
00:00:04.745939 RamSize <integer> = 0x0000000040000000 (1 073 741 824, 1 024 MB)
00:00:04.746300 VRamSize <integer> = 0x0000000000c00000 (12 582 912, 12 MB)This is what is causing your network issues and should be fixed when you set the host-only network up properly.
Code: Select all
00:00:05.619725 IntNet#0: szNetwork={HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3} enmTrunkType=3 szTrunk={\DEVICE\{5D1B39D4-EABA-4970-B7C5-7ACB02F884C7}} fFlags=0x14000 cbRecv=325632 cbSend=196608 fIgnoreConnectFailure=true
00:00:05.619872 VM: Raising runtime error 'HostIfNotConnecting' (fFlags=0x0)
00:00:05.619928 Console: VM runtime error: fatal=false, errorID=HostIfNotConnecting message="Cannot connect to the network interface '\DEVICE\{5D1B39D4-EABA-4970-B7C5-7ACB02F884C7}'. The virtual network card will appear to work but the guest will not be able to connect. Please choose a different network in the network settings"Re: NAT/HostOnly guest can't connect host/internet
Perryg,
Deleted HostOnly #2, edited #3 following you.
Result: when start vbox, Error message still there: Cannot connect to the network interface '\DEVICE\{5D1B39D4-EABA-4970-B7C5-7ACB02F884C7}'
ifconfig keeps same.
Can't ping host from guest, and to guest from host either.
Deleted HostOnly #2, edited #3 following you.
Result: when start vbox, Error message still there: Cannot connect to the network interface '\DEVICE\{5D1B39D4-EABA-4970-B7C5-7ACB02F884C7}'
ifconfig keeps same.
Can't ping host from guest, and to guest from host either.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: NAT/HostOnly guest can't connect host/internet
This concerns me. You should not have a number following the name. Delete all of the host-only adapters, reboot the host and add a new one but do not edit it in any way. Then post the results of the following.Deleted HostOnly #2, edited #3 following you.
- VBoxManage list hostonlyifs on the host
ifconfig -a from the guests terminal.
Re: NAT/HostOnly guest can't connect host/internet
Perryg,
Thanks for your time.
But my problem is still the same. I did as you said - delete host only adapters, and created new one.
Result is like below:
Guest side
==============================================================================
Host:
>ping 192.168.0.127
Pinging 192.168.0.127 with 32 bytes of data:
Reply from 192.168.0.103: Destination host unreachable.
Reply from 192.168.0.103: Destination host unreachable.
Reply from 192.168.0.103: Destination host unreachable.
Reply from 192.168.0.103: Destination host unreachable.
Ping statistics for 192.168.0.127:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Thanks for your time.
But my problem is still the same. I did as you said - delete host only adapters, and created new one.
Result is like below:
Guest side
Code: Select all
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:a8:17:a2
inet addr:192.168.0.127 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fea8:17a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:2053 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4614 (4.6 KB) TX bytes:130786 (130.7 KB)
eth1 Link encap:Ethernet HWaddr 08:00:27:69:86:83
inet addr:192.168.0.127 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe69:8683/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:495 (495.0 B) TX bytes:342 (342.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:7830 errors:0 dropped:0 overruns:0 frame:0
TX packets:7830 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1534672 (1.5 MB) TX bytes:1534672 (1.5 MB)
$ ping 192.168.0.103
PING 192.168.0.103 (192.168.0.103) 56(84) bytes of data.
From 192.168.0.127 icmp_seq=1 Destination Host Unreachable
From 192.168.0.127 icmp_seq=2 Destination Host Unreachable
Host:
Code: Select all
>VBoxManage list hostonlyifs
Name: VirtualBox Host-Only Ethernet Adapter #2
GUID: 13e192dc-6fb6-41f2-ba57-9d02d898a881
DHCP: Disabled
IPAddress: 192.168.76.1
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:70ec:74fa:6d67:87c9
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 08:00:27:00:74:c9
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2Pinging 192.168.0.127 with 32 bytes of data:
Reply from 192.168.0.103: Destination host unreachable.
Reply from 192.168.0.103: Destination host unreachable.
Reply from 192.168.0.103: Destination host unreachable.
Reply from 192.168.0.103: Destination host unreachable.
Ping statistics for 192.168.0.127:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: NAT/HostOnly guest can't connect host/internet
This still isn't right. Did you change any of the settings of the host-only interface? By default they should be 192.168.56.*
You also seem to be using a static address in the guest host-only which is not a good idea unless you know what you are doing.
You also seem to be using a static address in the guest host-only which is not a good idea unless you know what you are doing.