Am Samstag, den 29.11.2008, 23:06 +0800 schrieb Stephen Liu:
> --- Thomas Halinka <lists@xxxxxxxxx> wrote:
>
> > Am Freitag, den 28.11.2008, 23:46 +0800 schrieb Stephen Liu:
> > > Hi Thomas,
> > >
> > >
> > > > Removing the mac-adress is not a good idea, since xen generates
> > one
> > > > on
> > > > every domu-startup, if this is not defined.
> > > >
> > > > So you will increase your ethX on every domu-startup, because for
> > > > udev
> > > > its a new nic, since it has a new MAC-Adress.
> > >
> > >
> > > I have 19 guests created on the Xen box. Most *.cfg file don't
> > have
> > > MAC-Address, only 2 of them having it.
> >
> > ok, take one of this 17 guests, which has no mac assigned.
> >
> > xm console guestxyz
> > e.g. shows eth0 with MAC-ADRESS_A
> > xm shutdown guestxyz
> > xm create guestxyz
> > no more eth0 is present, since a new mac is assigned.
> > ifconfig -a shows only eth1
> > xm shutdown
> > xm create
> > eth1 is gone, now you have eth2 because mac has changed.
> > and so on....
>
>
> Performed following steps;
>
>
> # xm create /etc/xen/xen1.satimis.com.cfg
> Using config file "/etc/xen/xen1.satimis.com.cfg".
> Started domain xen1.satimis.com
lets have a look at "ifconfig -a | grep Hardware"
>
>
> # xm console xen1.satimis.com
> Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314
.....
> Debian GNU/Linux 4.0 xen1.satimis.com tty1
>
>
> No MAC address found.
each Network-Device has a MAC-Adress!
>
>
> # xm shutdow xen1.satimis.com
> No complaint
>
>
> # nano /etc/xen/xen1.satimis.com.cfg
>
> Can't find MAC address on file
>
>
> # xm create /etc/xen/xen1.satimis.com.cfg
> Using config file "/etc/xen/xen1.satimis.com.cfg".
> StAddarted domain xen1.satimis.com
>
>
> # xm console xen1.satimis.com
> Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314
> (prerelease) (Debian 3.4.3-13)) #1 SMP Fri May 18 16:11:33 BST 2007
> ....
> Debian GNU/Linux 4.0 xen1.satimis.com tty1
>
>
> Also no MAC address found.
ifconfig -a | grep Hardware
again and you will understand... your mac-adress will change on every
start-up so you never get persistant network-settings, since your
network-devices change. on first boot you have eth0, on the next eth1
and so on....
>
>
> B.R.
> Stephen
>
Regards,
Thomas
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|