Case 1)
On my incoming port (sfp1) I'm reciving usual traffic, and IP from ISP's DHCP.. I'm also reciving VLAN 303 which is used for IPTV where on this VLAN it also resides an DHCP server along with multicast streams (I have an IPTV decoder on my LAN which expects usual traffic, not VLAN - it's not configured to listen on VLAN), currently I utilize ether23 port for the IPTV decoder
Case 2)
On ether24 I have an pfSense router with only 1 NIC, now there is a common workaround where you use 1 NIC and 2 VLAN's and still beeing able to act as an router hence vlan10 and vlan20. (see my config)
In both cases I've been able to use bridges and VLAN interfaces to accomplish "what I want" (see config below), but at the cost of CPU usage
So now I'm looking for help too solve both cases with the switch chip instead (if at all possible), so does anyone have any ideas?
![Smile :-)](./images/smilies/icon_smile.gif)
My current config looks like this:
[admin@MikroTik] > export
# jan/03/1970 22:14:12 by RouterOS 6.35.4
# software id = 4ZWJ-QVRS
#
/interface bridge
add name=bridge-iptv
add name=bridge-lan
add name=bridge-wan
/interface ethernet
set [ find default-name=ether2 ] master-port=ether1
set [ find default-name=ether3 ] comment=Kontoret master-port=ether1
set [ find default-name=ether4 ] comment=Dunder master-port=ether1
set [ find default-name=ether5 ] comment=Wifi master-port=ether1
set [ find default-name=ether6 ] comment=Stua master-port=ether1
set [ find default-name=ether7 ] master-port=ether1
set [ find default-name=ether8 ] master-port=ether1
set [ find default-name=ether9 ] master-port=ether1
set [ find default-name=ether10 ] master-port=ether1
set [ find default-name=ether11 ] master-port=ether1
set [ find default-name=ether12 ] master-port=ether1
set [ find default-name=ether13 ] master-port=ether1
set [ find default-name=ether14 ] master-port=ether1
set [ find default-name=ether15 ] master-port=ether1
set [ find default-name=ether16 ] master-port=ether1
set [ find default-name=ether17 ] master-port=ether1
set [ find default-name=ether18 ] master-port=ether1
set [ find default-name=ether19 ] master-port=ether1
set [ find default-name=ether20 ] master-port=ether1
set [ find default-name=ether21 ] master-port=ether1
set [ find default-name=ether22 ] master-port=ether1
set [ find default-name=ether23 ] comment="Stua - IPTV Dekoder"
set [ find default-name=ether24 ] comment=Router
set [ find default-name=sfp1 ] comment=WAN
/interface vlan
add interface=ether24 name=ether24-lan vlan-id=20
add interface=ether24 name=ether24-wan vlan-id=10
add interface=sfp1 name=sfp1-vlan303 vlan-id=303
/interface bridge port
add bridge=bridge-wan interface=ether24-wan
add bridge=bridge-wan interface=sfp1
add bridge=bridge-lan interface=ether24-lan
add bridge=bridge-iptv interface=sfp1-vlan303
add bridge=bridge-iptv interface=ether23
add bridge=bridge-lan interface=ether1
/system routerboard settings
set protected-routerboot=disabled
[admin@MikroTik] >