The VPN connects successfully but after some time the connection is unusable (VPN is used as primary gateway). Ping would reveal:
ping: sendto: No buffer space available
This looks like the same issue discussed here: http://discussions.apple.com/message.jspa?messageID=12514921#12514921
Hopefully you might have a workaround.
I have Mac OS X 10.6.4
I can confirm that sending constant pings to a host on the VPN will help overcome this exact issue.
Find an ip address of a computer on the network you know will be happy to take a pings all day (a web server maybe?). Open a terminal by going into spotlight (command+space) and typing 'Terminal'. In the window that appears type (without quotes)
so for example:
Then just let it ping for as long as you need to keep your session open. I've found that leaving it all day has no negative affects.
I found out that the issue is most likely a UDP session timeout in my router (decreased from 120 to 90). And I have to send constant pings to a remote node (in the VPN remote network).