RE: Ip address of VPN
RE: Ip address of VPN
- Subject: RE: Ip address of VPN
- From: Quinn <email@hidden>
- Date: Wed, 23 Dec 2009 09:17:09 +0000
At 09:34 +0530 23/12/09, Vasavi Mahadev wrote:
I am not using built-in support for Cisco VPNs.
[...]
But the IP address for Cisco VPN client is same as that of Ethernet(en0).
Yeah, that's weird. That's not how things are meant to work. I
suspect that it's Cisco code doing this, so it's not something that I
can explain (I have a hard enough time explaining Apple's code :-).
If you have any contacts at Cisco, you might want to ping them.
Regarding a workaround, have you tried looking at
<x-man-page://3/getifaddrs>. It's simultaneously a better and worse
way to get at the information you need. It's better because it's
tied more closely to the TCP/IP stack, and hence it's hard to create
an interface without it appearing it. Here's worse for pretty much
the same reason (-:, in that it returns a very raw interpretation of
what's going on. Also, unlike the dynamic store, it doesn't notify
you when things change.
So, fire up your Cisco VPN and then call getifaddrs and see what it returns.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden