[Fedora-xen] Fedora 7 - missing dummy interfaces

David Mueller dsm717 at gmail.com
Fri Aug 24 00:30:57 UTC 2007


/usr/bin/qemu-kvm

While I'm at it, anyone know how to keep Fedora 7 from trying to do
DHCP?  It's slowing down the guest VM boot time considerably as it has
to wait for DHCP timeout to proceed.  Three times since there are
three interfaces.  The interfaces will have their proper IP addresses
assigned later.

- David

On 8/23/07, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Thu, Aug 23, 2007 at 04:17:55PM -0700, David Mueller wrote:
> > I'm making progress, but I've run into a couple issues.  I've created
> > the following three xml files for the three networks (I'm only
> > worrying about one of the virtual machines now; once I get it working
> > I should be able to replicate it for the other):
> >
> > <network>
> >   <name>emu0</name>
> >   <uuid>8d18febd-e295-4e67-9373-a8b2a5855e60</uuid>
> >   <bridge name='emubr0' stp='on' forwardDelay='0' />
> >   <ip address='128.10.0.253' netmask='255.255.255.0' />
> > </network>
> >
> > <network>
> >   <name>emu2</name>
> >   <uuid>8d18febd-e295-4e67-9373-a8b2a5855e62</uuid>
> >   <bridge name='emubr2' stp='on' forwardDelay='0' />
> > </network>
> >
> > <network>
> >   <name>emu3</name>
> >   <uuid>8d18febd-e295-4e67-9373-a8b2a5855e63</uuid>
> >   <bridge name='emubr3' stp='on' forwardDelay='0' />
> > </network>
> >
> > emu2 and emu3 networks I didn't assign an IP address to since the host
> > doesn't need one; they will be exclusively for VM to VM communcation.
> > emu0 (and in the future emu1) will be used for communication between
> > host and VM -- each will be a different subnet.
> >
> >
> > The first problem is that I can't get the guest VM to communicate with
> > the host.  I assign an address to the interface with this command:
> >
> > # /sbin/ifconfig eth0 128.10.0.1/24 up
> >
> > Then I attempt to ping the host, but get an error message Destinamtion
> > Host Unreachable.  The same happens if I try to ping the guest from
> > the host.
>
> I suspect this is due to the next problem you mention...
>
> > I did notice an additional oddity.  While the three interfaces all
> > show their correct MAC addresses in the Hardware tab of the Virtual
> > Machine Details tab, if I run ifconfig within the guest, all three
> > show the same address, 1E:11:11:11:11:12 (which should be eth2's MAC
> > address).
>
> Is this with QEMU, or KVM ?  Ie is it running /usr/bin/qemu-kvm, or the
> regular qemu binary. There was a bug where all NICs got the same MAC
> address
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=247641
>
> IIRC we've only fixed KVM so far.
>
> Dan.
> --
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496
> -=|
> |=-           Perl modules: http://search.cpan.org/~danberr/
> -=|
> |=-               Projects: http://freshmeat.net/~danielpb/
> -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505
> -=|
>




More information about the Fedora-xen mailing list