Windows 7 server list of active clients assigned IP address
Posted: Thu Apr 16, 2015 5:49 pm
Can someone provide a command line query or utility that would allow me to see the list of IP addresses assigned to my actively connected clients?
I have been searching high and low for a deterministic way to identify the assigned client ip address my Windows 7 openvpn server. I am able to see the the Common Name in the log and I see the ipp.txt file has different IP addresses than what was actually assigned.
I have ifconfig-pool-persist ipp.txt un-commented
ipp.txt contains these two entries
piclient2,10.8.0.4
piclient,10.8.0.8
I stopped both the server and the client.
I first restarted windows server...
I then restarted openvpn on the piclient (linux machine) ... I expected piclient to be assigned 10.8.0.8
The resulting assignment for tun0
tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/none
inet 10.8.0.10 peer 10.8.0.9/32 scope global tun0
So, I am confused. The ip address assigned is 10.8.0.10 not what I expected 10.8.0.8
I have been searching high and low for a deterministic way to identify the assigned client ip address my Windows 7 openvpn server. I am able to see the the Common Name in the log and I see the ipp.txt file has different IP addresses than what was actually assigned.
I have ifconfig-pool-persist ipp.txt un-commented
ipp.txt contains these two entries
piclient2,10.8.0.4
piclient,10.8.0.8
I stopped both the server and the client.
I first restarted windows server...
I then restarted openvpn on the piclient (linux machine) ... I expected piclient to be assigned 10.8.0.8
The resulting assignment for tun0
tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/none
inet 10.8.0.10 peer 10.8.0.9/32 scope global tun0
So, I am confused. The ip address assigned is 10.8.0.10 not what I expected 10.8.0.8