Example of a dhcp configuration file – Pilz PSSnet SHL 8T MRP User Manual

Page 47

Advertising
background image

Entering the IP Parameters

48

2.6 System Configuration via DHCP

PSSnet SHL - Basic Configuration

Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern

Example of a DHCP configuration file:

# /etc/dhcpd.conf for DHCP Daemon

#

subnet 149.218.112.0 netmask 255.255.240.0 {

option subnet-mask 255.255.240.0;

option routers 149.218.112.96;

}

#

# Host berta requests IP configuration

# with her MAC address

#

host berta {

hardware ethernet 00:80:63:08:65:42;

fixed-address 149.218.112.82;

}

#

# Host hugo requests IP configuration

# with his client identifier.

#

host hugo {

#

option dhcp-client-identifier "hugo";

option dhcp-client-identifier 00:68:75:67:6f;

fixed-address 149.218.112.83;

server-name "149.218.112.11";

filename "/agent/config.dat";

}

Lines that start with a '#' character are comment lines.
The lines preceding the individually listed devices refer to settings that apply
to all the following devices.
The fixed-address line assigns a permanent IP address to the device.
For further information, please refer to the DHCP server manual.

Advertising
This manual is related to the following products: