Redmi network switch

how do i add the network switch to my Redmi AC2100 Router, as i have 3 ports and a (unused wan), that could be used as an extra lan

/cgi-bin/luci/admin/network

What is the output of uci show network?

root@Redmi:~# uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.packet_steering='1'
network.globals.ula_prefix='fd49:0b24:8df2::/48'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='lan1' 'lan2' 'lan3'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.ipaddr='192.168.8.5'
network.lan.dns='192.168.8.1'
network.lan.gateway='192.168.8.1'
network.lan.delegate='0'
uci add_list network.@device[0].ports="wan"
uci commit network
/etc/init.d/network restart
1 Like

thanks @pavelgl
mac

1 Like