|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Guest - slow response to keystroke (SOLVED)
--- Thomas Halinka <lists@xxxxxxxxx> wrote:
> 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"
"ifconfig -a | grep Hardware" has no output.
xen1:~# ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:16:3E:21:63:05
Started another guest without shutdown the first guest.
# xm create /etc/xen/xen2.satimis.com.cfg
# ssh xen2.satimis.com
xen2:~# ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:16:3E:38:93:F1
I think "HWaddr 00:16:3E:38:93:F1" is the MAC address which is NOT
fixed. Each time a new MAC address will be alloted after booting the
guest. So we can't set a fixed MAC address on *.cfg file.
> > # 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!
Yes. Even this is an onboard ethernet. It must have MAC address.
On host;
xen0:/home/satimis# ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:0E:A6:F9:A3:5B
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
veth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
veth2 Link encap:Ethernet HWaddr 00:00:00:00:00:00
veth3 Link encap:Ethernet HWaddr 00:00:00:00:00:00
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
vif0.2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
vif0.3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
"HWaddr 00:0E:A6:F9:A3:5B" is the MAC address of the ethernet.
> > # 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....
The ethX number won't change still retaining eth0 on the 2nd guest only
with a new MAC address assigned.
B.R.
Stephen L
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: [Xen-users] Guest - slow response to keystroke., (continued)
- Re: [Xen-users] Guest - slow response to keystroke., Stephen Liu
- Re: [Xen-users] Guest - slow response to keystroke., Thomas Halinka
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Stephen Liu
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Thomas Halinka
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Stephen Liu
- RE: [Xen-users] Guest - slow response to keystroke (SOLVED), Joseph L. Casale
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Thomas Halinka
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Stephen Liu
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Stephen Liu
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED), Thomas Halinka
- Re: [Xen-users] Guest - slow response to keystroke (SOLVED),
Stephen Liu <=
|
|
|
|
|