Community discussions

MUM Europe 2020
 
tomas
just joined
Topic Author
Posts: 13
Joined: Fri Mar 24, 2006 8:29 pm

Separate traffic over pppoe???

Fri Mar 24, 2006 9:14 pm

I'm trying to separate traffic on pppoe server on internet and local for pppoe clients.

Until now i have used this rule for separate local and internet bandwidth:
1. src-address:192.168.0.0/16 dst-address:192.168.0.0/16 no limit
2. src-address:0.0.0.0/0 dst-address:192.168.0.0/16 limit 2 mbps

Currently I have this kind of setup for pppoe:
client is connecting to pppoe server on mt with radius authentication ,
when users log in MT make pppoe interface for that user,
I think that MT accounting all traffic for that interface and because of that i can't separate traffic based on rule above.

When pppoe client connects i can separate local bandwidth and internet bandwitdh...
I have make static rule in simple queue like no.1 rule above for local
bandwitdh.
Rule for internet is created dynamicly and controls bandwidth for all other traffic.

That works perfectly for bandwidth control.
Only problem is that the freeradius is counting all traffic local and internet.

I want my radius server only to logs internet traffic but not local,

How to tell radius not to log local traffic?
Can MT do something like that
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Fri Mar 24, 2006 9:32 pm

as RADIUS is accounting traffic per user-session i don't think its possible.

the only thing i know is netflow, which counts traffic on ip-address-tuples:
http://www.mikrotik.com/docs/ros/2.9/guide/accounting.
 
nhalachev
Frequent Visitor
Frequent Visitor
Posts: 99
Joined: Fri May 28, 2004 4:41 pm
Location: Bulgaria

Re: Separate traffic over pppoe???

Mon Mar 27, 2006 11:07 am

How to tell radius not to log local traffic?
Can MT do something like that
You cannot log local traffic via radius, but you may make use of /ip traffic-flow :
http://www.mikrotik.com/docs/ros/2.9/ip/traffic-flow

Who is online

Users browsing this forum: dadoremix, Google [Bot], Google Feedfetcher, MSN [Bot] and 93 guests