[ovs-discuss] Bonding configuration with /etc/network/interfaces not working on Wheezy

Gurucharan Shetty gshetty at nicira.com
Tue Sep 4 18:32:32 UTC 2012


On Tue, Sep 4, 2012 at 8:17 AM, Fabio Fantoni <fabio.fantoni at heliman.it>wrote:

> I have installed openvswitch on Wheezy 64 bit and configured bridge with
> /etc/network/interfaces.
>
> Single bridge on one interface working:
> On /etc/network/interfaces:
> ------------------------------**-----------------
> allow-ovs xenbr0
> iface xenbr0 inet dhcp
>      ovs_type OVSBridge
>      ovs_ports eth0
>
> allow-xenbr0 eth0
> iface eth0 inet manual
>      ovs_bridge xenbr0
>      ovs_type OVSPort
> ------------------------------**-----------------
> ifup --allow=ovs xenbr0
>
>
> Bonding with 2 interfaces not working:
> On /etc/network/interfaces:
> ------------------------------**-----------------
> allow-ovs xenbr0
> iface xenbr0 inet static
>      address 192.168.1.30
>      netmask 255.255.255.0
>      network 192.168.1.0
>      broadcast 192.168.1.255
>      gateway 192.168.1.200
>      ovs_type OVSBridge
>      ovs_ports bond0
>
> allow-xenbr0 bond0
> iface bond0 inet manual
>      ovs_bridge xenbr0
>      ovs_type OVSBond
>      ovs_bonds eth0 eth1
>      ovs_options bond_mode=balance-tcp lacp=active
> ------------------------------**-----------------
> ifup --allow=ovs xenbr0
>
> xenbr0 and bond0 went up without error but system network is not working
> (for example I can't ping from the system), probably there is something
> wrong or missing in network/interfaces configuration, I don't know exactly,
> is first time I use openvswitch.

If you do a "ifconfig eth0" and "ifconfig eth1", they are probably down?
Does manually upping them help?


>


> Each one done following the examples of openvswitch-switch.README.**Debian
>
> Thanks for any reply
>
>
> ______________________________**_________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/**mailman/listinfo/discuss<http://openvswitch.org/mailman/listinfo/discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120904/09397595/attachment.html>


More information about the discuss mailing list