I have a Pi3B with multiple Oses on it that use wired( kodi, ubuntu) and wireless connections( Iot). I want to assign a static IP but not sure how to go about this.

I can assign it using the router and mac address or I can put it on the device itself

Does putting it on the device apply it to all Oses installed? Can I install it on both? Can I reserve more than one IP for the same MAC?

  • WHY?? Unless you are running a standalone network or Access Point there is no need. You cannot setup a "static IP" address on your router, although you can get most to assign the same IP address to a MAC, how to do this depends on the router, and is not a Pi question. The procedure for assigning a static IP address varies between OS. If you search this site you will find literally hundreds of posts.
    – Milliways
    Jan 17 '18 at 3:50
  • 1
    Apparently similar question has already been asked. raspberrypi.stackexchange.com/questions/37920/… Jan 17 '18 at 7:42

It will make more sense to setup "IP and Mac binding" on your router in your case for whatever reason you'd want to run multiple OS. The procedure varies from router to router, but all you need is the MAC address of RPi eth0 or RPi wlan0 MAC address. run ifconfig to find out the MAC address, for RPi built-in eth0 and wlan0 when your RPi is connect to the network, the mac address has a prefix of b8:27:eb:??.??.??.

No, you can't map more than 1 IP for the same MAC.

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.