My servertap is refusing to assume any ip configuration.
I've create a working test environment. so i assume i the hang of th"e configuration.
(keys from test environment are generated on production server)
The tap is visible in the "Network connections" ip protocol is enabled.
But "ipconfig" does not show the adapter tap al, nothing nada.
Relevant info:
xp sp3 fully updated
mc affee (I did trie with the firewall turned off)
Removed/reinstalled openvpn (Stable 2.1.4)
Tried to manualy assign an ip
It apears the tap installation is ging wrong, but what ..
here is the part where its going wrong in the vpnserverlogs.
Code: Select all
Tue Jan 11 22:16:29 2011 us=265000 GDGR: best=0 lm=10
Tue Jan 11 22:16:29 2011 us=265000 ROUTE default_gateway=192.168.0.1
Tue Jan 11 22:16:29 2011 us=265000 TAP-WIN32 device [tap2] opened: \\.\Global\{2
5E15326-B209-42A8-8A03-1E1A1A827411}.tap
Tue Jan 11 22:16:29 2011 us=281000 NOTE: could not get adapter index for {25E153
26-B209-42A8-8A03-1E1A1A827411}
Tue Jan 11 22:16:29 2011 us=281000 TAP-Win32 Driver Version 9.7
Tue Jan 11 22:16:29 2011 us=281000 TAP-Win32 MTU=1500
Tue Jan 11 22:16:29 2011 us=281000 Notified TAP-Win32 driver to set a DHCP IP/ne
tmask of 10.8.0.1/255.255.255.252 on interface {25E15326-B209-42A8-8A03-1E1A1A82
7411} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Tue Jan 11 22:16:29 2011 us=281000 Sleeping for 10 seconds...
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[0] 0.0.0.0/0.0.0.0 i=3 m=10
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[1] 127.0.0.0/255.0.0.0 i=1 m=1
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[2] 192.168.0.0/255.255.255.0 i=3
m=10
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[3] 192.168.0.60/255.255.255.255 i
=1 m=10
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[4] 192.168.0.255/255.255.255.255
i=3 m=10
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[5] 224.0.0.0/240.0.0.0 i=3 m=10
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[6] 255.255.255.255/255.255.255.25
5 i=2 m=1
Tue Jan 11 22:16:39 2011 us=281000 GDGR: route[7] 255.255.255.255/255.255.255.25
5 i=3 m=1
Tue Jan 11 22:16:39 2011 us=281000 GDGR: best=0 lm=10
Tue Jan 11 22:16:39 2011 us=281000 DEBUG: IP Locate: ip=192.168.0.1 nm=255.255.2
55.0 index=3 count=-1
Tue Jan 11 22:16:39 2011 us=281000 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MA
SK 255.255.255.0 10.8.0.2
Tue Jan 11 22:16:39 2011 us=296000 DEBUG: IP Locate: ip=10.8.0.2 nm=0.0.0.0 inde
x=-1 count=0
Tue Jan 11 22:16:39 2011 us=296000 Warning: route gateway is not reachable on an
y active network adapters: 10.8.0.2
Tue Jan 11 22:16:39 2011 us=296000 DEBUG: route find if: on_tun=0 count=0 index=
-1
Tue Jan 11 22:16:39 2011 us=296000 Route addition via IPAPI failed [adaptive]
Tue Jan 11 22:16:39 2011 us=296000 Route addition fallback to route.exe
Tue Jan 11 22:16:39 2011 us=296000 Attempting to lock Win32 semaphore 'openvpn_n
etcmd' prior to net shell command (timeout = 600 sec)
Tue Jan 11 22:16:39 2011 us=296000 Locked Win32 semaphore 'openvpn_netcmd'
The route addition failed: Either the interface index is wrong or the gateway do
es not lie on the same network as the interface. Check the IP Address Table for
the machine.