VirtualBox on Mac Nit with Cisco VPN

I have to use Cisco VPN to log into the corporate network.  This causes me to lose connectivity to my VBox guest via the host only adapter (vboxnet0).  This is expected.  However, once I logoff the VPN, I am unable to ping the adapter.  In my case, the adapter for this guest is assigned ip address The simple solution is to Log into Terminal and refresh the interface…so you don’t have to reboot.

sudo ifconfig vboxnet0 down
sudo ifconfig vboxnet0 up

Probably should write an Automater script for that…something like

do shell script "sudo ifconfig vboxnet0 down" with administrator privileges

Ahh better.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s