450G\750G switch chip - VLANs

How do I configure the 750G’s switch chip to manipulate VLANs? I believe this also applies to the 450G.

I want VLAN 5 to be tagged on port 1 and untagged on port 3. I want an untagged VLAN available on all but port 3.

How?

Port 1 is to basement, port 3 is to phone.

[admin@Mike’s room] /interface ethernet switch> export

jan/18/2010 15:11:03 by RouterOS 4.5

software id = UH52-SKYA

/interface ethernet switch
set switch1 mirror-source=none mirror-target=none name=switch1
/interface ethernet switch port
set (unknown) vlan-mode=fallback
set (unknown) vlan-mode=fallback
set (unknown) vlan-mode=fallback
set (unknown) vlan-mode=fallback
set (unknown) vlan-mode=fallback
/interface ethernet switch rule
add copy-to-cpu=no disabled=no mirror=no new-dst-ports=“To Basement” new-vlan-id=5 ports=“To Phone” redirect-to-cpu=no switch=switch1 vlan-header=not-present vlan-id=5
add copy-to-cpu=no disabled=no mirror=no new-dst-ports=“To Phone” new-vlan-id=0 ports=“To Basement” redirect-to-cpu=no switch=switch1 vlan-header=present vlan-id=5

Well, I restarted at square 1. I wiped the config and the 750G is just in full switching mode. Every port has ether1 as the master and the switch is set to run on all ports. In this setting, Rx/Tx information is only available for ether1. Without a port setting ether1 as master, it no longer passes traffic.

10.1.1.x is not using a VLAN and 10.1.5.x is using VLAN 5, with a 450 elsewhere routing between the networks.

I'm experiencing high latencies and jitter within an all Ethernet network.


This is a VoIP phone

Ping statistics for 10.1.5.200:
Packets: Sent = 100, Received = 99, Lost = 1 (1% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 174ms, Average = 26ms


The 750G

Ping statistics for 10.1.1.2:
Packets: Sent = 100, Received = 99, Lost = 1 (1% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 184ms, Average = 17ms


A PC behind the 750G

Ping statistics for 10.1.1.20:
Packets: Sent = 100, Received = 98, Lost = 2 (2% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 118ms, Average = 22ms

Ideas? I still would like to figure out how to configure the 750G to use the switch chip to add and pull VLAN information to different ports at wire speed (or near).

Here is various information pulled from the CLI


[admin@MikroTik] > /system resource print
uptime: 2h42m44s
version: "4.5"
free-memory: 21084kB
total-memory: 29944kB
cpu: "MIPS 24K V7.4"
cpu-count: 1
cpu-frequency: 680MHz
cpu-load: 1
free-hdd-space: 39980kB
total-hdd-space: 61440kB
write-sect-since-reboot: 1341
write-sect-total: 79526
bad-blocks: 0
architecture-name: "mipsbe"
board-name: "RB750G"
[admin@MikroTik] > /interface ethernet switch print
Flags: I - invalid

NAME TYPE MIRROR-SOURCE MIRROR-TARGET SWITCH-ALL-PORTS

0 switch1 Atheros-8316 none none
[admin@MikroTik] > /interface ethernet print
Flags: X - disabled, R - running, S - slave

NAME MTU MAC-ADDRESS ARP MASTER-PORT SWITCH

0 R ether1 1500 00:0C:42:70:12:F2 enabled none switch1
1 RS ether2 1500 00:0C:42:70:12:F3 enabled ether1 switch1
2 RS ether3 1500 00:0C:42:70:12:F4 enabled ether1 switch1
3 S ether4 1500 00:0C:42:70:12:F5 enabled ether1 switch1
4 S ether5 1500 00:0C:42:70:12:F6 enabled ether1 switch1



Maybe my dream of using a 750G to have wire speed VLAN smart switching and full MT information reporting was all for naught.

I have a similar problem which I tried to solve via bridges. The problem I have is that tagged and untagged traffic appears to not be able to coexist on one port. My setup is very similar to yours, ie:

Port 1 has both one VLAN and untagged traffic

Port 2-5 has:
are supposed to be bridged with the VLAN

If I create a switch of port 2-5, add a VLAN interface to port 1 (100), add a bridge for the VLAN ↔ port 2-5, everything works perfectly.

If I then add an IP to the untagged interface, the VLAN breaks down.

If I add another VLAN, and set the IP on that instead of the ethernet interface, everything works perfect again. This is how I’m running them now, but has the disadvantage of actually forcing me to have two administrative networks (one for RB and one for all the other equipment already installed).

Bottom line, even if you try to achieve it without wire-speed switching it might be impossible. According to http://wiki.mikrotik.com/wiki/MikroTik_RouterOS/v4/Feature_Requests it seems to be a limitation in the RouterOS. If it isn’t, PLEASE someone make an example of how to mix untagged and tagged traffic