use virtual templates for per user rate limits on a lan?

Discussion in 'Cisco' started by spec, May 28, 2006.

  1. spec

    spec Guest

    Hi all, can virtual templates be used to set rate limits per source ip
    on an ethenet interface?

    ie) no use of pppoe, simply spawing new subinterfaces for all hosts
    using an ethernet interface on a cisco router and then applying rate
    limits to the subinterfaces?
    spec, May 28, 2006
    #1
    1. Advertising

  2. spec

    Darren Smith Guest

    Hi,

    This is exactly what i do for users, currently have around 300 users
    terminating on a 7206VXR.

    Example config is as follows:

    Set DHCP Pool for customer (IP addresses are usulally public /30 addresses.)

    ip dhcp pool Customer_Name
    network 192.168.100.0 255.255.255.252
    default-router 192.168.100.2
    dns-server 202.92.65.254 202.92.65.252

    Create inbound and outbound limits :

    policy-map 2Mb_police
    class class-default
    police rate 2048000 bps

    policy-map 2Mb_shape
    class class-default
    shape average 2000000

    Setup Sub-Interface for each client:
    interface GigabitEthernet0/1.149
    description Customer_Name
    encapsulation dot1Q 149
    ip vrf forwarding VRF_to_Internet
    ip address 192.168.100.1 255.255.255.252
    ip verify unicast source reachable-via rx
    service-policy input 2Mb_police
    service-policy output 2Mb_shape

    Regards

    Darren


    "spec" <> wrote in message
    news:...
    > Hi all, can virtual templates be used to set rate limits per source ip
    > on an ethenet interface?
    >
    > ie) no use of pppoe, simply spawing new subinterfaces for all hosts
    > using an ethernet interface on a cisco router and then applying rate
    > limits to the subinterfaces?
    >
    Darren Smith, May 28, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    2
    Views:
    826
  2. JayDubb
    Replies:
    2
    Views:
    930
    JayDubb
    Jun 4, 2006
  3. Patrick Cervicek
    Replies:
    0
    Views:
    753
    Patrick Cervicek
    Aug 7, 2007
  4. Andrew
    Replies:
    5
    Views:
    689
    Mark C
    Feb 14, 2006
  5. Giuen
    Replies:
    0
    Views:
    589
    Giuen
    Sep 12, 2008
Loading...

Share This Page