Community discussions

MikroTik App
 
eosis
just joined
Topic Author
Posts: 4
Joined: Tue Nov 13, 2012 3:41 pm

copy-to-cpu on switch chips; what can we do with this?

Tue Nov 20, 2012 6:02 pm

I've been reading up on the switch behaviour of Atheros chips on some of the RouterBoards (http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features ), but I don't understand what one of the rules does, or why it is useful.

I've seen it used in this forum thread (http://forum.mikrotik.com/viewtopic.php?f=2&t=50066), but I am none the wiser.

What can be done with this functionality? Can the CPU then alter the packet in some way? Can the CPU then choose to forward the packet to another interface based on its source interface or destination?

Any info would be appreciated.
 
CelticComms
Forum Guru
Forum Guru
Posts: 1765
Joined: Wed May 02, 2012 5:48 am

Re: copy-to-cpu on switch chips; what can we do with this?

Tue Nov 20, 2012 6:33 pm

The packet needs to be sent to the CPU if RouterOS proper is going to process the packet (e.g. forward it subject to IP Firewall rules).

However RouterOS can set the switch chip to deal with certain packets at the switch level - e.g. several interfaces on the switch chip can be bridged together.

Passing packets to the CPU allows the full functionality of RouterOS to direct the packets. Dealing with the packets locally on the chip gives a smaller range of functionality but since the CPU is not involved the processing speed is typically higher for packets processed on the chip.