George Dunlap
2015-Oct-28 17:02 UTC
[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
Nathan March
2015-Oct-28 17:14 UTC
[CentOS-virt] Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7
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 at centos.org [mailto:centos-virt- > bounces at centos.org] On Behalf Of George Dunlap > Sent: Wednesday, October 28, 2015 10:02 AM > To: Discussion about the virtualization on CentOS <centos-virt at centos.org> > 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 at centos.org > https://lists.centos.org/mailman/listinfo/centos-virtv
George Dunlap
2015-Oct-28 17:24 UTC
[CentOS-virt] Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7
On Wed, Oct 28, 2015 at 5:14 PM, Nathan March <nathan at gt.net> 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
Maybe Matching Threads
- Xen Doc Day: Guide to setting up bridging on CentOS 6 / 7
- networkinterface type proposal
- How to kickstart a guest with Centos 6.6 & Xen 4.4
- Xen hypervisor on CentOS 7.4 with modern UEFI server not booting from grub
- libvirt, xen PV, qemu-system-i386, root user