Sample dhcpd.conf File - IMG 1004

The following is a sample dhcpd.conf file. If you do not have access to the xldhcp script, you must modify this file manually. Modify the lines in bold according to your particular network settings.

 

 

#################################################################

# File: dhcpd.conf

# Generated by: xldhcp Revision: 1.4

# Dialogic Corporation, Inc. 11/11/09_09:13:42

# Customer Technical Support: www.dialogic.com

#################################################################

ddns-update-style ad-hoc;

# which logfile group... log to /var/log/messages

LogFile = messages;

allow bootp;

# declare global vender options

option Host_1010_Flag code 134 = signed integer 32;

option Host_1004_Flag code 134 = signed integer 32;

#Calculate boot flag by adding values based on desired system attributes

#For a T1 system: add 0

#For a E1 system: add 2

#To boot from FTP server: add 0

#To boot from SD Card: add 32

#For LBR Codecs (512 ch/mod): add 0

#For LBR + AMR codecs (480 ch/mod): add 8

#For LBR + ILBC codecs (336 ch/mod): add 16

#For LBR + ILBC codecs + wireless codecs (336 ch/mod): add 24

# option routers is the same as the default gateway

option routers 192.168.1.1; (Default Gateway)

option subnet-mask 255.255.255.224; (Default Gateway Subnet Mask)

# subnet IP address  usually default gateway address minus 1

subnet 192.168.1.0 netmask 255.255.255.224 (Usually Default Gateway minus 1)

{

  host IMG_CPU1_0

    {

      hardware ethernet 00:20:1c:00:00:00; (MAC ADDRESS OF CTRL PORT)

      fixed-address 192.168.1.5; (IP Address being configured on IMG CTRL Port)

      # ftp server name (IP Address of the LINUX PC running FTP)

      next-server 192.168.1.100; (IP Address of Server that IMG will get system software from)

      # IMG bin file (software load)

      filename "ftpBuilds/img1004_id0106.bin";

      option Host_1004_Flag 0; (Configured Host Flag which is precalculated due to codecs etc being configured)

    }