I am currently trying to set my Raspberry Pi's IP address to static, and it works until I reboot and I have to run sudo ifdown eth0; ifup eth0. I have set eth0 to static and have currently got the following configuration for it:

  • Is your static address and broadcast address really supposed to be the same? Also can you post your /etc/network/interfaces and the output of the ifconfig file - edit your question don't add it as a comment. – Steve Robillard Dec 15 '15 at 22:01
  • I'm relatively new to the Raspberry Pi and I had seen two different tutorials using two different things, so I set them both and it worked. Do I not need to have them both? – user38293 Dec 15 '15 at 22:02
  • include a link to the tutorial you followed as well please. The pi is not normally the broadcast server for a network, that is usually the role of your router. – Steve Robillard Dec 15 '15 at 22:04
  • 1
    Possible duplicate of How do I set up networking/WiFi/Static IP – Milliways Dec 15 '15 at 22:04
  • If you are new to the Pi why not use dhcp and leave it to the router to do the right thing. – Steve Robillard Dec 15 '15 at 22:06

Okay, you made an error on broadcast. It's supposed to be

Source (RFC919)

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.