Currently my eth1 is configured as WAN and i have eth2,4,5 as LAN. I get one SFP and now i have an additional port which i want to add to my switch. I was thinking to add it to the switch but then realize i cannot. Now i think to create switch2 and add it there but im not sure if i can do that.
My goal is to be able to use SFP1 as LAN port. Any suggestions?
I know that i can move my WAN from eth1 to SFP1 change FIrewall / nat / enable DHCP client and then configure all ports from 1-5 to to be switch ports with the command below:
Sfp port is not connected to switch chip so traffic via this port has to pass CPU in any case. If you’re running modern version of ROS on your device, chances are that you’re actually using bridge with configuration similar to this one:
In this case it is enough to include additional line in /interface bridge port:
add bridge=bridge interface=sfp1
ROS will make sure that traffic between interfaces ether2-5 will get treated by switch chip while traffic between sfp1 and the rest of interfaces will be handled by SW. Note, that single bridge can span interfaces from different switch chips and of different L1 technologies (ethernet, wireless, even tunnel interfaces).
If your config is considerably different, you can export full config (/export hide-sensitive) and post it here for a review and advice.
Thank you for explanation im currently running it that way but i had some issues with DHCP ( i cannot devide and it did’t get IP ) i will troubleshoot that. The only think i was wondering if adding it to Bridge is enough and you answer it.
I have 2 Eth to my storge ,so its not going to be used so often. I will watch the CPU / Temp …etc. I don’t think its such big deal as you remember Bridge HW offload was intruduced in 6.41
While a bridge is a software feature that will consume CPU’s resources, the bridge hardware offloading feature will allow you to use the built-in switch chip to forward packets, this allows you to achieve higher throughput, if configured correctly