Hi again,

Just installed Debian's openvswtich package from sid (2.1).  Now
everything works as expected :)

Here is my config that bonds two ethernet interfaces in active-backup
mode (the interfaces are connected to separate switches).  Most of it is
copied from /usr/share/doc/openvswitch-switch/README.Debian

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

########################################################################
# configure vs0
#
allow-ovs vs0
iface vs0 inet manual
    ovs_type OVSBridge
    ovs_ports bond0 vlan200

########################################################################
# bond eth0 and eth1 for use with ovs
#
allow-vs0 bond0
iface bond0 inet manual
    pre-up ip link set dev eth0 up
    pre-up ip link set dev eth1 up
    ovs_bridge vs0
    ovs_type OVSBond
    ovs_bonds eth0 eth1
    ovs_options bond_mode=active-backup lacp=off

######################################################################
# prepare eth0 for usage in vs0
#
auto eth0
iface eth0 inet manual

######################################################################
# prepare eth1 for usage in vs0
#
auto eth1
iface eth1 inet manual

######################################################################
# prepare lan200 for usage in vs0
#
allow-vs0 vlan200
iface vlan200 inet static
    ovs_bridge vs0
    ovs_type OVSIntPort
    ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)
    address IP
    netmask MASK
    gateway GATEWAY
    dns-nameservers NAMESERVERS
    dns-search DOMAIN

Regards,
-- 
J.Hofmüller

Im Übrigen bin ich der Meinung, das Joanneum muss zerschlagen werden! -
Barbara Fischer

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to