Hint, Example – Westermo RedFox Series User Manual
Page 498

Westermo OS Management Guide
Version 4.17.0-0
DHCP server process.
Below (
) sample configurations for the DHCP server and DHCP relay
agent units are shown. The CCTV connected to port 1
of the (non-snooping)
relay agent should be assigned IP address 10.1.1.44/24.
Hint
An alternative approach is to let the DHCP server listen to a non-default UDP
port, see
. Then the DHCP relay agent must be configured to
send to this UDP port when relaying packets to the server.
Example
-- DHCP Server Unit (IP 10.1.1.1/24)
dhcp-server
subnet 10.1.1.0/24
pool 10.1.1.100 10.1.1.199
lease-time 864000
netmask 255.255.255.0
gateway 10.1.1.1
no domain
end
host 1
match option82 circuit-id string "Eth1" remote-id string "10.1.1.2"
address 10.1.1.44
end
end
dhcp-relay
iface vlan1
server 127.0.0.1
option82 discard
remoteid-type ip
port 6
option82 require
end
end
-- DHCP Relay Agent Unit (IP 10.1.1.2/24)
dhcp-relay
iface vlan1
server 10.1.1.1
option82 discard
remoteid-type ip
end
4
If the relay agent unit is a RedFox Industrial, the port labels would be written in slot/id form (1/1,
1/2, etc.). The server configuration would then reflect this, e.g., ”match option82 circuit-id
string "Eth1/2" remote-id string "10.1.1.2"” if the CCTV is connected to port 1/2.
498
➞ 2015 Westermo Teleindustri AB