Hi,

  I am trying to use haproxy to loadbalance requests to my server running on a 
ipv6 address fdaf:ef88:5169:1015::5 and port 8080.
When I start the haproxy, I am getting the following error message: 


[ALERT] 308/025857 (4799) : parsing [./haproxy.conf:25] : Unknown host in 
'fdaf:ef88:5169:1015::5:8080'
[ALERT] 308/025857 (4799) : Error(s) found in configuration file : 
./haproxy.conf
[ALERT] 308/025857 (4799) : Fatal errors found in configuration.


Does haproxy support ipv6 address in the server section?

thanks
Ramesh


haproxy.conf

global
       daemon
       maxconn 50000
       stats socket /var/tmp/haproxy.sock

defaults

       mode http
       timeout connect 5000ms
       timeout client 50000ms
       timeout server 50000ms


listen v6-service
        bind 2003::916:20c:29ff:fe38:796:80
        mode tcp
        balance leastconn
        option httpchk HEAD /
        server mynode fdaf:ef88:5169:1015::5:8080 check port 8080 inter 5000 
rise 1 fall 1




eth0      Link encap:Ethernet  HWaddr 00:50:56:01:0F:05  
          inet addr:192.168.15.5  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fdaf:ef88:5169:1015::5/64 Scope:Global
          inet6 addr: fe80::250:56ff:fe01:f05/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39705 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1738 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2602495 (2.4 MiB)  TX bytes:249124 (243.2 KiB)
          Interrupt:59 Base address:0x2000 

eth6      Link encap:Ethernet  HWaddr 00:0C:29:38:07:96  
          inet6 addr: 2003::916:20c:29ff:fe38:796/64 Scope:Global
          inet6 addr: fe80::20c:29ff:fe38:796/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5644 (5.5 KiB)  TX bytes:2024 (1.9 KiB)
          Interrupt:51 Base address:0x2480 

Reply via email to