• Post Reply Bookmark Topic Watch Topic
  • New Topic

set routing  RSS feed

 
Alessandro Ilardo
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using KVpnc 0.8.1 on a Suse 10.1 to connect to a private network which has a Cisco pix 501.
The connection is correctly established, but I can't ping any machines on the network. I guess the route needs to be changed. I've tried to go trough the KVpnc settings and I've added

* Routes
o Use Additional network routes
+ Network: 194.20.0.0 Mask:24 GW 194.20.23.27

but the log reports this message:
debug: Adding the following additional network routes: 194.20.0.0/24#194.20.23.27
errore: [route err] Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If] inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M] [netmask N] [mss Mss] [window W] [irtt I] [mod] [dyn] [reinstate] [[dev] If] inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject inet_route [-FC] flush NOT supported /root/.kde/share/apps/kvpnc/addAdditionalNetworkRoutes.Roket.sh: line 2: --: No such file or directory

Any help or suggestions?
Thanks in advance
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know KVpnc, but the error-message seems to indicate, that the script
/root/.kde/share/apps/kvpnc/addAdditionalNetworkRoutes.Roket.sh is calling a second command 'inet_route' with wrong parameters in line 2, producing an unexpected '--'.
I would take a look at line 2 of that script.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!