OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: m0n0wall_refugee on October 30, 2023, 07:59:56 PM

Title: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: m0n0wall_refugee on October 30, 2023, 07:59:56 PM
after updating from 23.1.1 (i believe) to 23.7.7_3-amd64 my IPv4 has stopped working on my WiFi.
any help in the matter would be most appreciated.  :)

my configuration (https://forum.opnsense.org/index.php?topic=36732.msg182300#msg182300)
Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: Patrick M. Hausen on October 30, 2023, 08:05:27 PM
Sorry, but ... what hardware exactly, all configuration, etc. We need a full picture of how your WiFi is configured, how should we help without that?
Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: m0n0wall_refugee on October 30, 2023, 08:11:30 PM
you are right. my apoligies.
Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: m0n0wall_refugee on November 26, 2023, 06:52:12 AM
my setup is on a 'Qotom Barebone PC Q355G4 with Intel Core i5 5200U' 8GB RAM running opensense v23.7.9

i have a wifi router being used as, and set to access point, with the IP 192.168.2.2/25
that is wired to [WiFi1] interface.

Interfaces: [WiFi1]
enable checked
lock unchecked
identifier opt1
device igb2
description WiFi1

Gneric Config
Block private networks unchecked
Block bogon networks unchecked
IPv4 Configuration Static IPv4
IPv6 Configuration DHCPv6
Promiscuous mode unchecked
MTU blank
MSS blank
Speed and duplex autoselect
Dynamic gateway policy unchecked

Hardware settings
Overwrite global settings unchecked

Static IPv4 configuration
IPv4 address 192.168.2.1
IPv4 Upstream Gateway Auto-detect

DHCPv6 client configuration
Configuration Mode Basic
Request only an IPv6 prefix unchecked
Send IPv6 prefix hint unchecked
Use VLAN priority Video (4)


System>Gateways>Single Wifi1_GWv4

Edit gatway
Disabled unchecked
Name WiFi1_GWv4
Description WiFi connection 1
Interface WiFi1
Address Family IPv4
IP address dynamic
Upstream Gateway checked
Far Gateway unchecked
Disable Gateway Monitoring unchecked
Disable Host Route unchecked
Monitor IP blank
Mark Gateway as Down unchecked
Priority 254

Advanced
Weight 1
Latency thresholds 200 500
Packet Loss thresholds 10 20
Probe Interval 1
Time Period 60
Loss Interval 4
Data Length 0

IPv4 is confirmed working on LAN 192.168.1.* connections. just broken on WiFi connections since upgrading.

if there is anything else i should provide, please let me know.
thank you
Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: m0n0wall_refugee on December 05, 2023, 04:49:38 AM
bump

anyone? please
Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: Patrick M. Hausen on December 05, 2023, 08:59:27 AM
Isn't the AP in bridge mode? Why do you need a gateway on the WiFi interface? Also please show the firewall rules on that interface.
Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: m0n0wall_refugee on December 05, 2023, 09:23:04 AM
Quote from: Patrick M. Hausen on December 05, 2023, 08:59:27 AM
Isn't the AP in bridge mode? Why do you need a gateway on the WiFi interface? Also please show the firewall rules on that interface.
thanks. it's actually in 'Access Point' mode. my original intention was to isolate WiFi and LAN traffic from each other, and have different subnets. the NICs on the ''Qotom Barebone PC Q355G4' are tied together like a switch? it's my understanding that they can 'see' each other regardless of firewall rules, so i scrapped that idea. (and those fire wall rules)


Title: Re: updated from legacy... WiFi1_GWv4 Priority Defunct (Upstream)
Post by: Patrick M. Hausen on December 05, 2023, 09:50:42 AM
If the AP is in "Access Point" mode, it is probably a bridge. Which means all IP is managed by OPNsense any you do not need a gateway.

So in theory if WiFi is a separate interface with a separate IP network etc. of course you need proper allow rules for DNS, Internet etc. for this to work.

If all interfaces of this Qotom thing are bridged like a switch, then your AP is connected to LAN and the separate "WiFi" interface in OPNsense does not make sense.

But I doubt that is the case because if the ports were all just a switch you would not even see separate interfaces in OPNsense. So you will need rules resembling the ones for LAN with minor adjustments on that WiFi network.