Using "ptcp:" with an IP address doesn't limit the address that's allowed to connect. It's specifying what IP address it should locally bind to, so it needs to be an IP address on that local system. If you want to limit who can connect, you can use iptables or use "pssl:" to authenticate the other side.
--Justin On Jan 31, 2013, at 7:17 PM, wchunx_ok <wchunx...@126.com> wrote: > Host1 has the IP address 192.168.0.30 and Host2 has the IP address > 192.168.0.224. > I want only Host1 can administrate OVS2 on Host2 remotely. > > > At 2013-01-31 16:17:31,"Justin Pettit" <jpet...@nicira.com> wrote: > >Please don't drop the list. > > > >Is 192.168.0.30 a valid IP on Host2? Are you trying to have ovs-vsctl on > >Host1 connect to Host2? If so, aren't you expecting Host2 to have the IP > >address 192.168.0.224? Unless there's a piece I'm missing, I don't think > >your configuration makes sense. > > > >--Justin > > > > > >On Jan 31, 2013, at 12:10 AM, wchunx_ok <wchunx...@126.com> wrote: > > > >> Thank you for you replay. > >> I tried: > >> on Host2 ovs-vsctl set-manager ptcp:6633:192.168.0.30 > >> on Host1: ovs-vsctl --db=tcp:192.168.0.224:6633 show It also stay in > >> suspend. > >> In /var/log/openvswitch/ovsdb-server.log I found: > >> > >> 2013-01-31T08:05:10Z|02611|socket_util|ERR|6633:192.168.0.30: bind: Cannot > >> assign requested address > >> 2013-01-31T08:05:10Z|02612|socket_util|ERR|6633:192.168.0.30: bind: Cannot > >> assign requested address > >> 2013-01-31T08:05:10Z|02613|socket_util|ERR|6633:192.168.0.30: bind: Cannot > >> assign requested address > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> At 2013-01-31 15:29:39,"Justin Pettit" <jpet...@nicira.com > >> > wrote: > >> >On Jan 30, 2013, at 7:31 PM, wchunx_ok < > >> wchunx...@126.com > >> > wrote: > >> > > >> >> on Host2 I set: ovs-vsctl set-manager ptcp:192.168.0.30:6633 > >> > > >> >Try reversing the order of the port and IP address when running "ptcp:". > >> >Meaning: > >> > > >> > ptcp:6633:192.168.0.30 > >> > > >> >--Justin > >> > > >> > > >> > >> > >> > > > > > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss