Hy all.

I have a problem to configure the network i will try to explain may trouble.
I have to make a cluster of virtual machine with one Head node and N
worknode. I used a kvm and qemu. Now I want that when I start my HeadNode
this one have to send the ip of other machine.
My Headnode have two network device one of this is connect to tap interface
of guest machine and the other one I would use to configure my dhcp-server
that send ip. Above I print my file interface of headnode:

auto eth2
iface eth2 inet static
        address 192.168.2.2
        netmask 255.255.255.0
        broadcast 192.168.2.255
        gateway 192.168.2.1 (that is the ip of tap0 device)

auto eth7
iface eth7 inet static
        address 10.0.2.254
        netmask 255.255.255.0
        broadcast 10.0.2.255
        network 10.0.2.0

but when i start my worknode it doesn't get the ip

I launch in this way the machine

HEADNODE
qemu-system-x86_64 -hda HeadNode.img -m 1024 -net
nic,model=virtio,macaddr=00:16:3e:75:09:aa -net tap,ifname=tap0,script=no
-vga vmware -net nic,model=rtl8139,macaddr=00:16:3e:74:08:ac

WORKNODE
qemu-system-x86_64 -hda WORKNODE.img -m 1024 -net
nic,model=rtl8139,macaddr=F0:4D:A2:DA:D6:79 -vga vmware

Some help?

Best
Giovanni

Reply via email to