blob: 5d646afdfefccd14ae7c1879374113f39c28d5aa [file] [log] [blame]
Chetan Gaonker7f4bf742016-05-04 15:56:08 -07001# -*- text -*-
2#
3# $Id: a4ead1d64e8220344b483718ece4712bef5e9e36 $
4
5######################################################################
6#
7# This next section is a sample configuration for the "passwd"
8# module, that reads flat-text files.
9#
10# The file is in the format <mac>,<ip>
11#
12# 00:01:02:03:04:05,192.0.2.100
13# 01:01:02:03:04:05,192.0.2.101
14# 02:01:02:03:04:05,192.0.2.102
15#
16# This lets you perform simple static IP assignments from a flat-text
17# file. You will have to define lease times yourself.
18#
19######################################################################
20
21passwd mac2ip {
22 filename = ${modconfdir}/${.:name}/${.:instance}
23 format = "*DHCP-Client-Hardware-Address:=DHCP-Your-IP-Address"
24 delimiter = ","
25}