Any guides on what exactly I can try to retain my ip?

@Middleware & OS Hey guys, am trying to retain and Configure a static IP address on Embedded Linux (Raspberry pi, Raspbian Os) am running a local server and would like retain same IP for port forwarding. Any guides on what exactly I can try to retain my ip? I tried configuring my router but it doesn't seem to work
Solution:
To retain a static IP address on a Raspberry Pi running Raspbian OS: 1. Edit /etc/dhcpcd.conf and add your static IP details. 2. Restart the dhcpcd service. 3. Edit /etc/network/interfaces and set the IP address to static....
Jump to solution
2 Replies
abhishek awasthi
you may try searching around how to set netplan in /etc/
Solution
Joseph Ogbonna
Joseph Ogbonna5mo ago
To retain a static IP address on a Raspberry Pi running Raspbian OS: 1. Edit /etc/dhcpcd.conf and add your static IP details. 2. Restart the dhcpcd service. 3. Edit /etc/network/interfaces and set the IP address to static. 4. Reboot your Raspberry Pi. This should keep your IP address static, allowing for port forwarding.
Want results from more Discord servers?
Add your server