[vpn-help] Routes on Linux

Adam Hollifield ahollifield at gta.com
Wed Nov 6 13:23:38 CST 2013


Hello All,

It appears that routes are added incorrectly (by hostname?) on Linux 
using ShrewSoft client 2.2.1.  Obviously, what is specified as the 
gateway for the 192.168.95.0 (remote network across VPN) network via the 
tap0 interface is not a valid route or resolvable by DNS.  Below are the 
routing tables (one on linux, one on windows) using the same VPN client 
policy and configuration.  Both negotiate successfully but only the 
windows connection properly routes traffic.  Has anyone else seen this 
behavior?

I am using Fedora 19 3.11.6-200.fc19.i686.PAE

[root at vboxfedora-gta-com ~]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref Use Iface
default         192.168.245.254 0.0.0.0         UG    0 0        0 p2p1
10.10.1.95      192.168.245.254 255.255.255.255 UGH   0 0        0 p2p1
192.168.95.0    vbox-fedora- 255.255.255.0   UG    0 0        0 tap0
192.168.245.0   *               255.255.255.0   U     1 0        0 p2p1


Windows routes:

PS C:\Documents and Settings\User> route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 ff 10 e6 05 c7 ...... TAP-Win32 Adapter V9 #2 - Packet 
Scheduler Miniport
0x3 ...08 00 27 d8 7b 3e ...... AMD PCNET Family PCI Ethernet Adapter - 
Packet Scheduler M
0x4 ...00 ff b2 b0 81 17 ...... TAP-Win32 Adapter V9 - Packet Scheduler 
Miniport
0x10006 ...aa aa aa e1 b9 00 ...... Shrew Soft Virtual Adapter - Packet 
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface Metric
           0.0.0.0          0.0.0.0  192.168.245.254 192.168.245.4       20
        10.10.1.95  255.255.255.255  192.168.245.254 192.168.245.4       1
         127.0.0.0        255.0.0.0        127.0.0.1 127.0.0.1 1
      192.168.73.1  255.255.255.255        127.0.0.1 127.0.0.1 30
    192.168.73.255  255.255.255.255     192.168.73.1 192.168.73.1       30
      192.168.95.0    255.255.255.0     192.168.73.1 192.168.73.1       1
     192.168.245.0    255.255.255.0    192.168.245.4 192.168.245.4       20
     192.168.245.4  255.255.255.255        127.0.0.1 127.0.0.1 20
   192.168.245.255  255.255.255.255    192.168.245.4 192.168.245.4       20
         224.0.0.0        240.0.0.0     192.168.73.1 192.168.73.1       30
         224.0.0.0        240.0.0.0    192.168.245.4 192.168.245.4       20
   255.255.255.255  255.255.255.255     192.168.73.1 192.168.73.1       1
   255.255.255.255  255.255.255.255    192.168.245.4 4       1
   255.255.255.255  255.255.255.255    192.168.245.4 192.168.245.4       1
   255.255.255.255  255.255.255.255    192.168.245.4 2       1
Default Gateway:   192.168.245.254
===========================================================================
Persistent Routes:
   None


More information about the vpn-help mailing list