1
23.1 Legacy Series / [SOLVED] [23.1.5_4] Default IPv4 route not set after reboot
« on: April 02, 2023, 02:50:53 pm »
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.
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.