OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of sylvyrfysh »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - sylvyrfysh

Pages: [1]
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.
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

2
High availability / Renaming interfaces on HA failover machine after reboot
« on: October 12, 2021, 04:54:50 am »
Hey all,

I am trying to get HA working with two boxes that are different. One is a high performance router that is the primary, and the second is a VM on an internal server. I have been able to get HA working with proper rule replication if i run the command
Code: [Select]
ifconfig vtnet1 name igb0
ifconfig vtnet0 name igb1
As this switches the VM's interfaces to have the same interface names as the primary box. I tried following the guide here https://forums.freebsd.org/threads/freebsd-network-interface-names.2540/, but the names are not picked up on startup. I then tried moving that file to /usr/local/etc, as that is where opnSense seems to want to pick up its rc files, but that also did not work.

Any ideas or solutions for this would be greatly appreciated.

Thanks in advance!
Nick

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2