How to set up a static ip to Openwrt

Rufus

New Member
Sep 29, 2023
5
0
1
Hi there,

Im using Openwrt in a lxc to manage all my networking, however, I found a problem Im unable to pin point. Since Im using it to port all my other containers, I set up an static ip in network to be allways 192.168.50.210 and access all my other services via 192.168.50.210:port number of the service. However, when I restart the proxmox, the openwrt lxc changes its ip, normally it goes up, now for example it is 192.168.50.211 if I do a ip addr inside the console. Why is this happening? How can I set the statisc ip, is it related to the openwrt config?

Thanks in advanced
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!