Link to home
Start Free TrialLog in
Avatar of Tel-IT
Tel-ITFlag for India

asked on

How to get the IP address assigned to cisco vpn client on mac

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
ASKER CERTIFIED SOLUTION
Avatar of jhyiesla
jhyiesla
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tel-IT

ASKER

ok