Re: Creating multiple xen bridges

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

 



On Sat, 2008-08-02 at 13:29 +0100, Andy Burns wrote:
> My machine has two NICs, with xen3.2.0 eth0 is renamed to peth0 and
> enslaved to bridge eth0, I now want to use eth1 inside a domU, if I
> manually create the eth1 bridge it all works fine, but I'd like the
> "cleanest" way for it to be re-created after a reboot of dom0
> 
> I found the line in xend-config.sxp where it calls
> 
> (network-script network-bridge)
> 
> I changed it so that it was
> 
> (network-script network-bridge netdev=eth0)
> (network-script network-bridge netdev=eth1)
> 
> expecting this would work, but after rebooting dom0, I still only get
> the eth0 bridge, any suggestions for clean ways to add the second
> bridge?

Change that line to this:

(network-script network-bridge-wrapper)

Then create the following custom script named, network-bridge-wrapper,
in the scripts folder:

#!/bin/bash

dir=$(dirname "$0")

"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1

I got this from a Novell support page when I was searching for a
solution to start multiple bridges.

HTH,

Ranbir

> --
> Fedora-xen mailing list
> Fedora-xen@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-xen
-- 
Kanwar Ranbir Sandhu
Linux 2.6.22.14-72.fc6 i686 GNU/Linux 
09:08:07 up 23 days, 10:17, 2 users, load average: 0.07, 0.09, 0.02 


--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux