------------------------------------------------------------------------------Hi Peter,
Peter Nguyen <peter.nguyen@...35...> hat am 2. Juni 2010 um 14:18 geschrieben:
> BTW, this is the output from dhcpd3.
>
> Wrote 2 leases to leases file.
> Listening on LPF/tap0/de:64:1c:dc:00:f4/10.0.0/24
> Sending on LPF/tap0/de:64:1c:dc:00:f4/10.0.0/24
> Sending on Socket/fallback/fallback-net
> DHCPDISCOVER from 52:54:00:12:34:56 via tap0
> DHCPOFFER on 10.0.0.17 to 52:54:00:12:34:56 via tap0
> DHCPREQUEST for 10.0.0.17 (10.0.0.1) from 52:54:00:12:34:56 via tap0
> DHCPACK on 10.0.0.17 to 52:54:00:12:34:56 via tap0
>That looks weird :)I've invoked a google query on 52:54:00:12:34:56, and it turned out, that this is a default MAC address qemu uses when nothing else has been defined.
I don't really want to wander from the subject, but perhaps you could try out a newer/ different qemu version since I've experienced that many versions have more or less small quirks.
In my setup, I used 0.11.50 which worked more or less well, git should be at 0.12.something meanwhile.
> Also, this is the command i used to execute the web server via qemu:
>
> sudo qemu -m 128 -serial stdio -no-kqemu -hda c.img -net nic,model=pcnet -net
> tap,ifname=tap0,macaddr=00:81:71:61:51:41,script=no,downscript=no
>
> It seems to me that the dhcp output is always the same, even if i use the
> "02-00-00-00-00-01" mac address.
>
> Peter
>
>
> Quoting "mx@...19..." <mx@...19...>:
>
> > Hi Peter,
> > Â
> > I'm not sure if I've got your setup right or not.
> > Â
> > You have a host operating system (guess linux) with two qemu instances, one
> > running Windows XP and the other running genode with the webserver.
> > Â
> > Your host system also runs a dhcp server which assigns the same ip address to
> > both qemu instances.
> > Â
> > This assignment could be caused by the fact that both qemu instances have the
> > same mac address.
> > Â
> > The 10.02 release notes state that the nic driver "fakes an ethernet NIC with
> > the MAC address 02-00-00-00-00-01". Where could that MAC address come from?
> > The
> > driver obtains it from qemu in dde_tx_handler:
> > Â
> > dde_linux26_net_get_mac_addr(1, (unsigned char*)_mac_addr.addr);
> > Â
> > Â
> > This schould be exactly that MAC address you shoud have configured when
> > starting
> > up qemu (did you?):
> > Â
> > This could look like "-net nic,model=pcnet,macaddr=00:81:71:61:51:41"
> > Â
> > Perhaps you forgot this step?
> > Â
> > If you haven't, it would be helpful if you provided a Wireshark trace taken
> > from
> > your tap interface.
> > Â
> > Cheers
> > Â
> > Sven
> > Â
> >
> > Peter Nguyen <petern@...34...> hat am 2. Juni 2010 um 05:04
> > geschrieben:
> >
> > > Hi,
> > >
> > > I was just wondering in using TAP with the HTTP server (and following
> > > the instructions in the genode 10.02 documentation), i've noticed that
> > > when i have multiple connections to the server, whereby i have a windows
> > > xp virtual machine making requests to the server in addition to the host
> > > operating system (the XP vm is running in qemu as well as the web
> > > server), the IP addresses that the web server obtains are always the
> > > same regardless of the machine making the requests. Does anyone know how
> > > to provide unique IP addresses for each VM ie. is there an option i
> > > can/need to specify when i run qemu? or is there something i have to do
> > > with dhcpd3 or the conf,pid or lease files to ensure this functionality.
> > >
> > > Thanks
> > > Peter
> > >
> > >
> > ------------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Genode-main mailing list
> > > Genode-main@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/genode-main
> > Â
> > --
> > Sven Fülster
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Genode-main mailing list
> Genode-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
--
Sven Fülster
_______________________________________________
Genode-main mailing list
Genode-main@...45...ourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main