rlm_passwd - mac2ip

Synopsis

This next section is a sample configuration for the passed module, which reads flat-text files. The file is in the format <mac>,<ip>

Example
00:01:02:03:04:05,192.168.1.100
01:01:02:03:04:05,192.168.1.101
02:01:02:03:04:05,192.168.1.102

This lets you perform simple static IP assignments from a flat-text file. Lease times will have to be defined via another method.

Processing Sections

Any.

Expansions

None.

Directives

delimiter
Syntax

delimiter = string

Default

,

Description

The character that acts as a field separator for the table.

filename
Syntax

filename = string

Default

${confdir}/mac2ip

Description

The name of the file that contains the MAC to IP address mapping.

format
Syntax

format = string

Default

*DHCP-Client-Hardware-Address:=DHCP-Your-IP-Address

Description

The format of the mapping.