Hi,

I've disable ipv6 on an Ubuntu Lucid box as you can see :

cyril@Atila:~$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1
cyril@Atila:~$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 08:00:27:5e:bc:06  
          inet adr:xx.xx.xx.xx  Bcast:xx.xx.xx.255  Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:2008123 erreurs:0 :0 overruns:0 frame:0
          TX packets:418131 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:316289442 (316.2 MB) Octets transmis:150811541 (150.8 MB)

However openvpn seems to be confused sometimes but not always as you can see 
with 2 different sessions on the same machines :

Nov 11 13:58:39 Atila ovpn-hebex[31401]: OPTIONS IMPORT: --ip-win32 and/or 
--dhcp-option options modified
Nov 11 13:58:39 Atila ovpn-hebex[31401]: ROUTE default_gateway=xx.xx.xx.xx
Nov 11 13:58:39 Atila ovpn-hebex[31401]: ROUTE6: default_gateway=UNDEF
Nov 11 13:58:39 Atila ovpn-hebex[31401]: TUN/TAP device tun0 opened
Nov 11 13:58:39 Atila ovpn-hebex[31401]: TUN/TAP TX queue length set to 100
Nov 11 13:58:39 Atila ovpn-hebex[31401]: do_ifconfig, tt->ipv6=1, 
tt->did_ifconfig_ipv6_setup=1
Nov 11 13:58:39 Atila ovpn-hebex[31401]: /sbin/ifconfig tun0 yy.yy.yy.yy 
pointopoint yy.yy.yy.yy mtu 1500
Nov 11 13:58:39 Atila ovpn-hebex[31401]: /sbin/ifconfig tun0 inet6 add 
2001:c9c0:b1:4046::1:2/64
Nov 11 13:58:39 Atila ovpn-hebex[31401]: Linux ifconfig inet6 failed: external 
program exited with error status: 1
Nov 11 13:58:39 Atila ovpn-hebex[31401]: Exiting

Nov 11 13:59:14 Atila ovpn-hebex[31499]: OPTIONS IMPORT: --ip-win32 and/or 
--dhcp-option options modified
Nov 11 13:59:14 Atila ovpn-hebex[31499]: ROUTE default_gateway=xx.xx.xx.xx
Nov 11 13:59:14 Atila ovpn-hebex[31499]: TUN/TAP device tun0 opened
Nov 11 13:59:14 Atila ovpn-hebex[31499]: TUN/TAP TX queue length set to 100
Nov 11 13:59:14 Atila ovpn-hebex[31499]: do_ifconfig, tt->ipv6=0, 
tt->did_ifconfig_ipv6_setup=0
Nov 11 13:59:14 Atila ovpn-hebex[31499]: /sbin/ifconfig tun0 yy.yy.yy.yy 
pointopoint yy.yy.yy.yy mtu 1500
Nov 11 13:59:14 Atila ovpn-hebex[31499]: /etc/openvpn/update-resolv-conf tun0 
1500 1558 10.234.63.38 10.234.63.37 init
Nov 11 13:59:14 Atila ovpn-hebex[31499]: /sbin/route add ..
..
Nov 11 13:59:14 Atila ovpn-hebex[31499]: Initialization Sequence Completed

So on the same machine, with 2 differents sessions, one time it sees that ipv6 
is enabled (tt->ipv6=1) and not the other time (the good one for me !)

any idea ?

thanks
-- 
Cyril SCETBON

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to