[ovs-discuss] set-controller for IPv6 gives invalid argument error

Ben Pfaff blp at ovn.org
Thu Jul 6 00:21:19 UTC 2017

On Tue, Jul 04, 2017 at 05:52:06PM +0000, Ali Volkan Atli wrote:
> Hi 
> I'm trying to connect OVS to a controller using IPv6 as below, but it is not working.
> # sudo ovs-vsctl set-controller s1 tcp:[fe80::41f3:ab56:bbab:a528]
> However, it gives the following error: 
> 2017-07-04T17:47:00Z|00730|rconn|WARN|s1<->tcp:[fe80::41f3:ab56:bbab:a528]: connection failed (Invalid argument)
> 2017-07-04T17:47:08Z|00731|stream_tcp|ERR|tcp:[fe80::41f3:ab56:bbab:a528]: connect: Invalid argument
> When I check ping6, I can ping
> # ping6 -I eth0 fe80::41f3:ab56:bbab:a528
> PING fe80::41f3:ab56:bbab:a528(fe80::41f3:ab56:bbab:a528) from fe80::f22:a6c2:6603:13b eth0: 56 data bytes
> 64 bytes from fe80::41f3:ab56:bbab:a528: icmp_seq=1 ttl=128 time=0.429 ms
> 64 bytes from fe80::41f3:ab56:bbab:a528: icmp_seq=2 ttl=128 time=0.740 ms
> What should I do? Thanks in advance..

Interesting, I'd never even heard of such issues.

I sent a patch that should allow you to use this via:
        sudo ovs-vsctl set-controller s1 'tcp:[fe80::41f3:ab56:bbab:a528%eth0]'

(I recommend quoting anything with shell metacharacters like [], by the

More information about the discuss mailing list