Community discussions

MikroTik App
 
MichaelHallager
newbie
Topic Author
Posts: 44
Joined: Sun May 13, 2018 8:12 am

Packet marking by BGP peer

Wed Sep 04, 2019 1:34 pm

I have a CCR1009 and multiple BGP peers. Some I peer with through dedicated interfaces so this is easy to traffic-account for. However, some peers I reach via bilateral-peering through an IX and I need a way to account individually for this traffic. How can this be achieved to the point of the packet marking please?
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1742
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Packet marking by BGP peer

Wed Sep 04, 2019 6:34 pm

When you say that you need to "account" for it, what does that mean exactly?

Seems like you could use netflow for this purpose and then pull the data out of a netflow collector instead of adding the CPU overhead of marking every single packet
 
MichaelHallager
newbie
Topic Author
Posts: 44
Joined: Sun May 13, 2018 8:12 am

Re: Packet marking by BGP peer

Thu Sep 05, 2019 2:15 am

When you say that you need to "account" for it, what does that mean exactly?
Traffic In and Traffic Out. At present I do this with Firewall / Mangle and connection marking + packet marking. But I am not clear how to do this over an IX interface with multiple bilateral peers.