10-11-2011 01:47 AM - edited 03-04-2019 01:53 PM
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 ?
10-11-2011 01:51 AM
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
10-11-2011 03:01 AM
Hi,
to limit bandwidth you can police it with MQC.
Like smitesh suggested but with the police command under policy-map.
Alain.
10-11-2011 07:09 AM
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 ?
10-12-2011 12:26 AM
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 ?
10-12-2011 01:25 AM
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
Regards.
Alain.
10-12-2011 01:14 PM
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 ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide