[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] debian wheezy interface bonding (dom0) / xen 4.1.2*

Here my working config from Debian Squeezy, but it's also support vlans.

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto bond0
iface bond0 inet manual
    slaves eth0 eth1
    bond_mode 802.3ad
    bond_miimon 100
    bond_downdelay 200
    bond_updelay 200
    pre-up /bin/ip link set eth0 mtu 9000
    pre-up /bin/ip link set eth1 mtu 9000
    up /bin/ip link set bond0 mtu 9000

auto vlan114
iface vlan114 inet manual
    vlan_raw_device bond0
    up /bin/ip link set vlan114 mtu 9000

auto br0
iface br0 inet static
    bridge_ports bond0
#    gateway
    dns-search xxx.xxx
    bridge_stp on
    bridge_fd 0
    up /bin/ip link set br0 mtu 9000

auto br114
iface br114 inet static
    bridge_ports vlan114
    address 193.xxx.xxx.xxx
    netmask 255.255.255.xxx
    network 193.xxx.xxx.xxx
    gateway 193.xxx.xxx.xxx
    dns-search xxx.xxx
    bridge_stp on
    bridge_fd 0
    up /bin/ip link set br114 mtu 9000

After that in xen i use:
vif         = [ 

br0 for local lan and br114 for external wan.


With best regards,
Dmitriy Sirant

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.