Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread Veiko Kukk
On 05/25/2010 04:34 PM, Kenni Lund wrote:
> - 1 public IP for the host (xxx.yyy.zzz.215) on a /32 subnet with
> xxx.yyy.zzz.193 as gateway

Is it typo?
There can be no subnet with /32 bit mask, it's single host only.

-- 
veiko
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread Aleksei Miheev
В Thu, 27 May 2010 10:40:30 +0300
Veiko Kukk  пишет:

> On 05/25/2010 04:34 PM, Kenni Lund wrote:
> > - 1 public IP for the host (xxx.yyy.zzz.215) on a /32 subnet with
> > xxx.yyy.zzz.193 as gateway
> 
> Is it typo?
> There can be no subnet with /32 bit mask, it's single host only.
> 

Actually, it is possible:

ip addr add xxx.yyy.zzz.215/32 dev eth0
ip route add xxx.yyy.zzz.193 dev eth0
ip route add default via xxx.yyy.zzz.193
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread Veiko Kukk
On 05/27/2010 12:21 PM, Aleksei Miheev wrote:
>> Is it typo?
>> There can be no subnet with /32 bit mask, it's single host only.
>>
>
> Actually, it is possible:
>
> ip addr add xxx.yyy.zzz.215/32 dev eth0
> ip route add xxx.yyy.zzz.193 dev eth0
> ip route add default via xxx.yyy.zzz.193

Of course you can do that, but it wouldn't a *subnet*. Net like network, 
system consisting of several units.
I rest my case.

--
Veiko
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] How to connect a guest to a fixed routable address?

2010-05-27 Thread James B. Byrne

On Wed, May 26, 2010 18:34, compdoc wrote:

> are other ways to do things. But I found bridges to be the best\
> way to go for attaching to the lan or wan, and virtual nets are
> great for guest-to-guest, or guest-to-server communication.
>
> A bridge lets several guests share one nic, but they can also be
> used to assign one guest to one nic. There is no magic involved,
> however - if you have too many guests sharing one network card,
> you're going to develop a bottleneck.

Thank you.  I have configured a bridge on that server and assigned
eth0 to it.  This a desktop development machine begin used to show a
proof of concept so adding another NIC is a frill that will not be
contemplated.

I am presently installing another guest that is using the eth0
directly.  I will see how that goes with respect to network
connectivity.

Can anyone explain to me the significance of tunctl and its relation
to virtual machines.  It seems quite important from what I have read
but tactual documentation on what it is and why or when  or how you
should use it is a bit sparse.


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread Kenni Lund
2010/5/27 Veiko Kukk :
> On 05/27/2010 12:21 PM, Aleksei Miheev wrote:
>>> Is it typo?
>>> There can be no subnet with /32 bit mask, it's single host only.
>>>
>>
>> Actually, it is possible:
>>
>> ip addr add xxx.yyy.zzz.215/32 dev eth0
>> ip route add xxx.yyy.zzz.193 dev eth0
>> ip route add default via xxx.yyy.zzz.193
>
> Of course you can do that, but it wouldn't a *subnet*. Net like network,
> system consisting of several units.
> I rest my case.

Well, it is a subnet, it has just only got one host in it. I wrote it
because the question is about routing, so it's quite relevant that the
IP-addresses are not on the same subnet.

No one with any clues on what to test / look into? :-/

Best Regards
Kenni
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Libvirt NAT-based network 2x-4x faster than Libvirt routed network?

2010-05-27 Thread compdoc
Maybe the part about netfilter?

http://wiki.libvirt.org/page/Networking


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] 4 CPU with WinXP on Centos 5.5 KVM?

2010-05-27 Thread Marcelino Mata
Has anyone had any success getting WinXP 32bit to use 4 CPU's under
Centos 5.5 KVM?
 
I have tried everything and the best I can get is 2 CPU's.  I tried
everything listed here
http://www.linux-kvm.com/content/running-windows-smp-guests  I am using
the VIRTIO drivers.
 
Is this known limitation of KVM-83-164 (Centos5 release) with WinXP
32bit?  I think there are reports of it working with 32bit Windows 2003
(or was it Windows 2008?).
 
I know KVM is granting the 4 CPU's since Linux VM can use 4 CPU's on the
same computer.
 
Thanks,
 
Marcelino



 
 

Marcelino Mata
Engineering Technology Specialist
Multimatic Technical Centre
85 Valleywood Drive
Markham, ON
Canada
L3R 5E5
Tel.   +1 905 470 0025

 
 
 
CONFIDENTIALITY NOTE: This email (and attachments, if any) contain(s) 
information that is PRIVATE and CONFIDENTIAL, and may be LEGALLY PRIVILEGED or 
otherwise exempt from disclosure under applicable law. All copyright is 
reserved, and no right or license is granted to duplicate or publish the 
content of this email or to forward it to third parties, without, in each case, 
specific permission. If you have received this email in error, you must not 
copy, distribute, retain or use this email or the information contained in it 
for any purpose (other than to notify the sender). If you believe that you are 
not the intended recipient of this email, please contact the sender immediately 
and delete this email from your computer system (including any archive or other 
storage facilities). Thank you.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] 4 CPU with WinXP on Centos 5.5 KVM?

2010-05-27 Thread R-Elists
 
> 
> Has anyone had any success getting WinXP 32bit to use 4 CPU's 
> under Centos 5.5 KVM?
>  
> I have tried everything and the best I can get is 2 CPU's.  I 
> tried everything listed here 
> http://www.linux-kvm.com/content/running-windows-smp-guests  
> I am using
> the VIRTIO drivers.
>  
> Is this known limitation of KVM-83-164 (Centos5 release) with 
> WinXP 32bit?  I think there are reports of it working with 
> 32bit Windows 2003 (or was it Windows 2008?).
>  
> I know KVM is granting the 4 CPU's since Linux VM can use 4 
> CPU's on the same computer.
>  
> Thanks,
>  
> Marcelino

Marcelino,

TTBOMK winxp is only going to support 2 physical cpus unless you have a
special winxp license that we have not experienced

we have never seen more than a 1 or 2 physical cpu version of winxp

eh ?

 - rh 

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] 4 CPU with WinXP on Centos 5.5 KVM?

2010-05-27 Thread compdoc
I think he means cores. And XP will see and use 4 cores.

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt