Viscosity doesn't fetch routes from server

Got a problem with Viscosity or need help? Ask here!

bugsmoran

Posts: 2
Joined: Sat May 05, 2012 2:11 pm

Post by bugsmoran » Sat May 05, 2012 2:21 pm
OS: Windows 7 x64
Viscosity: 1.3.7 (1143)
***************************

Hello.

I've got the following issue. My Viscosity client connects well and obtains address from DHCP-pool. But it doesn't obtain a route to my network. At the same time I'm sure server settings are good because OpenVPN-client connects as expected.
Where to dig out?

This is a connection process log:
май 05 08:23:49: State changed to Connecting
май 05 08:23:49: Viscosity 1.3.7 (1143)
май 05 08:23:49: Running on Microsoft Windows 7 Ultimate
май 05 08:23:49: Checking reachability status of connection...
май 05 08:23:50: Connection is reachable. Starting connection attempt.
май 05 08:23:50: Bringing up interface
май 05 08:23:50: OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Jan 4 2012
май 5 08:23:55: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
май 5 08:23:55: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
май 5 08:23:55: Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
май 5 08:23:55: LZO compression initialized
май 5 08:23:55: UDPv4 link local (bound): [undef]:1194
май 5 08:23:55: UDPv4 link remote: 213.239.205.99:1194
май 5 08:23:56: [vpn.nodesquad.com] Peer Connection Initiated with 213.239.205.99:1194
май 5 08:23:58: TAP-WIN32 device [nodesquad.ovpn] opened: \\.\Global\{3715D6A8-EFCD-413D-9A07-F38564F86EA8}.tap
май 5 08:23:58: Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.201.0.10/255.255.255.252 on interface {3715D6A8-EFCD-413D-9A07-F38564F86EA8} [DHCP-serv: 10.201.0.9, lease-time: 31536000]
май 5 08:23:58: Successful ARP Flush on interface [28] {3715D6A8-EFCD-413D-9A07-F38564F86EA8}май 5 08:24:35: Warning: route gateway is not reachable on any active network adapters: 10.1.0.1
май 5 08:24:35: SYSTEM ROUTING TABLE
май 5 08:24:35: 0.0.0.0 0.0.0.0 192.168.1.10 p=0 i=12 t=4 pr=3 a=52813 h=0 m=281/0/0/0/0
май 5 08:24:35: 10.0.0.0 255.0.0.0 10.1.0.1 p=0 i=12 t=4 pr=3 a=0 h=0 m=26/0/0/0/0
май 5 08:24:35: 10.1.0.0 255.255.0.0 10.201.0.9 p=0 i=28 t=4 pr=3 a=0 h=0 m=30/0/0/0/0
май 5 08:24:35: 10.201.0.1 255.255.255.255 10.201.0.9 p=0 i=28 t=4 pr=3 a=0 h=0 m=30/0/0/0/0
май 5 08:24:35: 10.201.0.8 255.255.255.252 10.201.0.10 p=0 i=28 t=3 pr=3 a=36 h=0 m=286/0/0/0/0
май 5 08:24:35: 10.201.0.10 255.255.255.255 10.201.0.10 p=0 i=28 t=3 pr=3 a=36 h=0 m=286/0/0/0/0
май 5 08:24:35: 10.201.0.11 255.255.255.255 10.201.0.10 p=0 i=28 t=3 pr=3 a=36 h=0 m=286/0/0/0/0
май 5 08:24:35: 127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=52830 h=0 m=306/0/0/0/0
май 5 08:24:35: 127.0.0.1 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=52830 h=0 m=306/0/0/0/0
май 5 08:24:35: 127.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=52830 h=0 m=306/0/0/0/0
май 5 08:24:35: 192.168.1.0 255.255.255.0 192.168.1.77 p=0 i=12 t=3 pr=3 a=52801 h=0 m=281/0/0/0/0
май 5 08:24:35: 192.168.1.77 255.255.255.255 192.168.1.77 p=0 i=12 t=3 pr=3 a=52801 h=0 m=281/0/0/0/0
май 5 08:24:35: 192.168.1.255 255.255.255.255 192.168.1.77 p=0 i=12 t=3 pr=3 a=52801 h=0 m=281/0/0/0/0
май 5 08:24:35: 224.0.0.0 240.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=52830 h=0 m=306/0/0/0/0
май 5 08:24:35: 224.0.0.0 240.0.0.0 192.168.1.77 p=0 i=12 t=3 pr=3 a=52813 h=0 m=281/0/0/0/0
май 5 08:24:35: 224.0.0.0 240.0.0.0 10.201.0.10 p=0 i=28 t=3 pr=3 a=46 h=0 m=286/0/0/0/0
май 5 08:24:35: 255.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=52830 h=0 m=306/0/0/0/0
май 5 08:24:35: 255.255.255.255 255.255.255.255 192.168.1.77 p=0 i=12 t=3 pr=3 a=52813 h=0 m=281/0/0/0/0
май 5 08:24:35: 255.255.255.255 255.255.255.255 10.201.0.10 p=0 i=28 t=3 pr=3 a=46 h=0 m=286/0/0/0/0
май 5 08:24:35: SYSTEM ADAPTER LIST
май 5 08:24:35: Viscosity Virtual Adapter V9.1 #2
май 5 08:24:35: Index = 28
май 5 08:24:35: GUID = {3715D6A8-EFCD-413D-9A07-F38564F86EA8}
май 5 08:24:35: IP = 10.201.0.10/255.255.255.252
май 5 08:24:35: MAC = 00:ff:37:15:d6:a8
май 5 08:24:35: GATEWAY = 0.0.0.0/255.255.255.255
май 5 08:24:35: DHCP SERV = 10.201.0.9/255.255.255.255
май 5 08:24:35: DHCP LEASE OBTAINED = Sat May 05 08:23:59 2012
май 5 08:24:35: DHCP LEASE EXPIRES = Fri Jun 19 05:39:56 1970
май 5 08:24:35: DNS SERV =
май 5 08:24:35: Bluetooth Device (Personal Area Network)
май 5 08:24:35: Index = 19
май 5 08:24:35: GUID = {43D0A750-06AD-4C15-AAEE-87666FD04732}
май 5 08:24:35: IP = 0.0.0.0/0.0.0.0
май 5 08:24:36: MAC = e0:91:53:59:09:4f
май 5 08:24:36: GATEWAY = 0.0.0.0/255.255.255.255
май 5 08:24:36: DHCP SERV =
май 5 08:24:36: DHCP LEASE OBTAINED = Sat May 05 08:24:35 2012
май 5 08:24:36: DHCP LEASE EXPIRES = Fri Jun 19 05:50:36 1970
май 5 08:24:36: DNS SERV =
май 5 08:24:36: TAP-Win32 Adapter V9
май 5 08:24:36: Index = 16
май 5 08:24:36: GUID = {F9DD9319-D2BF-49FC-820E-7F3626007D38}
май 5 08:24:36: IP = 0.0.0.0/0.0.0.0
май 5 08:24:36: MAC = 00:ff:f9:dd:93:19
май 5 08:24:36: GATEWAY = 0.0.0.0/255.255.255.255
май 5 08:24:36: DHCP SERV =
май 5 08:24:36: DHCP LEASE OBTAINED = Sat May 05 08:24:35 2012
май 5 08:24:36: DHCP LEASE EXPIRES = Fri Jun 19 06:01:16 1970
май 5 08:24:36: PRI WINS = 192.0.2.2/255.255.255.255
май 5 08:24:36: SEC WINS =
май 5 08:24:36: DNS SERV =
май 5 08:24:36: TAP-Win32 Adapter OAS
май 5 08:24:36: Index = 15
май 5 08:24:36: GUID = {48292EEA-797C-496F-9B7E-F0B17CDA1C21}
май 5 08:24:36: IP = 0.0.0.0/0.0.0.0
май 5 08:24:36: MAC = 00:ff:48:29:2e:ea
май 5 08:24:36: GATEWAY = 0.0.0.0/255.255.255.255
май 5 08:24:36: DHCP SERV =
май 5 08:24:36: DHCP LEASE OBTAINED = Sat May 05 08:24:35 2012
май 5 08:24:36: DHCP LEASE EXPIRES = Fri Jun 19 06:11:56 1970
май 5 08:24:36: DNS SERV =
май 5 08:24:36: Atheros AR9002WB-1NG Wireless Network Adapter #1
май 5 08:24:36: Index = 12
май 5 08:24:36: GUID = {5D0C0AC9-A1EA-44A9-A499-C2E7714B5105}
май 5 08:24:36: IP = 192.168.1.77/255.255.255.0
май 5 08:24:36: MAC = e0:91:53:5a:9c:24
май 5 08:24:36: GATEWAY = 192.168.1.10/255.255.255.255
май 5 08:24:36: DNS SERV = 8.8.8.8/255.255.255.255 8.8.4.4/255.255.255.255
май 5 08:24:36: Realtek PCIe FE Family Controller
май 5 08:24:36: Index = 11
май 5 08:24:36: GUID = {DC29DEA1-46FF-45F0-977E-0C13359F199B}
май 5 08:24:36: IP = 0.0.0.0/0.0.0.0
май 5 08:24:36: MAC = e0:69:95:fa:f9:97
май 5 08:24:36: GATEWAY = 192.168.1.1/255.255.255.255
май 5 08:24:36: DNS SERV =
май 5 08:24:36: Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
май 05 08:24:36: State changed to Connected
And here is ipconfig for current adapter:
Ethernet adapter nodesquad.ovpn:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Viscosity Virtual Adapter V9.1 #2
Physical Address. . . . . . . . . : 00-FF-37-15-D6-A8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::24af:6c7:fade:f290%28(Preferred)
IPv4 Address. . . . . . . . . . . : 10.201.0.10(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : 5 мая 2012 г. 8:23:59
Lease Expires . . . . . . . . . . : 5 мая 2013 г. 8:23:59
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.201.0.9
DHCPv6 IAID . . . . . . . . . . . : 721485623
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-50-79-61-E0-69-95-FA-F9-97
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

bugsmoran

Posts: 2
Joined: Sat May 05, 2012 2:11 pm

Post by bugsmoran » Sat May 05, 2012 2:30 pm
Oops, sorry.

Finally found reason. When you start your computer, first connect Viscosity. If OpenVPN were connected first then Viscosity will never fetch a routes even if you'll completely offload OpenVPN from memory.

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Sat May 05, 2012 6:32 pm
Hi bugsmoran,

Great to see you found a solution. We're looking into why this would happen.

Cheers,

Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
3 posts Page 1 of 1