OPNsense Forum
Archive => 18.1 Legacy Series => Topic started by: namezero111111 on February 11, 2018, 05:42:00 pm
-
Dear folks,
We would like to add a static ARP entry to OPNsense for multicast.
There is only an option on DHCP, but we don't use DHCP.
Is there a way via the GUI to add a static IP <=> ARP entry that we have missed?
Thanks in advance!
-
I have the exact same issue. Did you find a solution for this..?
I am currently looking at doing it in the shell with standard freebsd settings
-
Hi foss,
FreeBSD supports the following:
In /etc/rc.conf, add the lines:
static_arp_pairs="mypair1 secondpair"
static_arp_mypair2="192.168.1.1 01:00:5E:7F:03:93"
static_arp_secondpair="192.168.1.2 11:54:33:A9:BB:7D"
You can add as many pairs here as you like in the same format.
Then, run
service static_arp restart
This will survive both reboots and link cycles!
-
Thanks that did the job ;)
Also found this link very helpful - https://unix.stackexchange.com/questions/432146/freebsd-static-arp-entry-when-link-cycles