[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] OpenVPN on OpenBSD: route: netmask: bad address


  • Subject: [Openvpn-users] OpenVPN on OpenBSD: route: netmask: bad address
  • From: "Pieter W.D. Kroon" <info@xxxxxxxxxxxxxxx>
  • Date: Wed, 9 Mar 2005 17:45:14 +0100
  • Importance: Normal

Title: Bericht
setup: OpenBSD 3.6, OpenVPN 1.6, static key
 
office.conf and office.up like in HOWTO 1.X
 
I can't get office.up working, message:
{1-6} keys ok
{7} /sbin/ifconfig tun0 192.168.1.100 192.168.1.1 mtu 1256 netmask 255.255.255.255 up
{8} TUN/TAP device /dev/tun0 opened
{9} /etc/openvpn/office.up tun0 1256 1300 192.168.1.100 192.168.1.1 init
route: netmask: bad address
{} script failed: error status 1 {} exiting
 
office.up:
 
# office.up for openvpn
route add -net 192.168.1.0 netmask 255.255.255.0 gw $5
 
Why the netmask error ??
What is wrong ??
What defines $5 ??
 
- any help will be remembered and greatly appreciated -
 
Pieter W.D. Kroon
www.lemmeronline.nl