From: Jon B. <jon...@la...> - 2005-11-30 15:05:38
|
Hi Sundman from #openvpn had some suggestions and they appears to be working. i had to remove the pull/client statement from the client.conf and run this manually sudo ifconfig tun0 192.168.123.253/24 192.168.123.253 sudo route add -net 192.168.123.0 192.168.123.253 255.255.255.0 It does work. I can ping, and if i add a route to the network beyond the VPN network i can ping and surf on those hosts as well sudo route add -net 192.168.119.0 192.168.123.34 255.255.255.0 So topology does work on mac OSX. JonB Den 30. nov 2005 kl. 14:54 skrev Jon Bendtsen: > Hi > > I'm trying to use topology subnet to avoid wasting so many ip > addresses. > I use openvpn 2.1 beta7, running on a 10.4.3 > > strings ifconfig gives: > $Id: ifconfig.c,v 1.8 2004/08/26 23:55:21 lindak Exp $ > > the log with --verb 8 says: > --------------------------------------------------------- > Wed Nov 30 14:48:53 2005 us=326378 PUSH: Received control message: > 'PUSH_REPLY,topology subnet,route-gateway 192.168.123.34,comp-lzo > yes,ifconfig 192.168.123.36 255.255.255.0' > Wed Nov 30 14:48:53 2005 us=326956 OPTIONS IMPORT: LZO parms modified > Wed Nov 30 14:48:53 2005 us=327519 OPTIONS IMPORT: --ifconfig/up > options modified > Wed Nov 30 14:48:53 2005 us=327910 OPTIONS IMPORT: route-related > options modified > Wed Nov 30 14:48:53 2005 us=329230 TUN/TAP device /dev/tun1 opened > Wed Nov 30 14:48:53 2005 us=329983 /sbin/ifconfig tun1 delete > Wed Nov 30 14:48:53 2005 us=330695 SYSTEM[0] '/sbin/ifconfig tun1 > delete' > ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address > Wed Nov 30 14:48:53 2005 us=497781 SYSTEM return=256 > Wed Nov 30 14:48:53 2005 us=500098 NOTE: Tried to delete pre- > existing tun/tap instance -- No Problem if failure > Wed Nov 30 14:48:53 2005 us=500304 /sbin/ifconfig tun1 > 192.168.123.36 netmask 255.255.255.0 mtu 1500 up > Wed Nov 30 14:48:53 2005 us=500373 SYSTEM[2] '/sbin/ifconfig tun1 > 192.168.123.36 netmask 255.255.255.0 mtu 1500 up' > ifconfig: ioctl (SIOCAIFADDR): Destination address required > Wed Nov 30 14:48:53 2005 us=523401 SYSTEM return=256 > Wed Nov 30 14:48:53 2005 us=523955 Mac OS X ifconfig failed: shell > command exited with error status: 1 > Wed Nov 30 14:48:53 2005 us=524096 Exiting > > > Besides this experimental version i do have an older working > version using tunnelblick 2.01 for tiger. > > > > JonB > ps: nDuff from #openvpn in freenode.net spoke of a pool to get > james an mac mini. How big is that pool? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Openvpn-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openvpn-users |