I have OpenWRT on my router (Turris Omnia). How can I add permanent virtual if or second IP to eth0 (wan)? If I use ip a a or ifconfig virtual interface will disappear after network restart or reboot. I have experience in centOS and Debian but Im new to OpenWRT. Can you please give me an advice in this? Thank you!
Network configuration on OpenWRT is handled by the UCI subsystem and
netifd daemon. Main network configuration lives in
You can add your interface to this file and issue the following command to reload network configuration
For more information see the following manual page Basic Networking on OpenWRT