xen virtual network
I'm trying to figure out how to create both frontend and backend
networks in xen. By that I mean a publicly available network for
internet access and a virtual network for communication between guests
only that has no internet or other network access.
Here's what I've done in attempting to add the second virtual network.
1. Created dummy0 interface in /etc/network/interfaces in Dom0.
2. In /etc/xen/xend-config.sxp pointed (network-bridge) to the script
below.
3. Created a script in /etc/xen/scripts to start up both xenbr0 and
xenbr1. xenbr0 is the default bridge and xenbr1 is created on dummy0.
The script is from an example in Running Xen on how to create multiple
bridges.
4. Added the mac and xenbr info for xenbr1 to the "vif = (blah, blah,
blah)" line in the domain.cfg file in /etc/xen.
This results in losing all network connectivity to and from the guest
OS. It also leads me to believe I should probably be creating this
second interface in /etc/xen-tools/xen-tools.conf so that the second
interface would be created in the guest by xen-create-image, but I can
find no documentation on how to do this.
The guest only shows eth0 and lo in /etc/network/interfaces.
"brctl show" lists two bridges.
bridge name bridge id STP enabled interfaces
eth1 8000.00e04da05951 no peth1
xenbr1 8000.feffffffffff no vif2.0
Can anyone either give me an example to look at or point me to a how-to
on this?
Reply to: