Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Laptop loses connection to gateway
« previous
next »
Print
Pages: [
1
]
Author
Topic: Laptop loses connection to gateway (Read 2750 times)
abulafia
Full Member
Posts: 156
Karma: 8
Laptop loses connection to gateway
«
on:
April 27, 2021, 11:33:15 pm »
Hi, strange behaviour that I have come across on 21.1.5, and not sure where to begin to troubleshoot:
I have one(!) laptop that loses connection to the OPNsense gateway intermittently since a few days:
Setup:
WAN -> Cable Modem -> OPNsense -> Unifi switch - LAN clients / wifi clients
Issue:
My work laptop suddenly loses connection to the gateway: It can still ping all LAN devices, as well as the switch, but no longer access the OPNsense IP (nor WAN of course). A reboot of OPNsense fixes this - for a few minutes and then connection _for this client_ fails again.
All other devices (LAN and wifi) continue to be able to access OPNsense and WAN. So the problem seems to be either in OPNsense or the switch.
How could I narrow down the issue? Is it ...
- related to RSTP issues?
- related to routing (I have the FRR routing plugin installed)?
- related to firewall / shaping (why do the other 192.168.1.0/24 clients have access though)?
- ...?
-
Logged
allebone
Sr. Member
Posts: 402
Karma: 34
Re: Laptop loses connection to gateway
«
Reply #1 on:
April 29, 2021, 09:29:51 pm »
please check arp table on opnsense during connectivity loss, and if missing entry try adding a static arp entry to see if this brings back connectivity.
Also check arp table on client (less likely to be issue).
Logged
abulafia
Full Member
Posts: 156
Karma: 8
Re: Laptop loses connection to gateway
«
Reply #2 on:
May 03, 2021, 11:28:43 pm »
Thanks allebone.
DHCP leases & logfile and ARP table show that a DHCP lease (specifically: the existing DHCP lease!) has been send to, and accepted by, the Windows laptop. It then loses access to OPNsense.
I have setup a static entry and will check tomorrow whether that alleviates the issue.
Logged
allebone
Sr. Member
Posts: 402
Karma: 34
Re: Laptop loses connection to gateway
«
Reply #3 on:
May 04, 2021, 09:06:17 pm »
I mean check the arp table on opnsense side. SSH into the box and check arp table with
arp -a -n
you can add a static arp with
arp -s <IP OF LAPTOP> xx:xx:xx:xx:xx:xx
etc.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Laptop loses connection to gateway