My network uses static IP distrobution instead of DHCP or dynamic. So, I plugged PI 3 on the network and updated the INTERFACES file as below.

auto eth0
iface eth0 inet static
static ip_address=
static routers=
static domain_name_servers=

This works partially. My PI 3 is able to ping any computers connected to my network, but when I tell it go out on the Internet it fails.

I don't know why this is.

  • 1
    You need to assign a gateway to the external network.
    – joan
    Sep 15, 2016 at 14:27
  • Can it resolve the hostname? What error message does it return? Sep 15, 2016 at 14:27
  • Also: Simply assigning yourself an IP does not mean the router will automatically forward traffic from it, so if you have not arranged that with on the router nothing you do on the Pi will change it.
    – goldilocks
    Sep 15, 2016 at 14:32
  • I have set up a range of allowed IP addresses on my router.
    – ThN
    Sep 15, 2016 at 14:35

1 Answer 1


You need to specify your netmask and your gateway.



...assuming those are correct for your network.

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.