Community discussions

MikroTik App
 
Alex
Member Candidate
Member Candidate
Topic Author
Posts: 214
Joined: Thu Sep 30, 2004 11:07 am

Division of the local and international traffic

Tue Jan 18, 2005 4:18 pm

how i can do it on RouterOS v 2.8.21, if i have local ip adresses list???If it is possible in an example.
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Tue Jan 18, 2005 4:22 pm

 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Jan 18, 2005 4:22 pm

 
Alex
Member Candidate
Member Candidate
Topic Author
Posts: 214
Joined: Thu Sep 30, 2004 11:07 am

Tue Jan 18, 2005 5:23 pm

ok.thx.how can i shape 1.5 mbps of international traffik for 10.12.10.0/22 and 3.5 Mbps of international for 192.168.0.0/22 if i have marked it? these subnets are at same interface
 
Alex
Member Candidate
Member Candidate
Topic Author
Posts: 214
Joined: Thu Sep 30, 2004 11:07 am

Wed Jan 19, 2005 12:00 am

can you answer me, i`m on right way? i need guarantee 3,5 mbps for 192.168.0.0/22 and 1,5 mbps for 10.12.10.0/22. i marked all international traffik with mark-flow=interational


/ip firewall mangle add flow=international src-address=192.168.0.0/22 \
mark-flow=client192168
/ip firewall mangle add flow=international dst-address=192.168.0.0/22 \
mark-flow=client192168
/ip firewall mangle add flow=international src-address=10.12.10.0/22 \
mark-flow=client1012
/ip firewall mangle add flow=international dst-address=10.12.10.0/22 \
mark-flow=client1012

/queue tree add parent=public flow=client192168 max-limit=3584000
/queue tree add parent=local flow=client192168 max-limit=3584000

/queue tree add parent=public flow=client1012 max-limit=1536000
/queue tree add parent=local flow=client1012 max-limit=1536000

P.S i have real ip addresses, masquerading is disabled.
 
Alex
Member Candidate
Member Candidate
Topic Author
Posts: 214
Joined: Thu Sep 30, 2004 11:07 am

Wed Jan 19, 2005 8:49 am

Edzix?Eugene?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Wed Jan 19, 2005 12:23 pm

If you are using masquerading, then you need to change
/ip firewall mangle add flow=international src-address=192.168.0.0/22 \
mark-flow=client192168
/ip firewall mangle add flow=international dst-address=192.168.0.0/22 \
mark-flow=client192168 
to
/ip firewall mangle add flow=international src-address=192.168.0.0/22 \
mark-connection=client192168
/ip firewall mangle add connection=client192168 mark-flow=client192168 

Who is online

Users browsing this forum: Amazon [Bot], duquesnoyinfo, Google [Bot], jaclaz, Javokhir, qatar2022, rspott and 214 guests