* [Qemu-devel] Networking problem
@ 2011-09-28 13:18 Giovanni Formisano
2011-09-28 21:52 ` Giovanni Formisano
2011-09-29 3:38 ` Mulyadi Santosa
0 siblings, 2 replies; 3+ messages in thread
From: Giovanni Formisano @ 2011-09-28 13:18 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1623 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Networking problem
2011-09-28 13:18 [Qemu-devel] Networking problem Giovanni Formisano
@ 2011-09-28 21:52 ` Giovanni Formisano
2011-09-29 3:38 ` Mulyadi Santosa
1 sibling, 0 replies; 3+ messages in thread
From: Giovanni Formisano @ 2011-09-28 21:52 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]
On Wed, Sep 28, 2011 at 3:18 PM, Giovanni Formisano <
giovanni.formisano@gmail.com> wrote:
> 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
>
[-- Attachment #2: Type: text/html, Size: 1970 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Networking problem
2011-09-28 13:18 [Qemu-devel] Networking problem Giovanni Formisano
2011-09-28 21:52 ` Giovanni Formisano
@ 2011-09-29 3:38 ` Mulyadi Santosa
1 sibling, 0 replies; 3+ messages in thread
From: Mulyadi Santosa @ 2011-09-29 3:38 UTC (permalink / raw)
To: Giovanni Formisano; +Cc: qemu-devel
Hi...
On Wed, Sep 28, 2011 at 20:18, Giovanni Formisano
<giovanni.formisano@gmail.com> wrote:
> 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
I couldn't recall exact parameter, but the thing is your need to make
of your nic of your workhead stays at the same VLAN as the worknode.
Check the qemu doc on how to setup vlan....
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-29 3:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 13:18 [Qemu-devel] Networking problem Giovanni Formisano
2011-09-28 21:52 ` Giovanni Formisano
2011-09-29 3:38 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).