Configuring the TAP version of the HTTP server

Peter Nguyen peter.nguyen at ...29...
Tue Feb 23 04:10:42 CET 2010


OK, so now i've got the server up and running, and I can use the local 
web browser to access the address However, I was under the 
impression that this IP address could be accessed by other machines. Am 
I right in saying this? Or is access to this server only restricted to 
other qemu instances?


Christian Helmuth wrote:
> Hello Peter,
> On Mon, Feb 22, 2010 at 11:29:38AM +1030, Peter Nguyen wrote:
>> Is anyone able to give me some pointers on how to set up the TAP version 
>> of the HTTP server? My knowledge on setting up such things is not that 
>> good. More specifically, I'm unsure as to what do for setting up the 
>> DHCP server step stated in the following link:
> I also discovered this deficiency in the documentation while writing a
> section of the release notes for Genode 10.02. The information
> regarding your question is:
>   [...] Therefore, the device has to be configured prior to running
>   Genode like the following.
>   ! sudo tunctl -u $$USER -t tap0
>   ! sudo ip link set tap0 up
>   ! sudo ip address add brd + dev tap0
>   Give it a try with the lwIP example scenario. Please note that lwIP
>   is configured for DHCP and does not assign a static IP configuration
>   to its end of the wire. Hence, you should run a DHCP server on
>   tap0, e.g.
>   ! sudo /usr/sbin/dhcpd3 -d -f -cf /tmp/dhcpd.conf -pf /tmp/ -lf /tmp/ tap0
>   An example 'dhcpd.conf' may look like
>   ! subnet netmask {
>   !   range;
>   ! }
>   The DHCP server's log will show you that the driver fakes an
>   ethernet NIC with the MAC address 01:02:03:04:05:06.
> Happy Hacking

More information about the users mailing list