I have openSUSE 13.2. My laptop connects to the internet through a WiFi network but I have an embedded device which I need to connect to it through the ethernet interface. It has an IP address of 192.168.2.50
. The problem is I set the IP address of the interface using this:
ifconfig enp3s0 192.168.2.64 netmask 255.255.255.0
This works fine but when the device disconnects or reboot, the connection I made is lost and the PC attempts to connect through the ethernet interface and my internet connection is lost. I have to unplug the cable, apply the command and reconnect the cable to connect to my device while not interrupting the internet connection. So is is possible to set a permanent IP so it should not interfere with other interfaces and connections ?