Created
July 20, 2018 14:13
-
-
Save halfmanhalftaco/c95c343af4a1f1104f0abbbdac326380 to your computer and use it in GitHub Desktop.
Vagrant bridging behavior
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F:\src\bridgetest> VBoxManage list bridgedifs | |
Name: Intel(R) Ethernet Connection (2) I219-V - VLAN : LAN0 | |
GUID: aef1a9cd-4145-4228-9755-69d1e731dc28 | |
DHCP: Enabled | |
IPAddress: 10.0.42.150 | |
NetworkMask: 255.255.255.0 | |
IPV6Address: fe80::ec68:136d:18d0:72ce | |
IPV6NetworkMaskPrefixLength: 64 | |
HardwareAddress: 30:5a:3a:7e:01:08 | |
MediumType: Ethernet | |
Wireless: No | |
Status: Up | |
VBoxNetworkName: HostInterfaceNetworking-Intel(R) Ethernet Connection (2) I219-V - VLAN : LAN0 | |
Name: Intel(R) Ethernet Connection (2) I219-V - VLAN : RETRO1994 | |
GUID: cd8205f9-b8f2-4dec-bffc-27e3231f4ee8 | |
DHCP: Disabled | |
IPAddress: 0.0.0.0 | |
NetworkMask: 0.0.0.0 | |
IPV6Address: | |
IPV6NetworkMaskPrefixLength: 0 | |
HardwareAddress: 00:00:00:00:00:00 | |
MediumType: Ethernet | |
Wireless: No | |
Status: Down | |
VBoxNetworkName: HostInterfaceNetworking-Intel(R) Ethernet Connection (2) I219-V - VLAN : RETRO1994 | |
Name: Viscosity Virtual Adapter V9.1 | |
GUID: b436d0f4-7bc4-4b1c-bc5e-4cd12971f5a9 | |
DHCP: Enabled | |
IPAddress: 10.7.3.201 | |
NetworkMask: 255.255.255.192 | |
IPV6Address: fe80::417a:fdea:16d2:27d4 | |
IPV6NetworkMaskPrefixLength: 64 | |
HardwareAddress: 00:ff:b4:36:d0:f4 | |
MediumType: Ethernet | |
Wireless: No | |
Status: Up | |
VBoxNetworkName: HostInterfaceNetworking-Viscosity Virtual Adapter V9.1 | |
F:\src\bridgetest> vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'debian/contrib-jessie64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'debian/contrib-jessie64' is up to date... | |
==> default: Setting the name of the VM: bridgetest_default_1532095410144_8052 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Specific bridge 'Intel(R) Ethernet Connection (2) I219-V - VLAN : RETRO1994' not found. You may be asked to specify==> default: which network to bridge to. | |
==> default: Available bridged network interfaces: | |
1) Intel(R) Ethernet Connection (2) I219-V - VLAN : LAN0 | |
2) Viscosity Virtual Adapter V9.1 | |
==> default: When choosing an interface, it is usually the one that is | |
==> default: being used to connect to the internet. | |
default: Which interface should the network bridge to? | |
< assign IP address to interface here, no change to Vagrantfile > | |
F:\src\bridgetest> VBoxManage list bridgedifs | |
Name: Intel(R) Ethernet Connection (2) I219-V - VLAN : LAN0 | |
GUID: aef1a9cd-4145-4228-9755-69d1e731dc28 | |
DHCP: Enabled | |
IPAddress: 10.0.42.150 | |
NetworkMask: 255.255.255.0 | |
IPV6Address: fe80::ec68:136d:18d0:72ce | |
IPV6NetworkMaskPrefixLength: 64 | |
HardwareAddress: 30:5a:3a:7e:01:08 | |
MediumType: Ethernet | |
Wireless: No | |
Status: Up | |
VBoxNetworkName: HostInterfaceNetworking-Intel(R) Ethernet Connection (2) I219-V - VLAN : LAN0 | |
Name: Intel(R) Ethernet Connection (2) I219-V - VLAN : RETRO1994 | |
GUID: cd8205f9-b8f2-4dec-bffc-27e3231f4ee8 | |
DHCP: Disabled | |
IPAddress: 10.94.42.30 | |
NetworkMask: 255.255.255.0 | |
IPV6Address: | |
IPV6NetworkMaskPrefixLength: 0 | |
HardwareAddress: 30:5a:3a:7e:01:08 | |
MediumType: Ethernet | |
Wireless: No | |
Status: Up | |
VBoxNetworkName: HostInterfaceNetworking-Intel(R) Ethernet Connection (2) I219-V - VLAN : RETRO1994 | |
Name: Viscosity Virtual Adapter V9.1 | |
GUID: b436d0f4-7bc4-4b1c-bc5e-4cd12971f5a9 | |
DHCP: Enabled | |
IPAddress: 10.7.3.201 | |
NetworkMask: 255.255.255.192 | |
IPV6Address: fe80::417a:fdea:16d2:27d4 | |
IPV6NetworkMaskPrefixLength: 64 | |
HardwareAddress: 00:ff:b4:36:d0:f4 | |
MediumType: Ethernet | |
Wireless: No | |
Status: Up | |
VBoxNetworkName: HostInterfaceNetworking-Viscosity Virtual Adapter V9.1 | |
F:\src\bridgetest> vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'debian/contrib-jessie64' is up to date... | |
==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
default: Adapter 2: bridged | |
==> default: Forwarding ports... | |
default: 22 (guest) => 2200 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: SSH address: 127.0.0.1:2200 | |
default: SSH username: vagrant | |
default: SSH auth method: private key | |
default: | |
default: Vagrant insecure key detected. Vagrant will automatically replace | |
default: this with a newly generated keypair for better security. | |
default: | |
default: Inserting generated public key within guest... | |
default: Removing insecure key from the guest if it's present... | |
default: Key inserted! Disconnecting and reconnecting using new SSH key... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
default: The guest additions on this VM do not match the installed version of | |
default: VirtualBox! In most cases this is fine, but in rare cases it can | |
default: prevent things such as shared folders from working properly. If you see | |
default: shared folder errors, please make sure the guest additions within the | |
default: virtual machine match the version of VirtualBox you have installed on | |
default: your host and reload your VM. | |
default: | |
default: Guest Additions Version: 4.3.36 | |
default: VirtualBox Version: 5.2 | |
==> default: Configuring and enabling network interfaces... | |
==> default: Mounting shared folders... | |
default: /vagrant => F:/src/bridgetest | |
==> default: Machine 'default' has a post `vagrant up` message. This is a message | |
==> default: from the creator of the Vagrantfile, and not from Vagrant itself: | |
==> default: | |
==> default: Vanilla Debian box. See https://app.vagrantup.com/debian for help and bug reports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment