
radlinskic at acm
Apr 15, 2008, 7:44 PM
Post #1 of 1
(287 views)
Permalink
|
I'm attempting to run vpnc on Solaris 10 x86 8/07. I was able to successfully download, compile and install the software. I can connect to the remote VPN and pass authentication but the routing isn't configured correctly. I'm encountering exactly the same problems as this guy: http://www.gossamer-threads.com/lists/vpnc/devel/2058 I applied the patches provided in that thread and that fixed the "/etc/vpnc/vpnc-script: !: not found" errors. I also changed the shebang line to /bin/bash. After doing this, my output looks like: ifconfig: setifflags: SIOCSLIFFLAGS: tun0: no such interface add host xxx.xxx.xxx.xxx: gateway 192.168.1.1: Network is unreachable route: gateway required for add or delete command add net default: gateway 10.33.80.58 VPNC started in background (pid: 915)... "ifconfig -a" gives: vfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 192.168.1.145 netmask ffffff00 broadcast 192.168.1.255 ether 0:f:ea:3c:3b:64 tun0: flags=10010008d0<POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1412 index 3 inet 10.33.80.58 --> 10.33.80.58 netmask ffffffff ether 75 The "ether 75" line under tun0 looks suspicious. The sample "ifconfig -a" at http://www.cwinters.com/news/display/3617 shows a complete MAC address: tun0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,\ MULTICAST,IPv4,FIXEDMTU> mtu 1412 index 7 inet 172.16.6.170 --> 172.16.6.170 netmask ffffffff ether eb:d5:90:b2:eb:d5 but mine does not. Any ideas why? "netstat -nrv" gives: IRE Table: IPv4 Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd -- -- -- -- -- -- -- -- -- -- default 0.0.0.0 192.168.1.1 1500* 0 1 UG 38 0 default 0.0.0.0 10.33.80.58 tun0 1412* 0 1 U 0 0 192.168.1.0 255.255.255.0 192.168.1.145 vfe0 1500* 0 1 U 2 0 224.0.0.0 240.0.0.0 192.168.1.145 vfe0 1500* 0 1 U 0 0 127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 6 UH 23816 0 Can anybody offer any hints as to what's wrong? Thanks, Chris
|