[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
    address 192.168.132.250
    netmask 255.255.255.0
    network 192.168.132.0
#    gateway 192.168.132.254
    dns-nameservers 192.168.132.254
    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         = [ 
'model=e1000,mac=00:16:3E:CA:75:9C,bridge=br0','model=e1000,mac=00:16:3E:CA:75:9D,bridge=br114'
 ]

br0 for local lan and br114 for external wan.

-- 

With best regards,
Dmitriy Sirant


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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