Re: Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7

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

 



If you'd like to extend that a little bit, here's example configs on how to do LACP and vlan tagging on c6:

host network-scripts # cat ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
USEERCTL=no
BOOTPROTO=none
IPV6INIT=no
MTU=1500
MASTER=bond0
SLAVE=yes

host network-scripts # cat ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
USEERCTL=no
BOOTPROTO=none
IPV6INIT=no
MTU=1500
MASTER=bond0
SLAVE=yes

host network-scripts # cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
USEERCTL=no
BOOTPROTO=none
IPV6INIT=no
BONDING_OPTS="miimon=100 mode=802.3ad"

host network-scripts # cat ifcfg-vlan###
DEVICE=vlan###
ONBOOT=yes
USEERCTL=no
BOOTPROTO=none
IPV6INIT=no
PHYSDEV=bond0
VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
IPADDR=10.x.x.x
NETMASK=255.255.255.0
GATEWAY=10.x.x.x
DOMAIN="example.com"
DNS1=x.x.x.x
DNS2=x.x.x.x
DNS3=x.x.x.x

I use my own bridging control scripts, but this should extend your existing doc nicely just by using BRIDGE=xenbr0 in the ifcfg-vlan### file.

Also there's a small error in your c6 doc, you specify ifcfg-$dev but $dev never gets set anywhere.

- Nathan


> -----Original Message-----
> From: centos-virt-bounces@xxxxxxxxxx [mailto:centos-virt-
> bounces@xxxxxxxxxx] On Behalf Of George Dunlap
> Sent: Wednesday, October 28, 2015 10:02 AM
> To: Discussion about the virtualization on CentOS <centos-virt@xxxxxxxxxx>
> Subject:  Xen Doc Day: Guide to setting up bridging on CentOS 6
> / 7
> 
> In honor of Xen Doc Day, I've put up some basic HOWTOs for setting up
> bridging on CentOS 6 and 7.  I'm far from an expert, so I'd appreciate any
> feedback.
> 
> The howtos can be found here:
> 
> https://wiki.centos.org/HowTos/Xen/Xen4QuickStart/Xen4Networking6
> 
> https://wiki.centos.org/HowTos/Xen/Xen4QuickStart/Xen4Networking7
> 
>  -George
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos-virtv

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
https://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