[Gllug] Xen and bridging
Daniel P. Berrange
dan at berrange.com
Tue May 16 14:22:08 UTC 2006
On Tue, May 16, 2006 at 02:33:58PM +0100, Adrian McMenamin wrote:
> On Tue, May 16, 2006 1:14 pm, Daniel P. Berrange said:
> >>
> > Basically Xen creates one or more virtual interfaces in Dom0 for each
> > guest OS that runs. These are referred to as vif0, vif1, etc in the
> > host OS, or just plain eth0 in the guest OS. In a pure bridging mode,
> > the vifX devices will be connected straight to the host's real eth0
> > device, so packets to/from the guest go to/arrive from the physical
> > network without the dom0's network stack really getting involved. So
> > if you have DHCP on your LAN, the guests will auto-assign themselves
> > IP addr in the normal manner.
> >
>
> Well, I read that somewhere but didn't quite believe it - I assumed some
> automagical step had been left out :) The wonders of Linux!
>
> So do these virtual devices also have virtual NIC hardware addresses - so
> I can assign what my router calls static DHCP?
Yes, in Fedora the xenguest-install.py script used to create domains will
give each virtual NIC a unique MAC address. You won't see these MAC address
on the vifX interfaces created in Dom0, but if you look at the virtual
eth0 in your DomU guest OS, the MAC should be visible.
Dan.
--
|=- GPG key: http://www.berrange.com/~dan/gpgkey.txt -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- berrange at redhat.com - Daniel Berrange - dan at berrange.com -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060516/063f8912/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list