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

[Openvpn-users] ifconfig error on client!


  • Subject: [Openvpn-users] ifconfig error on client!
  • From: deep xploit <deepxploit@xxxxxxxxx>
  • Date: Wed, 8 Dec 2004 02:09:42 +0200

i have two freebsd servers.each is nating an internal network,i
configured one of them as the server.
when i initialize the client to connect to that server i get this :

Dec  7 23:51:16 typhoon openvpn[832]: TLS: tls_multi_process: i=2
state=S_UNDEF, mysid=00000000 00000000, stored-sid=00000000
00000000, stored-ip=[undef]
Dec  7 23:51:16 typhoon openvpn[832]: PUSH: Received control message:
'PUSH_REPLY,route-gateway 10.0.0.1,ping 10,ping-restart
60,ifconfig 10.0.0.60 255.255.255.0'
Dec  7 23:51:16 typhoon openvpn[832]: OPTIONS IMPORT: timers and/or
timeouts modified
Dec  7 23:51:16 typhoon openvpn[832]: OPTIONS IMPORT: --ifconfig/up
options modified
Dec  7 23:51:16 typhoon openvpn[832]: OPTIONS IMPORT: route options modified
Dec  7 23:51:16 typhoon openvpn[832]: TUN/TAP device /dev/tap0 opened
Dec  7 23:51:16 typhoon openvpn[832]: /sbin/ifconfig tap0 10.0.0.60
netmask 255.255.255.0 mtu 1500 up
Dec  7 23:51:16 typhon openvpn[832]: SYSTEM[2] '/sbin/ifconfig tap0
10.0.0.60 netmask 255.255.255.0 mtu 1500 up'
Dec  7 23:51:16 typhon openvpn[832]: SYSTEM return=256
Dec  7 23:51:16 typhon openvpn[832]: FreeBSD ifconfig failed: shell
command exited with error status: 1
Dec  7 23:51:16 typhon openvpn[832]: Exiting
------------
so,i copied the line pushed to the client ( /sbin/ifconfig tap0
10.0.0.60 netmask 255.255.255.0 mtu 1500 up) and executed it manually
to get this error :

typhoon# /sbin/ifconfig tap0 10.0.0.60 netmask 255.255.255.0 mtu 1500 up
ifconfig: ioctl (SIOCAIFADDR): File exists

------------------
any ideas !
and what if i don't want the client to get an ip from the server(the
client has an ip that i want it to be used already) is this possible?
thanks

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users