On Tue, Sep 04, 2018 at 09:35:38PM +0200, vincent delft wrote:
> In fact, I remain with my initial question:
> why arp having an entry with address "incomplete" on em0 does not perform
> the task when iwm0 is triggered and request a connection to my firewall ?
> The fw is running on the same address, just the path (netif) that change.
Generally, having two interfaces in the same subnet is never a good idea
unless you really know what you are doing. So when you switch from em0 to
iwm0 and they both end up having addresses on the same IP network, then you
should delete the IP address from the interface which you aren't using:
ifconfig em0 delete
IP addresses are managed by tools like ifconfig and dhclient, they are
not managed automatically by drivers such as em and iwm.
To change IP addresses you need to run commands; either manually or in
some automated way. For instance, you could configure ifstated(8) to run
ifconfig when the em0 interface goes down.