Okay, so I ended up with this configuration block:
helpers {
bootp {
relay-agent-option;
description "DHCP Relay";
server 192.168.6.19;
maximum-hop-count 10;
minimum-wait-time 0;
client-response-ttl 20;
interface {
vlan.1305;
}
}
}
I followed the guide suggested by Lyndidon but kind of sticked with the defaults. I assumed that:
- server is the DHCP server that should get the requests in the end.
- interface are the network interfaces from which DHCP requests can come from and should be forwarded to the server.
- minimum-wait-time is the time the relay waits before forwarding the DHCP request to the targeted server, thus i set it fairly low to prevent unnecessary wait (i suppose this can be used to prevent spamming the server with DHCP requests right?).
- maximum-hop-count and client-response-ttl seem to be quite the same to me so if anyone can provide some input on those, that'd be wonderful.
I've not tryed the config in production yet (as the DHCP clients are not yet plugged in in the network) i'll post back if it doesn't work 🙂
Thanks for the help anyway!
EDIT:
Okay, so i looked around in Juniper's documentation and i found out that you can select the JunOS version for a guide. The guide I mentioned earlier about the extended relay server is also available for JunOS 12.3 (and 12.1 by the way). I come to the conclusion that what I wrote earlier should definitely be working on my switch. I really don't get it...
https://www.juniper.net/techpubs/en_US/junos12.3/topics/task/configuration/dhcp-extended-relay-server-cli.html
Here are the software versions of the switch:
root@xxxxx> show version
fpc0:
--------------------------------------------------------------------------
Hostname: xxxxx
Model: ex3300-24t
JUNOS Base OS boot [12.3R3.4]
JUNOS Base OS Software Suite [12.3R3.4]
JUNOS Kernel Software Suite [12.3R3.4]
JUNOS Crypto Software Suite [12.3R3.4]
JUNOS Online Documentation [12.3R3.4]
JUNOS Enterprise Software Suite [12.3R3.4]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R3.4]
JUNOS Routing Software Suite [12.3R3.4]
JUNOS Web Management [12.3R3.4]
JUNOS FIPS mode utilities [12.3R3.4]