userdoc:tt-ext-dhcp-server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
userdoc:tt-ext-dhcp-server [2013/02/13 09:42]
droemel
userdoc:tt-ext-dhcp-server [2013/03/02 07:50]
droemel
Line 1: Line 1:
 ====== DHCP-Server on the external interface (EXTIF) ====== ====== 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:+!!Note: AstLinux 1.1.1 or later is required!!
  
-in ''user.conf'':+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 variable in your ''user.conf'':
  
   EXTDHCP="yes"   EXTDHCP="yes"
  
-If you need a different DHCP range than the default (FIXME), you also need add it to your ''user.conf'':+If you need a different DHCP range than the default (100-220), you also need add it to your ''user.conf'' as usual e.g.:
  
   DHCPRANGE="10:120"   DHCPRANGE="10:120"
    
-If you different DHCP values, you can add them as usual in ''dnsmasq.static''. Example:+If you need other DHCP values that differ from the defaults((look at the "dhcp-options" in "/etc/dnsmasq.conf" in the System Tab)), you can add them as usual in ''dnsmasq.static''. Example:
  
   dhcp-option=ext,option:ntp-server,192.168.30.10   dhcp-option=ext,option:ntp-server,192.168.30.10
Line 17: Line 17:
 **Firewall** **Firewall**
  
-If you use the firewall (AIF), you need to open the respective ports for the services you'd like to allow\\  +If you use the firewall (AIF), you'll 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.+(e.g. TFTP, NTP) with "Pass EXT->Local". DHCP traffic is automatically allowed through the EXTDHCP variable.
  
 + 
 +\\ 
 +
 +!!Note ->!! If you require this feature for an older version of AstLinux, there is also another more **[[userdoc:tt-ext-dhcp-server-old|complicated way]]**.
    
 \\  \\ 
  • userdoc/tt-ext-dhcp-server.txt
  • Last modified: 2013/03/02 07:51
  • by droemel