Assigning a static IP address on the Pi

More
2 years 3 months ago #2368 by Sonnie
I was reading the setup instructions, which recommend setting a static IP address to the shelf Pi unit. The ethernet cable from our fiber box is fed to an unmanaged TP-Link switch, which is connected to an Omada Gigabit VPN router that was required for the UniFi AP AC Pro units scattered throughout the house. I have an empty slot on the switch, but with it being unmanaged, I don't know of a way to set a static IP address. Would a managed switch give me what I need?

Pic of my router and switch.

 Regards,
Sonnie

 

Please Log in to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #2371 by David Li
Replied by David Li on topic Assigning a static IP address on the Pi
You can set either a Static address on the Pi (you will likely need a monitor / keyboard / mouse connected to the Pi) by clicking the networking "double arrow" icon on the bottom of the Pi desktop.

Or you can set a reserved DHCP address within your router (associated to the Pi's network card MAC address).  Wherever your DHCP server is on the network is where this would need to be set.  Every network is unique so you will have to figure this out for yours.


Either way, the IP address can't change or your user interfaces (like the SmartRemote) won't be able to find the myServer web server.
Last edit: 2 years 3 months ago by David Li.

Please Log in to join the conversation.

More
2 years 3 months ago #2374 by Sonnie
Replied by Sonnie on topic Assigning a static IP address on the Pi
I limited the DHCP range in my router so that I can assign static IP addresses... should be all good now. 

Regards,
Sonnie

Please Log in to join the conversation.

Time to create page: 0.196 seconds