userdoc:tt-ext-dhcp-server

This is an old revision of the document!


DHCP-Server on the external interface (EXTIF)

Since AstLinux version 1.1.1 there is a simple way to use dnsmasq as a DHCP-server on the external interface (EXTIF), or if you have only one NIC (e.g. in a VM), you need to add the following configuration:

in user.conf:

EXTDHCP="yes"

If you need a different DHCP range than the default (100-220), you also need add it to your user.conf:

DHCPRANGE="10:120"

If you need other DHCP values that differ from the defaults, you can add them as usual in dnsmasq.static. Example:

dhcp-option=ext,option:ntp-server,192.168.30.10

Firewall

If you use the firewall (AIF), you need to open the respective ports for the services you'd like to allow
(e.g. DNS, TFTP, NTP) with “Pass EXT→Local”. DHCP traffic is already allowed through the EXTDHCP variable.


Note: If you need this for an older version of AstLinux, there is also another more complicated way.


  • userdoc/tt-ext-dhcp-server.1360770724.txt.gz
  • Last modified: 2013/02/13 09:52
  • by droemel