mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
30a96706cb
One can configure the NIC router to act as DHCP server at interfaces of a domain by adding the <dhcp> tag to the configuration of the domain like this: <domain name="vbox" interface="10.0.1.1/24"> <dhcp-server ip_first="10.0.1.80" ip_last="10.0.1.100" ip_lease_time_sec="3600" dns_server="10.0.0.2"/> ... </domain> The attributes ip_first and ip_last define the available IPv4 address range while ip_lease_time_sec defines the lifetime of an IPv4 address assignment in seconds. The IPv4 address range must be in the subnet defined by the interface attribute of the domain tag and must not cover the IPv4 address in this attribute. The dns_server attribute gives the IPv4 address of the DNS server that might also be in another subnet. The lifetime of an offered assignment is the configured round trip time of the router while the ip_lease_time_sec is applied only if the offer is requested by the client in time. The ports/run/virtualbox_nic_router.run script is an example of how to use the new DHCP server functionality. Ref #2490 |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib | ||
mk | ||
ports | ||
recipes | ||
run | ||
src | ||
README |
This directory contains ports of popular 3rd-party applications to Genode. The 'ports' repository follows the line of the 'libports' repository. For instructions about downloading and building 3rd-party applications, please refer to 'libports/README'. Dependencies from other repositories ------------------------------------ Application provided by the 'ports' repository typically expect a rich runtime environment, including shared libraries provided by the 'libports' repository. Hence, 'ports' depends on 'libports'.