Community discussions

 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

"Internet bandwidth" VS "Youtube bandwidth"

Wed Feb 28, 2018 9:36 pm

Hi,

First of all I am sorry that I am asking a lot of question but I have no other way.

I have just started a small scale ISP business. I have local client and one re-sellers.

As I live in a remote area so I just started with 30M internet bandwidth and 60M youtube bandwidth.
To configure on my mikrotik they gave me real IP which I am mentioning below:

For internet:
IP: 180.***.***204
Subnet: 255.255.255.248
Gateway: 180.***.***.201
DNS: 180.***.129.3
DNS: 8.8.8.8
For youtube:
IP1: 103.***.***.0/24
IP2: 180.***.***.0/24
IP3: 43.***.***.192/27
IP4: 103.***.***.0/27
IP5: 31.***.***.0/16

Now I am asking for help.

Question 1: Is it possible to bind all the youtube IP together in a single local IP or multiple local IPs?
Question 2: I have already configured internet bandwidth but how I can I configure youtube bandwidth?
Question 3: How can I configure my bandwidth management as if my local client purtchase 1M bandwidth they will get 2M youtube?
Question 4: How can I configure my bandwidth management as if my re-sellers purchase 10M bandwidth and 20M youtube,
how do I provide them the youtube bandwidth as they have too sale their local clients like me.
So I have to give them a single IP for internet and a single IP for youtube?


Thanks in advance.
 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Fri Mar 02, 2018 7:32 pm

Anyone please?
 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Fri Mar 02, 2018 8:54 pm

Is there no one who are kind enough to help me or at-least try to?
 
lambert
Long time Member
Long time Member
Posts: 526
Joined: Fri Jul 23, 2010 1:09 am

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sat Mar 03, 2018 8:29 am

Possible answers. I may have mis-interpreted the questions.

Q1) /ip firewall address-list add name=youtube address=IP1, repeat for all youtube IPs?
Q2) Same as for internet but with dst-address-list=youtube?
Q3) Two sets of queues, one for bandwidth one for youtube?
Q4) Same as 3 but with changes to 10 Mbps and 20 Mbps?

I don't know if any of that will help.
 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sat Mar 03, 2018 11:18 am

#lambert.

Q1: I did add all the youtube IPs in "/ip firewall address list" but do I have to add all those addresses in "/ip addresses"?
Q2: Didn't understand "Same as for internet but with dst-address-list=youtube?" In which section do I have to use this?
Q3: You are right on this. How do I separate or distribute both queues? By creating mark conn and mark packet?
Q4: You are right on this too but how do I configure on their mikrotik device, so that they can provide them to their clients?

Thanks for taking your time to reply.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 1263
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Randburg
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sat Mar 03, 2018 1:11 pm

Possible answers. I may have mis-interpreted the questions.

Q1) /ip firewall address-list add name=youtube address=IP1, repeat for all youtube IPs?
....
You no longer have to create one for each IP Address, just enter www.youtube.com in address list and it will automatically create sub address lists with all the IP's
MTCNA, MTCTCE, MTCRE & MTCINE
 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sat Mar 03, 2018 2:48 pm

Possible answers. I may have mis-interpreted the questions.

Q1) /ip firewall address-list add name=youtube address=IP1, repeat for all youtube IPs?
....
You no longer have to create one for each IP Address, just enter www.youtube.com in address list and it will automatically create sub address lists with all the IP's
#CZFan,

Can you tell me how can I only add "www.youtube.com" in my addresss list?
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 1263
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Randburg
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sat Mar 03, 2018 3:08 pm

MTCNA, MTCTCE, MTCRE & MTCINE
 
lambert
Long time Member
Long time Member
Posts: 526
Joined: Fri Jul 23, 2010 1:09 am

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sat Mar 03, 2018 4:35 pm

#lambert.

Q1: I did add all the youtube IPs in "/ip firewall address list" but do I have to add all those addresses in "/ip addresses"?
No. Not as far as I understand your problem description.
'/ip addresses ' is for IPs which are used for routing through or access to your router.

That includes 180.***.***.204/29 on your uplink interface and whatever RFC1918 space you are using to communicate with your customers / resellers.
Q2: Didn't understand "Same as for internet but with dst-address-list=youtube?" In which section do I have to use this?
It depends on how you limited Internet throughput. You said you had done it, but did not describe how. The youtube IPs are used for matching the destination address of traffic from your network to youtube, or traffic sourced from the youtube servers to your network, so that it can be treated differently from general Internet traffic. You did not tell us how your youtube traffic is delivered to you. For now, I am assuming it comes on the same connection as your Internet transit connection.
Q3: You are right on this. How do I separate or distribute both queues? By creating mark conn and mark packet?
That sounds probable based on how little we know about the specifics of how you have configured your internet rate limits.
Q4: You are right on this too but how do I configure on their mikrotik device, so that they can provide them to their clients?

Thanks for taking your time to reply.
Once your router is configured use its configuration as a template to configure 'their' routers. Just reduce the parent queues' limits appropriately.

When posts do not get replies it is often because the question is not clearly understood by others on the forum. Sometimes the question does not provide enough detail for more than a crazy guess. Your question had both issues. Diagrams and sanitized configuration samples from your device can help overcome language / jargon / vocabulary / conceptual barriers.
 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sun Mar 04, 2018 1:38 am

#lambert.

Sorry I should have provide more detail info about my problem.
Anyway I am providing images that what I did with youtube IPs.


Image

Image

Image

Thanks
 
lambert
Long time Member
Long time Member
Posts: 526
Joined: Fri Jul 23, 2010 1:09 am

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sun Mar 04, 2018 5:44 am

Looks good at a glance. Is it working for you?

The screenshots do not show full detail. If it is working, great!

If you need help in the future, exports from the terminal will help others understand exactly what is configured. Just search and replace sensitive items with unique variable names. It's easier than editing screenshots.

Good luck in your business.
 
User avatar
mirzasakib
just joined
Topic Author
Posts: 7
Joined: Wed Feb 28, 2018 8:57 pm
Location: Muradnagar, Comilla, Bangladsesh
Contact:

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sun Mar 04, 2018 10:12 pm

#lambert,

Yeah it is working for me for my local clients but didn't worked on my re-seller clients.
Do I have to do the same configuration on my re-seller mikrotik?

Thanks for your advice, I will keep those in mind from next time I post something.

Thanks.
 
lambert
Long time Member
Long time Member
Posts: 526
Joined: Fri Jul 23, 2010 1:09 am

Re: "Internet bandwidth" VS "Youtube bandwidth"

Sun Mar 04, 2018 11:19 pm

If the resellers' business model is the same as yours, their mikrotiks will need a similar configuration.

As you use it you may find that your mangle and queue rules need some adjustment. Just keep in mind the source and destination of the traffic you are attempting to affect and you'll have a good idea of what you need to do.

One of your youtube queues didn't show the youtube packet mark in your screen shot. Maybe that's the reseller for which it's not working?

Some of your internet queues were unlimited. That may have been on purpose.

Who is online

Users browsing this forum: No registered users and 7 guests