So i have now following config :
ip access-list extended ACL_MATCH_DM500
permit ip host 192.168.1.20 any
deny ip any any
ip access-list extended ACL_MATCH_DM800
permit ip host 192.168.1.10 any
deny ip any any
ip access-list extended ACL_MATCH_NAS
permit ip host 192.168.1.15 any
deny ip any any
class-map match-any HTTP
match protocol http
class-map match-any DREAM_RECEIVER
match access-group name ACL_MATCH_DM500
match access-group name ACL_MATCH_DM800
class-map match-any NAS
match access-group name ACL_MATCH_NAS
policy-map POLICY_CHILD_SHAPE_2M
class NAS
bandwidth percent 50
class DREAM_RECEIVER
bandwidth percent 10
class HTTP
bandwidth percent 19
class class-default
fair-queue
policy-map POLICY_PARENT_SHAPE_2M
class class-default
shape average 2000000
service-policy POLICY_CHILD_SHAPE_2M
I have a Cisco 1801 with DSL line. PPPoA.
I have tried to add the service policy to the ATM0.1 interface as following :
pvc 0/101
service-policy output POLICY_PARENT_SHAPE_2M
But i get an error now and i don't know how to continue :
Weighted Fair Queueing feature is not supported with ubr configuration.
What is the reason for this ? Any ideas ? meta
--EDIT--
So i have found the reason for this. I apparently had to enable following :
vbr-nrt 2044 2044
But i can't get it to work anyway. My problem now seems to be that the data does not go into the buckets. Here is the stats of the ACL's
Extended IP access list ACL_MATCH_DM500
10 permit ip host 192.168.1.20 any
20 deny ip any any (77806 matches)
Extended IP access list ACL_MATCH_DM800
30 permit ip host 192.168.1.10 any
40 deny ip any any (79306 matches)
Extended IP access list ACL_MATCH_NAS
10 permit ip host 192.168.1.15 any
11 permit ip any host 192.168.1.15
20 deny ip any any (22847 matches)
I think the problem is that i have misunderstood the concept of Input/Output on the ACL lines together with the flow of traffic thru the interfaces.
I have Internet -> ATM0 -> ATM0.1 -> Vlan1 -> Computers on NAT such as 192.168.1.15
I thought that traffic flowing from internet thru my network would be like this.
1. Traffic commes
In in Atm0 then
Out of Atm0 and
In in ATM0.1 then
Out of Atm0.1 and
In into Vlan then the traffic is sent to the ip behind NAT.
2. If traffic comes from the internal network towards the internet then internal network
In into Vlan then
Out of Vlan1 and
In into Atm0.1 then
Out of Atm0.1 and
In into Atm0 then out to the internet.
Since i am trying to Traffic Shape the traffic initiated from the internal network then i thought it was correct to use
Out on the ATM0.1 but it seems not.
What am i misunderstanding ? Is there anywhere i can get an overview of this concept ?