If like me, you use a VirtualBox VM for developing server applications, you certainly have configured your VM with your network interface in bridged mode.
When you have to move your VM on a Laptop PC, and after that, each time you switch from a wired connection to a Wireless one, you definitely have been annoyed, having to update the network adapter on which the network is bridged.
You will see in this post how to develop a mini C program that allows you to switch automatically to the correct network interface and then start the VM.
|