Greetings,
I'm using vpnc
for a VPN client. I'm also doing some tricky things with route
to make sure I can still access my local network, etc. etc. (the particulars here are not very important).
Sometimes I get the routing table so jacked up I get ping: sendto: Network is unreachable
for urls that should otherwise resolve.
Currently, if I restart Mac OS X then everything is back to normal. What I'd like to do is reset the routing tables to the "default" (e.g. what it is set to at boot) without a whole system reboot.
I think that step 1 is route flush
(to remove all routes). And step 2 needs to reload all of the default routes.
Any thoughts on how to do this? (e.g. what is step 2?)
EDIT
Also, I'm noticing another symptom is traceroute
also fails on the address in question. For instance:
traceroute the.good.dns.name
traceroute: bind: Can't assign requested address