Hello,
i have a question on how to configure the startup of a Debian Squeeze VM (with a Fully automated Install ("FAI") -Server) properly:
That virtual machine should start with two network interfaces:
eth0 (guest) should get its ip-adress from the host with dhcp and it should be possible to ping the virtual machine's eth0 from the host
eth1 (guest) should be a "private" network, in the kvm-guest there will a a dhcp server running on that interface. So it should be possible to request an ip adress with another virtual machine sharing that network. And it should not be possible, to ping that interface from the host.
I have tried several configuartions but none if them were successfull, it's just some misconfiguration of the -net Parameters, i guess.
My last try, for the Server:
qemu -M pc -hda /home/robert/Virtuelle_Maschinen/KVM_Debian_32bit.img -m 512 -net nic,vlan=0,macaddr=fe:54:00:5a:71:a1 -net user -net nic,macaddr=00:00:00:00:00:01 -monitor pty -boot c
With that command, the VM gets an ip-Adress from the host (Ubuntu 11.04), but i can't ping the VM.
In the server, eth0 is configured to get its adress via dhcp, and eth1 has a static network adress. Both interfaces are started, when the VM comes up.
Has also anybody a suggestion, on how to call the Client (another VM) properly? The client should get its IP-Adress from the Server's eth1 ...
Sorry, i'm not really an expert in network issues ...
Thanks in advance for any useful help.
robp
Not yet, but I am attempting this at this point in time.
how many nic's do you have ??
Post new comment