• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1924
  • Last Modified:

MikroTik RouterBoard, Bridged Ports, Netflow (traffic-flow)

I'm looking at putting a RB450G in place as a sort of 'tap' on a network (between the router and the switch).  My hope is to have the RB act as a silent bridge (possibly ponding two nics for in traffic and 2 for out traffic) while pushing netflow-v5 to a machine (running silk tools).

I currently have the device running with a bridge covering 4 of the nics.  Placing it between the router and the switch works, all hosts continue to have network access (so the bridge seems to work).  I have also implemented traffic-flow and have enabled it across all interfaces.

My questions:
- Traffic flow does not seem to be reporting all flows, any thoughts on this?
- When looking (in winbox) at the bridge interface, how come the statistics (packets in / out, etc etc) do not reflect the combination (summation) of all the ports  included in the bridge?
0
patrickLR
Asked:
patrickLR
  • 8
  • 5
  • 3
1 Solution
 
JDLoanerCommented:
Is some of the traffic staying on the LAN and not going out the router?
0
 
patrickLRAuthor Commented:
All traffic is working fine, that is to say hosts have no idea the mikrotic is in place, I'm just trying to understand the traffic-flow output a bit better, as I don't believe it to be reflective of all traffic going through the bridge I have set up.

Just re-read your question, yes, some traffic traffic is probably not going through the routerboard, but that would be minimal (not many hosts internally), most would be going outside.  Is there any structural / logistical / implementation reasons why setting up traffic-flow on the RB would not lead to seeing all traffic going through it?
0
 
JDLoanerCommented:
Well in all honesty any type of SPAN/Bridge port is not going to see "everything". If you want a better guarantee a hardware tap would be more suitable, however, expensive.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
patrickLRAuthor Commented:
Can you maybe explain a bit about why it wouldn't see everything?  Also, if I were to reconfigure the RB to act as an actual router instead of a 'transparent bridge', I would assume I would actually see all traffic that would pass through the routerboard.
0
 
JDLoanerCommented:
I also noticed you said something about two NIC's in and two out, that to mean seems like you might be missing some traffic right there. If you want better insight to your router's traffic flow, ONLY span and view the port the router is connected to.
0
 
patrickLRAuthor Commented:
ignore that part of my post, down the road I would look at maybe bonding two ports together just for throughput reasons.

At the moment I have a bridge set up on the RB that includes all ports (although only two are actually connected, eth1 for external / router, eth2 for internal / our switch).  Traffic-flow is enabled and monitoring those two ports.  Can you see any reason this would not see all traffic passing through the bridge?

0
 
meverestCommented:
Hi,

since some of the traffic kind of reporting is done at a layer 3 level, you may need to set the bridge to 'use IP firewall' (click 'settings' on bridge tab of bridge configuration in winbox)

Cheers,  Mike.
0
 
patrickLRAuthor Commented:
will this hamper traffic at all?  I assume by enabling the firewall the default setting is 'no rules'?

Thanks,
-P
0
 
meverestCommented:
>> will this hamper traffic at all?  

not likley - there may be some impact on performance, but if your CPU is not pegged already, then you probably won't notice any difference

>> I assume by enabling the firewall the default setting is 'no rules'?

correct assumption ;-)

Cheers!
0
 
patrickLRAuthor Commented:
Thanks, I've turned on ip firewall, although I can't find any good docs to explain how this relates to traffic-flow reporting, I do seem to be getting some better information now.  I've given you credit for the answer.

I do have a couple follow up questions, feel free to answer:
- Should I give ip addresses to the interfaces on the RB themselves?  (I have, just wondering what difference it makes)
- Do you know of any better sources of information about routerboards and different config examples of them besides their wiki?

Thanks,
-P
0
 
meverestCommented:
G'day,

>> - Should I give ip addresses to the interfaces on the RB themselves?  (I have, just wondering what difference it makes)

I can't think of any benefit you will get from that - if you aren't routing through the system, then there's no real need for addresses bound to the interfaces at all!

>> - Do you know of any better sources of information about routerboards and different config examples of them besides their wiki?

apart from the mikrotik wiki and the mikrotik forums, there is not a great deal of info.  There are some places, that have a little bit of interesting detail (e.g. http://shop.duxtel.com.au/articles.php?tPath=5) but the official site/s are still the best resource available.

Cheers!
0
 
patrickLRAuthor Commented:
Thanks, I'll probably leave one port out of the bridge with a dhcp server on it (convenience) so I can manage the thing without needing to hook into the serial port , unless you have better suggestions.

Thanks for the link, I'll keep reading the wiki and forums, cheers.

-P
0
 
meverestCommented:
>> I'll probably leave one port out of the bridge with a dhcp server on it (convenience) so I can manage the thing without needing to hook into the serial port

winbox can connect to a device by MAC address only - no need for an IP address there either!

Cheers.
0
 
patrickLRAuthor Commented:
that I did not know, thank you!

(I'm generally finding this device to be quite good, but the lack of 'not beginner, not expert' documentation a bit difficult.  All the wiki stuff tends to be overly simplistic or lacks explanation for the more complicated stuff)

Again, thanks,
-P
0
 
meverestCommented:
Hi,

yes - if you are not already relatively highly experienced, many of those advanced functions seem little more than 'black magic'.

There is a book though: http://shop.duxtel.com.au/product_info.php?products_id=87

available from various sellers.

Cheers!
0
 
patrickLRAuthor Commented:
Hi, opening up this thread again, I've had great success with placing the RB between a networks router and switch for getting traffic flow data, now I'm trying to place it off of a spanning port (monitor port) instead of inline, anyone have any suggestions / thoughts on how well this work?  Do I need to change anything on the RB itself?

-P
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 8
  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now