Targa Systems Division
S4 Ethernet NAS DTS Installation Guide
32003272-1 Rev 5
D
DHCP Control File “dnsmasq.conf”
The dnsmasq.conf file is a user created and controlled file that must be located
on DTD # 1 in the root directory (/dtd/a/part1). The format of the file is as follows:
# Configuration file for dnsmasq
# Edited for use in Targa Systems Series 4 Ethernet DTU
#
# Dynamic range
#
# This is default pool of addresses that are assigned to
# DHCP clients who ask for an address. The arguments
# are comma separated:
#
# arg1: ip address. Lowest address in the pool.
# arg2: ip address. Highest address in the pool.
# arg3: length of the lease
#
# You *must* define at least one dhcp-range, even if you
# don't intend to hand out dynamic addresses. Setting
# lowest and highest IP Address to the same address is
# sufficient.
#
dhcp-range=192.168.2.10,192.168.2.20,infinite
dhcp-range=192.168.3.10,192.168.3.20,infinite
# Static IP addresses only
#
# To give a client with a specific MAC address a static
# IP address use this dhcp-host line:
# Static IP Address must be outside the Dynamic Range
#
dhcp-host=11:22:33:44:55:66,192.168.2.5
#
# The static IP Addresses must be in the subnets addressed
# by the DTUs ethernet interfaces
#
# Static IP address and BOOTP Client using netboot
#
# To get a BOOTP client to tftp/net boot a label must be assigned.
# Then a dhcp-boot line specifies the file, boot host and the IP
# address of the boot host.
# Note: only 1 dhcp-host assignment per MAC address
#
dhcp-host=00:11:d8:85:11:83,192.168.2.4,net:seaking
dhcp-boot=net:seaking,/dtd/a/part1/kern,dtu,192.168.2.104
#
# In the above example:
#
# 00:11:d8:85:11:83
- The client's MAC Address
# 192.168.2.4
- The static address assigned to the client
# net:seaking
- A label. It must be unique.
# /dtd/a/part1/kern
- full path name to the bootfile for the client
# dtu
- The name of the boot server
# 192.168.2.104
- The IP Address of the 'dtu' boot server
#
# Options that should not be changed:
no-resolv
no-poll
no-hosts
dhcp-leasefile=/var/run/dnsmasq.leases
log-queries
47