I am trying to configure a static ip address to connect to the PI from my PC with an Ethernet cable. I tried following the instructions to configure a static IP address on raspberry pi 3

appended to end of the file /etc/dhcpcd.conf

interface eth0
static ip_address=
static routers=
static domain_name_servers=

interface wlan0
static ip_address=
static routers=
static domain_name_servers=

Rebooted (sudo reboot, and tried with hard power cycle)

Tried ssh to either ethernet ip address or wife ip address, neither work Then I try

ping raspberry.pi

I get back what looks like an ipv6 address, and am able to access through this address.

Why can't I access the Raspberry PI via its static ip address?

  • Check your static IP address. Notice that the router is on 192.168.0.x network and your IP is on 192.168.1.x – Chef Flambe Jan 23 '18 at 21:12
  • @ChefFlambe good catch, still no good – Iancovici Jan 23 '18 at 21:45

Had to configure my PC IPv4 on that ethernet to use static ip address too, in the same range

enter image description here

  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year. – Ingo Jan 3 '20 at 22:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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