Re: VLAN bridge config for xen - Was: Controlling allocation of ethernet devices and KVM

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

 



----- "Tait Clarridge" <tait@xxxxxxxxxxxx> wrote:

> Interesting, thanks for the info. Can I specify which VLANs it is
> going
> to configure and bridge?

Example bridge interface:

/etc/sysconfig/network-scripts/ifcfg-br10:
DEVICE=br10
TYPE=Bridge
BOOTPROTO=none
ONBOOT=yes
DELAY=0
STP=on

Example vlan interface on a bridge (you can do this with physical interfaces, as well):

/etc/sysconfig/network-scripts/ifcfg-bond0.10:
DEVICE=bond0.10
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
VLAN=yes
BRIDGE=br10

Example bonded slave physical interface:

/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=none
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
USERCTL=no

Example master for bonding:

/etc/sysconfig/network-scripts/ifcfg-bond0:
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no

The bonding parameters are set in /etc/modprobe.conf. e.g.:

alias bond0 bonding
options bond0 mode=balance-rr miimon=100 updelay=1000

-- 
Christopher G. Stach II


_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux