You don't need to do it with OVS commands. You can just use ifconfig, ip, dhclient...
--Justin On May 3, 2012, at 12:21 AM, 星言 墨虚 wrote: > But I cannot find a command of ovs-vsctl could assign the IP address to > bridge just like br0. > So how to add an IP address to br0? > > Thanks. > > -- Tony > > 发件人: Justin Pettit <[email protected]> > 收件人: 星言 墨虚 <[email protected]> > 抄送: Ben Pfaff <[email protected]>; ovs-discuss <[email protected]> > 发送日期: 2012年5月3日, 星期四, 下午 2:23 > 主题: Re: [ovs-discuss] 回复: How to configure in-band control in OpenvSwitch? > > Even B can't connect to the controller? That should be pretty basic > connectivity. Are the IP addresses on the devices attached to the bridge or > the bridge itself? Based on your drawing it looks like they're on the > devices, which won't work. What happens if you assign the IP addresses to the > bridge? > > --Justin > > > On May 2, 2012, at 11:13 PM, 星言 墨虚 <[email protected]> wrote: > >> Thanks, but I want to know how to add "hidden" rules to OpenvSwitch? >> For example, >> >> A(eth0) -------- (eth0)B(eth1) ------ (eth0)controller >> 10.0.0.1 10.0.0.2 11.0.0.1 11.0.0.2 >> >> I create a network like this. A and B is openvswitch. I configure >> openvswitch using this command >> ovs-vsctl add-br br0 >> ovs-vsctl add-port br0 eth0 >> ovs-vsctl add-port br0 eth1 >> ovs-vsctl set-controller br0 tcp:11.0.0.2:6633 >> >> But, the openvswitches cannot connect to controller, what else should I do? >> >> -- Tony >> 发件人: Ben Pfaff <[email protected]> >> 收件人: 星言 墨虚 <[email protected]> >> 抄送: "[email protected]" <[email protected]> >> 发送日期: 2012年5月3日, 星期四, 上午 11:30 >> 主题: Re: [ovs-discuss] How to configure in-band control in OpenvSwitch? >> >> On Thu, May 03, 2012 at 11:12:50AM +0800, 星言 墨虚 wrote: >> > I want to configure OpenvSwitch in-band control and I read >> > the Design Decisions In Open vSwitch which websit is >> > http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=DESIGNBut >> > there are not details about how to enable in-band control in >> > OpenvSwitch.So, I want to know the steps to configure it.Thanks very >> > much.-- Tony >> >> You don't have to do anything to enable in-band control, because it is >> enabled by default. >> >> >> _______________________________________________ >> discuss mailing list >> [email protected] >> http://openvswitch.org/mailman/listinfo/discuss > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
