0

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=192.168.1.6/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1


interface wlan0
static ip_address=192.168.1.7/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

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
0

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

enter image description here

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.