1
High availability / Re: Renaming interfaces on HA failover machine after reboot
« on: October 12, 2021, 05:23:03 pm »
Figured I'd update with how I got it done:
Started with this linkhttps://www.steinkogler.org/2021/08/05/renaming-pfsense-interfaces/, which shows how to do it on pfSense. However, this did not work on opnSense. It did lead to this link https://docs.opnsense.org/development/backend/autorun.html, which tells us to put a file in the early folder. In that file, I put this.
Thanks!
Nick
Started with this linkhttps://www.steinkogler.org/2021/08/05/renaming-pfsense-interfaces/, which shows how to do it on pfSense. However, this did not work on opnSense. It did lead to this link https://docs.opnsense.org/development/backend/autorun.html, which tells us to put a file in the early folder. In that file, I put this.
Code: [Select]
#!/bin/sh
ifconfig <oldwanname> name <newwanname>
ifconfig <oldlanname> name <newlanname>
You'll then want to modify the file `/conf/config.conf` and update the interface names in there to the new ones, and then perform a reboot.Thanks!
Nick