Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use tunnelblick and OpenVPN on the mac, but when I choose to disconnect from the VPN I lose all network connectivity and have to reboot to get back online.

Is there a way to get a new IP or something, without having to reboot?

share|improve this question

2 Answers 2

You could enter your network settings, find your physical network interface, and use the release/renew buttons (in that order).

This would cause your interface to attempt to request configuration again from your router.

My guess is that the issue is that your routing table isn't getting it's default gateway reset to the IP of your router after OpenVPN tears down it's interface.

To see if a better solution (one that involves less work) could be found, could you copy the output of route -n before using OpenVPN, while using it, and after using it?

-Tyler

share|improve this answer

Try disconnecting, then reconnecting the network. Either unplug Ethernet and then plug it back in, or turn Airport off and then back on.

share|improve this answer
1  
"have you tried turning it off and back on again?" –  alex Dec 15 '11 at 22:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.