Bridged Network independent of network interface
Posted: 5. Nov 2017, 09:48
My MacBook Pro has a built in WiFi, which I normally keep turned off, and thus the Wi-Fi (AirPort) device on 'en0' is not normally available to select. In liue of WiFi, I use my Thunderbolt Ethernet adapter, which shows as device 'en5'. However, if I don't have the Thunderbolt Ethernet adapter plugged in, 'en5' does not show in the device list.
The actual arrangement of hardware settings depends on where I am and what I am doing, including being connected to different LANs which use different network addresses, that sometimes force me to use WiFi.
The reason this is of concern to me it that I am not able to setup my locally hosted VM using a Bridged Adapter because sometimes it's not available and at other times the IP range is different. This makes it really troublesome when accessing my VM.
To solve this, I have tried using a series of DNS servers with complimentary A records for each of the IPs that I tend to be working with. This sometimes works ok, but at other times, non-existent DNS servers (somehow) send DNS responses indicating no such name (from WireShark):
Note that server: '172.20.10.14', does not exist (where I am right now), and is ordered in my host's DNS settings after the server that does exist: '172.20.11.6'. I had just flushed my Mac's DNS cache before performing the lookup.
Could anyone suggest a solution that does not involve NAT and port forwarding? Links to guides would be great.
The actual arrangement of hardware settings depends on where I am and what I am doing, including being connected to different LANs which use different network addresses, that sometimes force me to use WiFi.
The reason this is of concern to me it that I am not able to setup my locally hosted VM using a Bridged Adapter because sometimes it's not available and at other times the IP range is different. This makes it really troublesome when accessing my VM.
To solve this, I have tried using a series of DNS servers with complimentary A records for each of the IPs that I tend to be working with. This sometimes works ok, but at other times, non-existent DNS servers (somehow) send DNS responses indicating no such name (from WireShark):
Code: Select all
510 99.511350 172.20.10.14 172.20.11.2 DNS 69 Standard query response 0x4c79 No such name A work.intCould anyone suggest a solution that does not involve NAT and port forwarding? Links to guides would be great.