User Tools

Site Tools


networking:linux:dnsmasq

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
networking:linux:dnsmasq [2013/03/08 15:44]
gcooper
networking:linux:dnsmasq [2015/12/17 20:08] (current)
gcooper
Line 35: Line 35:
 ::1 localhost6.localdomain6 localhost6  ::1 localhost6.localdomain6 localhost6 
  
-192.168.2.2 hostname.domain.tld hostname+192.168.1.2 hostname.domain.tld hostname
 </file> </file>
  
Line 52: Line 52:
  
 ===== Configure dnsmasq ===== ===== Configure dnsmasq =====
 +
 +This is a sample config file and absoultely must be adapted for your network.
  
 <file> <file>
Line 97: Line 99:
 dhcp-option=44,0.0.0.0                       # set WINS dhcp-option=44,0.0.0.0                       # set WINS
 dhcp-option=66,"192.168.1.2"                 # TFTP server dhcp-option=66,"192.168.1.2"                 # TFTP server
-dhcp-option=150,"hostname.domain.tld"       # TFTP server address (Cisco?) +dhcp-option=150,"hostname.domain.tld"        # TFTP server address (Cisco?)
- +
-# Specify boot file and optionally the TFTP server +
-+
-dhcp-boot=/tftpboot/pxelinux.0 # Specify boot file and optionally the TFTP server+
  
 # SRV Records for PBX # SRV Records for PBX
Line 114: Line 112:
 dhcp-host=00:13:20:74:9b:a8,192.168.1.50,mars dhcp-host=00:13:20:74:9b:a8,192.168.1.50,mars
 dhcp-host=00:0e:08:ef:3d:11,192.168.1.56,ata dhcp-host=00:0e:08:ef:3d:11,192.168.1.56,ata
 +
 +# Specify boot file and optionally the TFTP server
 +#
 +#dhcp-boot=/tftpboot/pxelinux.0              # Specify boot file and optionally the TFTP server
  
 ## TFTP Server ## TFTP Server
 # #
-#enable-tftp # enable dnsmasq's built-in TFTP server +#enable-tftp                                 # enable dnsmasq's built-in TFTP server 
-#tftp-root=/var/lib/tftpboot # set the TFTP root directory+#tftp-root=/var/lib/tftpboot                 # set the TFTP root directory
 </file> </file>
  
networking/linux/dnsmasq.1362782669.txt.gz · Last modified: 2013/03/08 15:44 by gcooper