Re: Bridged connection fails if NIC is unplugged
Posted: 19. Aug 2019, 21:21
They are on different subnets, that's why they can't talk to each other. But why, dhcp is on with the host only adapter, and the vm is set to use dhcp. I ran ipconfig /release then /renew, and restarted the vm, what you see below is the result of that.
Host vbox
VM:
Host vbox
Code: Select all
d:\virtualbox>vboxmanage list hostonlyifs
Name: VirtualBox Host-Only Ethernet Adapter
GUID: 161075b2-7393-4dce-9e36-67594ee033c5
DHCP: Enabled
IPAddress: 169.254.0.94
NetworkMask: 255.255.0.0
IPV6Address: fe80::409a:71dd:ca05:5e
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:07
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
Code: Select all
C:\Users\MS.TT>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : vm-o2010-bol
Primary Dns Suffix . . . . . . . : tt.lan
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : tt.lan
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter #2
Physical Address. . . . . . . . . : 08-00-27-1E-89-A5
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7851:eb63:5fbc:9875%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.99.101(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, August 19, 2019 9:15:00 PM
Lease Expires . . . . . . . . . . : Monday, August 19, 2019 9:35:04 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.99.100
DHCPv6 IAID . . . . . . . . . . . : 302514215
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-24-E9-FC-EE-08-00-27-59-6F-F5
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{99AFA039-8993-440C-B5C9-3B7A5D46C4F7}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
C:\Users\MS.TT>