0

I'd like my RPI to have a static ip address since I'll need to move it between locations (including other countries).

So ideally, whenever it connects to a network, either through LAN or WiFi, it will always have the same IP.

I'm not sure if it is possible though. Any advice?

1
  • Set the static IP from router(s) then, not from your RPI.
    – hcheung
    Oct 26, 2017 at 14:22

1 Answer 1

1

To directly answer you question, Yes it would be possible but not without difficulties.

The static address you assign the PI would need to be outside of the DHCP range or reserved on each of the networks it's going to be joining. If it's already in use or handed out by a DHCP server you will cause an address conflict when your PI shows up.

You're almost certainly going run into problems with different IP address ranges and subnets too.

2
  • This is does not provide an answer.
    – hcheung
    Oct 26, 2017 at 14:29
  • It does in the sense that it explains it is not literally impossible, but at the same time, very very unrealistic.
    – goldilocks
    Oct 26, 2017 at 23:24

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.