I am using PuTTY and a VNC viewer to control my Raspberry Pi. Now, I have to change the static IP-address of the LAN Interface of my PC from:





The problem is that PuTTY cannot connect to the Raspberry Pi anymore, if I do so.

Is it even possible to control the Raspberry Pi, if I change the client IP-address? And if so, what do I have to configure on the Raspberry Pi so that this works?

Here my properties of the LAN Interface on the PC (sorry, it's in german):

PC lan properties

Here my dhcpcd.conf on the RPi:

RPi: dhcpcd.conf

(I already tried to change static routers and static domain_name_servers to

And my interfaces:

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet dhcp

# WLAN-Interface Hostapd
allow-hotplug wlan0
iface wlan0 inet static

  • I think your problem is on network, you cannot access 192.168.0.XXX IPs when you are on 192.168.**1**.XXX IP, could you display your Raspberry IP and netmask? Jul 28, 2017 at 13:57
  • Ah ok, yes of course: Jul 28, 2017 at 14:20
  • IP address eth0: Mask: Jul 28, 2017 at 14:21
  • And the netmask on your PC? have you tried to ping the raspberry? Jul 28, 2017 at 14:22
  • PC LAN-Connection 2: IP-address:, Mask: Jul 28, 2017 at 14:28

2 Answers 2


Ok, I managed to solve the problem.

The thing was, that my WLAN network already allocated the IP-addresses 192.168.1.X, so the RPi could not connect to the IP-address

Now, I use 192.168.2.X for my WLAN network.


First of all:

why you have setup domain_name_servers= maybe is better to use google DNS

try to change netmask on interfaces and set it on


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.