4
I have a laptop running Lubuntu 13.04
. I use ssh -X
to log into my server and start programs there that I view on my laptop. When I pull the ethernet cable, the laptop switches to WLAN but my ssh -X
windows turn black. My IP changes due to the switch, and this disrupts the ssh
connection.
My router is unable to give two different MACs the same IP.
So, is it possible to set a fix IP for both wlan0 and eth0?
DHCP server could give same IP to both interfaces if it received Client ID, and client could then choose the better interface on which to present the IP. If interface changes, it can send Unsolicited ARP (a.k.a Gratuitous ARP) to inform ARP caches of the new MAC and switches would know the port where the new MAC is to be reached. Support and configuration required in different servers and clients is then something I'm not familiar with, yet.
– Marko Kohtala – 2016-10-25T11:52:07.697@kohtala : I think that simple DHCP Servers like those are implemented in Modem Routers does not support
Client ID
but some devices like Mikrotik routers support that. – SuB – 2016-12-02T18:12:55.820