I tried to configure a static config in the interface eth0.1 as follows:
config net 'ethstatic'
option linux_name 'eth0.1' # the WAN ifc of the librerouer
list protocols 'static'
option static_ipv4 '10.62.99.99/16'
option static_gateway_ipv4 '10.62.0.2'
But this does not work (it does not generate a static config). I tracked the problem down to lime-hwd-openwrt-wan. This configures the same interface and marks the 'wan' protocol.
This is beacause the interface is "preconfigured" twice here:
function network.configure()
local specificIfaces = {}
config.foreach("net", function(iface)
if iface["linux_name"] then
specificIfaces[iface["linux_name"]] = iface
end
end)
and the last (openwrt-wan) wins.
I don't know what to do to fix this.
I tried to configure a static config in the interface
eth0.1as follows:But this does not work (it does not generate a static config). I tracked the problem down to
lime-hwd-openwrt-wan. This configures the same interface and marks the 'wan' protocol.This is beacause the interface is "preconfigured" twice here:
and the last (openwrt-wan) wins.
I don't know what to do to fix this.