Fresh install of the latest 23.1, auto dhcp6 gateway but no auto dhcpv4

Started by RoamingJay, March 04, 2023, 12:03:52 PM

Previous topic - Next topic
Hi there,
I'm setting up a C3758 box with the latest 23.1 OPNsense planning to replace an older pfsense box.
the OPNsense box has no WAN cable hooked up at the moment, just a LAN cable to computer for initial settings (thinking to complete the setup as much as possible before I hook it up.)
After interface assignments, some port-forwarding, and firewall rules, I suddenly realized that the firewall automatically generated two DHCPv6 gateways (I assigned 2 WANs and 2 LANs), but very strangely no auto DHCPv4 gateway.
WAN1 interface has DHCP for both v4 and v6  (again the ports are empty atm, no cable hooked up yet);
WAN2 interface has HDCPv4, and NONE for IPv6.

I'm not sure why the firewall generated two DHVPv6 gateways for the two WANs, even if I choose NONE for IPv6 (I didn't disable IPv6 function though)

Besides, looks like quite a few other posts reporting gateway dropped / disappeared or the like, I'm not sure if the firewall didn't create the DHCPv4 at the beginning, or it created the gateways but later vanished.

Not a huge deal if I need to manually add the two IPv4 gateways but just very strange; not sure if I'm missing something.
Any idea what can be the cause?
Perhaps just factory reset, and check if any IPv4 gateway created right after initialization?

Thanks

Just a follow up to answer my own question... :-X
IPv4 gateway automatically shows up once I plug in a cable for the interface.
Before that, the firewall just won't auto generate IPv4 gateway (perhaps it will if the interface has a pre-defined static address instead of DHCP).

Unsure if this is assumed; kind of inconvenient while trying to populate all the settings beforehand (thinking to duplicate the existing network's setting, then I can just switch over all cables).