RE: Fedora 7 - missing dummy interfaces

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

 



David, The configuration has changed quite a bit between F5 and F7.  I've
found that there is not much you can do unless you go "virsh dumpxml ...".
In my experimentation, I made the most progress when I defined the device
with dummy data in the GUI version. I could then dump the result out and
make changes in the xml template I got. Finally I would reload by "virsh
define ...". Hope this helps. -- Per

-----Original Message-----
From: fedora-xen-bounces@xxxxxxxxxx [mailto:fedora-xen-bounces@xxxxxxxxxx]
On Behalf Of David Mueller
Sent: Tuesday, August 21, 2007 10:07 AM
To: fedora-xen@xxxxxxxxxx
Subject:  Fedora 7 - missing dummy interfaces

I'm trying to move from Fedora Core 5 to Fedora 7.  I've run into an
issue where the xen guests, which need several bridged interfaces
bound to dummy devices so they can communicate with each other
(similar to host-only networking with VMWare), won't boot.  I think
I've traced the problem to a lack of the dummy1, dummy2, and dummy3
devices, and I'm not sure how to fix it.  What I'll describe below is
the setup that worked in Fedora Core 5:

I used the following custom network-bridge script:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=dummy0
"$dir/network-bridge" "$@" vifnum=1 netdev=dummy1
"$dir/network-bridge" "$@" vifnum=2 netdev=dummy2
"$dir/network-bridge" "$@" vifnum=3 netdev=dummy3

And the following line was used in the .xen files passed to xm create:

vif = ['mac=2E:22:22:22:22:20,bridge=xenbr1',
'mac=2E:22:22:22:22:21,bridge=xenbr2',
'mac=2E:22:22:22:22:22,bridge=xenbr3']

Running the script resulted in the following:

Using config file "./guest1.xen".
Error: Device 0 (vif) could not be connected. Could not find bridge
device xenbr1

If I try to run the custom network-bridge script manually passing the
"start" command I get several errors:

Device "dummy1" does not exist.
usage: ifdown <device name>
Device "dummy1" does not exist.
Cannot find device "dummy1"
SIOCGIFFLAGS: No such device
Device "dummy2" does not exist.
usage: ifdown <device name>
Device "dummy2" does not exist.
Cannot find device "dummy2"
SIOCGIFFLAGS: No such device
Device "dummy3" does not exist.
usage: ifdown <device name>
Device "dummy3" does not exist.
Cannot find device "dummy3"
SIOCGIFFLAGS: No such device

Any ideas on how to get this working would be greatly appreciated.

- David

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


--
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