[SOLVED] [23.1.5_4] Default IPv4 route not set after reboot

Started by lore.phoenix, April 02, 2023, 02:50:53 PM

Previous topic - Next topic
April 02, 2023, 02:50:53 PM Last Edit: April 02, 2023, 07:43:45 PM by lore.phoenix
Hello all,

Today I have upgrade my OPNSense systems from version 23.1.4_1 to version 23.1.5_4. From that moment I am missing the default IPv4 route, which can be found under Systems -> Routes -> Status -> Search field: default but I can see that I have an IPv6 default route. After each reboot I need to do "dhclient igc0" to fix my issue. The interface igc0 is my WAN interface.

I also tried it via the GUI -> Interfaces -> Overview -> WAN interface (wan, igc0) -> DHCP  (with reload, release & renew but that didn't fix my issue.

** my solution **
For my setup I have fixed it.
I have 2 OPNSense routers with pfSync interface. I notice that on System -> Gateways -> Single I didn't the name WAN_DHCP (active) but I had on both systems:
* pfSync (active)     254
* WAN_DHCP6      254

The reason why I had a Gateway pfSync is because I enabled 'Dynamic gateway policy' on my pfSync interface.
I unselected 'This interface does not require an intermediate system to act as a gateway'.
I also set the value None behind IPv6 Configuration Type on my WAN interface.

After reboot my OPNSense routers have a default IPv4 route.
Proxmox on GF Economical 6x2.5GE 1U Rack Firewall Celeron N5105
OPNSense:
    Processors : 1 sockets, 4 cores [kvm64,flags=+aes]
    Memory : 8 GB
    Hard Disk : 100 GB VirtIO SCSI