Teltonika RUTXR1 port Configuration

Hi everyone,

I have a Teltonika RUTXR1 with the following specifications:

Device name: RUTXR1
Firmware version: RUTX_R_00.07.12
Kernel version: 5.10.229

I’m trying to configure 5 physical ports using UCI, but I’m only able to see 2 interfaces: 1 WAN and 1 br-lan (bridge). However, when I log in to the Web UI, I can see 4 LAN ports under Status → Overview → LAN.

It’s a bit confusing why I’m not able to see all 4 LAN interfaces using UCI but can see them in the Web UI. Have I missed something in the configuration?

As we can see 4 ports but we are not able to find the exact interface names to which these 4 ports are connected. How can we find the exact physical interface names to which these 4 ports are connected?

Any suggestions or insights would be greatly appreciated!

Thank you!

Hello,

You can view the parameters of all four physical LAN ports using the following UCI command:

uci show network

More useful information on UCI command usage can be found here.

Best regards,

Hello,
Thanks for your reply
This is my output of 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.loopback.area_type=‘lan’
network.globals=globals
network.globals.ula_prefix=‘fdfb:5g3x:3182::/69’
network._lan1=port
network._lan1.enabled=‘1’
network._lan1.autoneg=‘on’
network._lan1.role=‘lan’
network._lan1.port_num=‘1’
network._lan2=port
network._lan2.enabled=‘1’
network._lan2.autoneg=‘on’
network._lan2.role=‘lan’
network._lan2.port_num=‘2’
network._lan3=port
network._lan3.enabled=‘1’
network._lan3.autoneg=‘on’
network._lan3.role=‘lan’
network._lan3.port_num=‘3’
network._lan4=port
network._lan4.enabled=‘1’
network._lan4.autoneg=‘on’
network._lan4.role=‘lan’
network._lan4.port_num=‘4’
network._wan5=port
network._wan5.enabled=‘1’
network._wan5.autoneg=‘on’
network._wan5.role=‘wan’
network._wan5.port_num=‘5’
network._wan5.ifname=‘eth1’
network.lan=interface
network.lan.device=‘br-lan’
network.lan.area_type=‘lan’
network.lan.proto=‘static’
network.lan.ipaddr=‘192.168.1.1’
network.lan.netmask=‘255.255.255.0’
network.lan.ip6assign=‘60’
network.br_lan=device
network.br_lan.name=‘br-lan’
network.br_lan.type=‘bridge’
network.br_lan.ports=‘eth0’
network.wan=interface
network.wan.device=‘eth1’
network.wan.metric=‘1’
network.wan.area_type=‘wan’
network.wan.ipaddr=‘11.13.05.03’
network.wan.netmask=‘255.255.255.0’
network.wan.force_link=‘0’
network.wan.proto=‘static’
network.wan.dns=‘8.8.8.8’ ‘8.8.4.4’
network.wan.peerdns=‘0’
network.wan.gateway=‘11.13.05.01’
network.wan6=interface
network.wan6.device=‘eth1’
network.wan6.proto=‘dhcpv6’
network.wan6.metric=‘2’
network.wan6.area_type=‘wan’
network.@switch[0]=switch
network.@switch[0].name=‘switch0’
network.@switch[0].reset=‘1’
network.@switch[0].enable_vlan=‘1’
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=‘switch0’
network.@switch_vlan[0].vlan=‘1’
network.@switch_vlan[0].vid=‘1’
network.@switch_vlan[0].ports=‘1 2 3 4 0’
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=‘switch0’
network.@switch_vlan[1].vlan=‘2’
network.@switch_vlan[1].vid=‘2’
network.@switch_vlan[1].ports=‘5 0’
network.mob1s1a1=interface
network.mob1s1a1.proto=‘wwan’
network.mob1s1a1.modem=‘3-1’
network.mob1s1a1.metric=‘3’
network.mob1s1a1.sim=‘1’
network.mob1s1a1.dhcpv6=‘0’
network.mob1s1a1.pdptype=‘ipv4v6’
network.mob1s1a1.method=‘nat’
network.mob1s1a1.auth=‘none’
network.mob1s1a1.auto_apn=‘1’
network.mob1s1a1.area_type=‘wan’
network.mob1s1a1.apn=‘www’
network.mob1s1a1.pdp=‘1’
network.mob1s2a1=interface
network.mob1s2a1.proto=‘wwan’
network.mob1s2a1.modem=‘3-1’
network.mob1s2a1.metric=‘4’
network.mob1s2a1.sim=‘2’
network.mob1s2a1.dhcpv6=‘0’
network.mob1s2a1.method=‘nat’
network.mob1s2a1.area_type=‘wan’
network.mob1s2a1.auto_apn=‘1’
network.mob1s2a1.pdptype=‘ipv4v6’

I am trying to get all available physical Lan interface name, but currently I am getting only 1 LAN interface eth0. Can you please help me to get remaining 3 LAN interface

Hi,

RUTX family has only single physical interface for all lan ports “eth0”. They can be separated by creating untagged vlans for every port if it is really needed. Then they will become eth0.{vlan id}

Hello,
Thanks for reply.
Yes we needed different interface for all ports.
So how can we do it using UCI command, or this can be done only by Web UI. Please guide us.

Hi,

I rarely use uci so I might miss-guide you.

This is how it is done via WebUI (used rutx11 that has one less port)

generated config in /etc/config/network (added last port by hand)
config switch_vlan
	option device 'switch0'
	option vlan '1'
	option vid '1'
	option ports '0t '

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option vid '2'
	option ports '0t 5'

config switch_vlan
	option device 'switch0'
	option vlan '3'
	option vid '3'
	option ports '0t 2'

config switch_vlan
	option device 'switch0'
	option vlan '4'
	option vid '4'
	option ports '0t 3'

config switch_vlan
	option device 'switch0'
	option vlan '5'
	option vid '5'
	option ports '0t 4'


config switch_vlan
	option device 'switch0'
	option vlan '6'
	option vid '6'
	option ports '0t 5'

This config will result:

  • lan1 port - eth0.3
  • lan2 port - eth0.4
  • lan3 port - eth0.5
  • lan4 port - eth0.6

Thank you for your response; it worked.

I have a small query: Is it possible to treat this as a separate physical interface by creating it with a different MAC ID and naming it eth2, eth3, and eth4? Alternatively, can we create multiple interfaces named eth2, eth3, and eth4, and then add them to the bridge (br-lan)?

Hello Martynas,
Good afternoon Could you help us if i dont have webUI for above mention router and need to find physical interface from router then how can get it , also need interface which are mapped to all LAN1 ,LAN2 , LAN3 , LAN4 port .

Thanks ,
Parikshit