Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to analyze curious ping issue?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to analyze curious ping issue? (Read 1918 times)
Asperamanca
Newbie
Posts: 31
Karma: 0
How to analyze curious ping issue?
«
on:
February 11, 2021, 10:03:46 pm »
I have a wireless (Phone) and a wired device (PC) in the same VLAN.
Since they get correct IP addresses in the same subnet, I conclude that
a) they can both reach the Firewall
b) they are connected via the same interface (and thus to the same VLAN)
From the firewall I can ping both devices.
However, the PC cannot ping the phone ("destination host cannot be reached")
If I connect the PC via wireless as well, I can ping the phone.
How can I analyze this issue?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: How to analyze curious ping issue?
«
Reply #1 on:
February 12, 2021, 08:10:53 am »
Compare the settings on the two DHCP servers:
- do their ranges overlap?
- do they issue the same subnet mask?
Are you pinging by IP address or by name?
Make sure the WiFi AP does not NAT.
If possible, set the WiFi in AP-only mode and use a single DHCP server.
Bart...
Logged
Asperamanca
Newbie
Posts: 31
Karma: 0
Re: How to analyze curious ping issue?
«
Reply #2 on:
February 13, 2021, 04:01:11 pm »
Thank you for your input!
The firewall is the DHCP server for both. DHCP is disabled on the Wifi AP, and the IP addresses used are consistent with the DHCP settings on the firewall.
I am pinging by IP address.
I have set up the Wifi-AP from scratch, and have not configured any NAT rules.
I have since found that I can ping the phone from a different wired PC (Windows 10). But even disabling the Windows Firewall on the original PC doesn't change anything.
Further suggestions on what to try?
EDIT: Small update: Now I cannot reach my phone from PC 1 even if I am connected to the same Wifi. I thought I had a workaround there...
«
Last Edit: February 13, 2021, 04:17:22 pm by Asperamanca
»
Logged
chemlud
Hero Member
Posts: 2486
Karma: 112
Re: How to analyze curious ping issue?
«
Reply #3 on:
February 13, 2021, 04:51:23 pm »
I don't really see where OPNsense comes into play. Ping by IP on the same LAN should not reach the router, but only the switch the PC and the wifi-AP are connected to. Did you try without VLAN?
You could use Wireshark in promiscous mode to see which packages are going back and forth on your LAN...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Asperamanca
Newbie
Posts: 31
Karma: 0
Re: How to analyze curious ping issue?
«
Reply #4 on:
February 14, 2021, 03:59:27 pm »
Quote from: chemlud on February 13, 2021, 04:51:23 pm
I don't really see where OPNsense comes into play.
Which is why I posted to the "General" section.
Anyway, I gave the Wifi AP a static IP address in the OPNsense DHCP configuration, and now I can ping my wireless devices. At least for the moment...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to analyze curious ping issue?