-
Notifications
You must be signed in to change notification settings - Fork 6
/
dhcprelya.conf-example
74 lines (70 loc) · 2.63 KB
/
dhcprelya.conf-example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[servers]
# If this section is a first one, [servers] keyword is optional.
#
# If you want to bind specified IP address on interface (in case,
# if there are a few addresses on it) use bind_ip BEFORE server
# specifications. Otherwise first IP address on interfcae will be used.
#bind_ip vlan1 1.1.1.1
#bind_ip vlan2 2.2.2.2
# You can include an external file here (only in this section) where
# specified server-interfases lines.
#file=/path/to/file
# Specify DHCP servers for requests from the interfaces.
# DHCP server may be specified by FQDN or IP.
dhcpserver1 vlan1 vlan2 vlan3
# Use non-standard port for this server. DHCP requests from vlan1 interface
# will copy on both dhcpserver1 and dhcpserver2 (a fault tolerance scheme).
dhcpserver2:1067 vlan1 vlan5
[options]
# These are defaults values
# A maximum packet size 300<=max_packet_size<=1500
#max_packet_size=1400
# A maximum hop counts after a packet will discarded
# 1<=max_hops<16
#max_hops=4
# Per-interface request rate limit (packets in second). 0 - off.
#rps_limit=0
# Look for plugins in this directory
#plugin_path=/usr/local/lib/
#[radius-plugin]
# Servers list
#servers=server1 server2
# Server secret. May be one for all servers otherwise must be specified
# for each server. Error will be rised if secret number is not the same as
# servers number.
#secret=Secret_password ...
# Bind requests to this interface or IP.
#bind_to=if|ip
# Timeout for requests (here and bellow in seconds)
#timeout=5
# Tries bofore a server will marked as dead
#tries=3
# Don't ask dead servers for this period
#dead_time=60
# Send Account-Start to radius (using radius-client library)
#only_for=vlan1 vlan5
#[option82-plugin]
# Activate plugin only for listed interfaces
#only_for=vlan1 vlan2
#drop_untrusted=yes
# List of Remote IDs of trusted circuits
# may be strings or hexadecimal (spaces separated)
# e.g. "host1" "host2" or 0x123123 0x67832673
#trusted_circuits=""
# Could be a string (quoted) or a hexadecimal (0xNNNNNNN)
# default is a hostname of this host. An empty string
# means don't add Remote ID at all.
#remote_id=""
# By default option82 will stripped from server answers
# exclude trusted_circuits
#never_strip_answer=no
#always_strip_anwer=no
# Enable suboption 5 in option 82 (Link Selection, RFC 3527) on client interfaces
# if link selection enabled on interface vlan1, then in all requsest from that
# interface suboption 5 will be inserted with IP address on which dhcprelya is bound
#enable_link_selection_for=vlan1,vlan2
# It's a good idea to place log-plugin the last always. So we can see all results of
# packet procession by preceding plugins.
#[log-plugin]
#detailed=yes
#print_only_incoming=yes