Monday, September 03, 2018

network connectivity problem (ifconfig, arp, ...)

Hello,

I'm running -current and enjoy the new "join" feature of hostname.if.

Nevertheless, I have sometime issues to have an internet connection.

The context:
I have wifi and cable possibilities to connect the same network. Normaly I
prefer the network connection, so at my desk I plug the cable and use it.
But in some cases, I disconnect my laptop and use the wifi connection.

Problem:
The wifi is well connected to my nwid, but the connectivity is not working
(cannot ping my main firewall to connect internet).
I think the problem is linked to wrong arp table (cfr here under)

Why the arp entry for my firewall remains "expired" so long (could be more
than 10 minuntes) ?
Why a "doas arp -ad" does not remove this bad fw entry from the table ?
What could I do to solve the issue without rebooting the laptop ? (If I
reboot the laptop, this solve the problem).



e5450:~$ arp -a
Host Ethernet Address Netif Expire
Flags
fw (incomplete) em0 expired
192.168.3.15 10:02:b5:83:40:41 iwm0 permanent l
192.168.3.16 f8:ca:b8:50:84:15 em0 permanent l

No comments:

Post a Comment