cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1267
Views
0
Helpful
6
Replies

Please help to split traffic

vitalykovalenko
Level 1
Level 1

Hi. we have two 2821 cisco routers. they has interconnection, and ISP providers connected to each of them. Take a look attached picture.

Our ISP2 says that we can use IP address 3.3.3.2 for our own purposes. And we want to use this 3.3.3.2 for WiFi network.

It is very easy to put switch between cisco router and ISP2, one cable goes to CISCO router (3.3.3.1) and also we will connect the wifirouter and give him an IP address 3.3.3.2. And both routers goes via GW 3.3.3.3. But problem is that we cant to control traffic, if wifi network will generate a lot of traffic it will be very bad for us. and we want to limit it.

And we want to realize this feature on our CISCO router. I dont have much experience with CISCO routers,and I please you all, to give me some advices about that. How can we implement traffic control via CISCO router. For example 3.3.3.1->3.3.3.3  90%  and 3.3.3.2 ->3.3.3.3 10%.

What i have to use ? traffic shaping or what ?

6 Replies 6

Hi,

Make class-map and match the subnet you want as the way.

Then using policy-map, you give bandwith allocation to those class-maps.

HTH,

Smitesh

cadet alain
VIP Alumni
VIP Alumni

Hi,

to limit bandwidth you can police it with MQC.

Like smitesh suggested but with the police command under policy-map.

Alain.

Don't forget to rate helpful posts.

vitalykovalenko
Level 1
Level 1

i have a question about physical connection.

Now isp2 is connected to the ethernet port. I need to make a vlan with 2 ports, first - ISP2  and another, for WiFi router. Is it right ?

vitalykovalenko
Level 1
Level 1

Can you help with the commands.

I found that outgoing traffic we can limit with "shaping". What do you think about it?

For example

traffic-shape rate 1000000

Our configuration:

interface which connected to ISP2 GW.

interface GigabitEthernet0/1

description ISP2

ip address 3.3.3.1 255.255.255.0

ip access-group 103 in

no ip redirects

no ip unreachables

no ip proxy-arp

duplex auto

speed auto

no mop enabled

!

This interface we want to connect with WiFi Router.

interface GigabitEthernet0/0

description wifi

no ip address

no ip redirects

no ip unreachables

no ip proxy-arp

duplex auto

speed auto

no mop enabled

!

Please help me with configuration. how can i create a VLAN? and make shaping ?

Hi,

You can shape outbound or police inbound/outbound but the command you posted is Generic traffic-shaping, I suggest you use CB-shaping or CB-policing instead. here is a link explaining the difference between shaping and policing:

http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a00800a3a25.shtml

here are for configs:

http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfcbshp.html

http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/qcfpoli_ps1835_TSD_Products_Configuration_Guide_Chapter.html

Regards.

Alain.

Don't forget to rate helpful posts.

Kovitkovit
Level 1
Level 1

Thank you for you links, very usefull.

Now i trying to understand my first steps before trafic limitation. It is about physical connection and about vlan.

For my example. Please verify my steps.

GigabitEthernet0/1 is connected to our internet provaider (ISP2) GW, we get routes via BGP.

i will connect my wifi router to empty GigabitEthernet0/0.

now i need to create a vlan. do I have to use encapsulation ? please give me advice about VLAN.

how ?