[CVALE] kvm networking

Patrick Bennett stnick at bennettbungalow.com
Fri Nov 6 14:29:02 PST 2009


I know, it's a terrible choice of names, isn't it.  I think it stands 
for "kernel virtual machine" - a new kernel module that provides 
linux-kernel-native vmware-like capabilities.

It doesn't have to NAT, it can be a simple routed subnet also, however 
NAT is the default, I think.  Any way, if "bridging the guest's NIC to 
the host's NIC", for me, has not been all that simple.  However, I 
finally did revisit this page 
https://help.ubuntu.com/community/KVM/Networking and managed to get it 
working .... the info there is /almost/ right (for my setup anyway), and 
after a bit of struggle I did get it working!  Still no dhcp on the 
guest though - only static ip's are working - I'll cross this bridge 
later.  Perhaps when I have some time I'll write a little how to.

Thanks Ian for sending me back to the drawing board with a fresh 
outlook, sometimes that's exactly what I need.

   -Patrick



Ian Sterling wrote:
> Wouldn't you do this just by bridging the guest's NIC to the host's
> NIC?  From what you're saying here, looks like that app is NAT'ing its
> guest systems...  (BTW, the only kvm I know of is
> Keyboard-Video-Mouse, so I'm not sure exactly what you're talking
> about here...)
>
> --Ian...
>
> On Fri, Nov 6, 2009 at 12:16 AM, Patrick Bennett
> <stnick at bennettbungalow.com> wrote:
>   
>> Can anyone out there give me a tip or point me to some online tutorials
>> on how to make a kvm guest's network interface communicate on the same
>> subnet as the host's lan (eg. local subnet is 192.168.1.0/255.255.255.0,
>> host is 192.168.1.100, guest is 192.168.1.101)?  VMWare is able to do
>> this with relative ease of setup, however all the documentation I've
>> been able to find for kvm assumes the guests will be on a seperate and
>> distinct subnet and gives no hints of how to do it any other way.  Thanks!
>>
>>    -Patrick
>>
>>
>> _______________________________________________
>> cvale mailing list
>> cvale at lists.fire2wire.com
>> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>>
>>     
>
> _______________________________________________
> cvale mailing list
> cvale at lists.fire2wire.com
> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>   




More information about the cvale mailing list