OpenWrt Forum Archive

Topic: LuCI / network / wan / multiple static ip

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm trying to add a second IP to the wan interface using the GUI (LuCI). I cannot find any documentation on how to write a correct command for it. Sure I could use rc.local and do it but I prefer a "clean way".

Thanks!

Set the WAN protocol to static, afterwards you can add one or more IP aliases.

I tryed, the interface said "invalid input value" then I tryed to add an IP.
How can I input a correct value?

You're supposed to give a symbolic name for the alias there, like "wan2". After that you'll get presented with an entire subinterface config, including ipaddr, netmask, broadcast addr.

Thank you!

Hi, Backfire 10.03.1 final have installed Luci?

The discussion might have continued from here.