Community discussions

MikroTik App
 
larsac
just joined
Topic Author
Posts: 22
Joined: Thu Apr 30, 2020 4:52 pm

Using hex as switch?

Sat May 30, 2020 10:28 pm

Hello,

Just found out that SwOS does not have the nice cli / command language to configure a device. I would like to store all my configs as code.

Can I simply use a hex instead of a RB260GS? I just need to split a trunk connection into different untagged access ports.

Any downsides in speed or something else (apart from a few bucks higher price)?

Lars
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3297
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Using hex as switch?

Sat May 30, 2020 11:04 pm

All MT devices with more than on part can run fine as Switches. Just configure all part inn to one bridge group, and add IP if admin is needed.
Can not comment about the speed of it, but I think it should do well.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19322
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Using hex as switch?

Sun May 31, 2020 12:03 am

I have two 260GS, they are a bit ornery to work with but once set they are solid.
Thanks jotne, I have an extra Hex, I might turn that into a switch.....
 
larsac
just joined
Topic Author
Posts: 22
Joined: Thu Apr 30, 2020 4:52 pm

Re: Using hex as switch?

Sun May 31, 2020 10:08 am

Thanks jotne, sounds good.

Lars
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2993
Joined: Mon Apr 08, 2019 1:16 am

Re: Using hex as switch?

Sun May 31, 2020 11:19 am

The hEX is a super router, but has a weaker switch chip than some other MKT devices.

If you have a spare hEX, that's an easy choice. However if it has to be bought then something with a QCA8337 instead of the MT7621 would be a better switch, like the hEX PoE.

https://wiki.mikrotik.com/wiki/Manual:S ... p_Features

CRSxxx devices run RouterOS or are dual boot.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11590
Joined: Thu Mar 03, 2016 10:23 pm

Re: Using hex as switch?

Sun May 31, 2020 4:49 pm

The hEX is a super router, but has a weaker switch chip than some other MKT devices.

MT7621 is actually decent switch chip, just not when used in Mikrotik device. Even in MT it should do just fine (wirespeed switching) if VLAN is out of scope. When one needs to use VLANs, then indeed hEX is not a good switch.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19322
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Using hex as switch?

Sun May 31, 2020 5:03 pm

A switch without vlans is like MKX without lubrication (u can take that anyway you want LOL, but I meant the imbibing kind!).
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11590
Joined: Thu Mar 03, 2016 10:23 pm

Re: Using hex as switch?

Sun May 31, 2020 5:19 pm

A switch without vlans is like MKX without lubrication ...
A-ha ... you complained about indigestibility of some of my posts ... but it's the lubricant you're using :wink:
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2993
Joined: Mon Apr 08, 2019 1:16 am

Re: Using hex as switch?

Sun May 31, 2020 5:45 pm

The hEX is a super router, but has a weaker switch chip than some other MKT devices.

MT7621 is actually decent switch chip, just not when used in Mikrotik device. Even in MT it should do just fine (wirespeed switching) if VLAN is out of scope. When one needs to use VLANs, then indeed hEX is not a good switch.
I didn't mean to say that the MT7621 is no good. Only as the RB260GS was mentioned as reference point, the MT7621 is not as versatile as the AR8327 in the RB260GS.

The hEX PoE (QCA8337) comes very close to the RB260GSP (PoE, AR8327). No block diagram found for the RB260GSP however.
The RB260GSP was in my whish list, but now I'm not so sure anymore, if all SwOS settings can be mastered in RouterOS. (Well there is a price difference, to begin the selection process)
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19322
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Using hex as switch?

Sun May 31, 2020 8:41 pm

The hEX is a super router, but has a weaker switch chip than some other MKT devices.

MT7621 is actually decent switch chip, just not when used in Mikrotik device. Even in MT it should do just fine (wirespeed switching) if VLAN is out of scope. When one needs to use VLANs, then indeed hEX is not a good switch.
I didn't mean to say that the MT7621 is no good. Only as the RB260GS was mentioned as reference point, the MT7621 is not as versatile as the AR8327 in the RB260GS.

The hEX PoE (QCA8337) comes very close to the RB260GSP (PoE, AR8327). No block diagram found for the RB260GSP however.
The RB260GSP was in my whish list, but now I'm not so sure anymore, if all SwOS settings can be mastered in RouterOS. (Well there is a price difference, to begin the selection process)
Trust me BPewl, I have two 260GS, will not buy another.
They are too finicky to setup. Once setup they are solid.
a. Just to get a firmware update is like milking a donkey with sore teats.
b. Then if you touch, correction even just look at, any of the settings that purport to add security to the device, one is locked out and has to RESET from scratch including loading new firmware, see a. above.
 
Larchen
just joined
Posts: 4
Joined: Sun Jan 21, 2018 10:44 am

Re: Using hex as switch?

Thu Mar 18, 2021 7:13 am

hEX RB750Gr3 with MT7621 chip can use simple bridge without vlans (and without stp and igmp-snooping). In this case hEX can switch untagged traffic beetwin all its ports on wire-speed with no impact on CPU (~900Mbit/sec between hosts in my case - the result could be limited by SSD perfomance).

Other option is using cpu-switching bridge with vlans like described here: https://wiki.mikrotik.com/wiki/Manual:B ... witch_chip
Principle device schema shows 1G-link from switch chip to cpu: https://i.mt.lv/cdn/product_files/RB750 ... 190642.png .
In my tests cpu-switching bridge setup demonstrates speeds beetwin two hosts about 900Mbit/s (like in switchchip bridge setup) with overoll cpu load up to 30% and single core load up to 50-60% (proccess "networking").
So I can conclude, that CPU power is enoth for cpu-switching at full-duplex 1G-speed devided for all 5 device ports. Such traffic profile can be seen in a number of SOHO networks, so hEX with vlans in cpu-switching bridge could be sutible for them.

My configuration for cpu-switching bridge was:
/interface bridge add name=bridge1 igmp-snooping=yes protocol-mode=none

/interface bridge port add bridge=bridge1 frame-types=admit-only-vlan-tagged ingress-filtering=yes interface=ether1
/interface bridge port add bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=yes interface=ether2 pvid=5
/interface bridge port add bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=yes interface=ether3 pvid=5
/interface bridge port add bridge=bridge1 frame-types=admit-only-untagged-and-priority-tagged ingress-filtering=yes interface=ether4 pvid=5

/interface bridge vlan add bridge=bridge1 tagged=ether1 untagged=ether2,ether3,ether4 vlan-ids=5
/interface bridge vlan add bridge=bridge1 tagged=ether1,bridge1 vlan-ids=100

/interface vlan add interface=bridge1 name=MGMT vlan-id=100
/ip address add address=172.24.0.102/24 interface=MGMT
/ip route add distance=1 gateway=172.24.0.1

/interface bridge set bridge1 vlan-filtering=yes

Who is online

Users browsing this forum: Google [Bot] and 17 guests