How to get the IP address assigned to cisco vpn client on mac
Posted on 2009-12-29
I have a cisco vpn client configured on mac.
When i connect the client,it works fine but
the IP address of this client is not shown in ifconfig.
As an alternative to ifconfig i tried using the api getifaddrs().
But even this api doesnt return the IP of cisco client.
I also tried using scutil through command line.
Here i found that the IP of cisco client(172.21.128.184) is same as that of ethernet(172.21.128.184) and the interface name is also en0(same as ethernet).
I have a cisco vpn on windows.
When i connect and do a ifconfig,
it clearly lists vpn and its new address(10.50.100.160).
Wat is the reason?
Plz let me know the solution to