Default route if not restored

When I do ,

ifconfig down eth0
ifconfig up eth0

network.lan=interface
network.lan.ifname='eth0'
network.lan.force_link='1'
network.lan.proto='dhcp'
network.lan.ip6assign='60'
network.lan.ieee1905managed='1'

after ifconfig up, route entry is not being added back.

ifconfig is an obsolete low-level tool operating on the underlying interfaces, netifd does not know if you pull the rug from underneath its feet. ifup/ ifdown would be the higher level alternatives with netifd integration.

That said, ieee1905managed is an invalid option not known to OpenWrt, if you're using some proprietary vendor SDK instead, you'll have to contact their support lines instead.

2 Likes

Thanks. works for me

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.