Re: [CentOS-virt] Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7

2015-10-28 Thread George Dunlap
On Wed, Oct 28, 2015 at 5:14 PM, Nathan March  wrote:
> If you'd like to extend that a little bit, here's example configs on how to 
> do LACP and vlan tagging on c6:

Hey Nathan,

Thanks for the feedback.  I meant the HOWTOs to be for a super-basic
setup. I presume someone who wants vlans and what-not can read the
full RHEL 6 / 7 documentation (which I linked to from the parent
document, https://wiki.centos.org/HowTos/Xen/Xen4QuickStart.

If you want to add a new wiki page with your suggested setup, and link
to it from the main page, that would be good as well.

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

Ah, thanks -- missed that one when copy-and-pasting from my testing scripts. :-)

Peace,
 -George
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7

2015-10-28 Thread Nathan March
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-boun...@centos.org [mailto:centos-virt-
> boun...@centos.org] On Behalf Of George Dunlap
> Sent: Wednesday, October 28, 2015 10:02 AM
> To: Discussion about the virtualization on CentOS 
> Subject: [CentOS-virt] 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@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virtv

___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7

2015-10-28 Thread George Dunlap
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@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt