How to shape traffic between the lan ports

Discussion in 'Cisco/Linksys Wireless Routers' started by wdebusschere, Feb 22, 2008.

  1. wdebusschere

    wdebusschere LI Guru Member

    We want to share an internet connection between 2 servers.
    Pc1: lan port 1, pc2: lan port2. Each server has its own public ip.
    We want to connect the internet to lan port 3, but we can't use natting because of public ip's

    How can we now control the bandwith of the lan ports?
    We use the Linksys WRT54gl

    Thanks for your help
  2. mstombs

    mstombs Network Guru Member

    By default all the lan ports are combined into one VLAN and then bridged together with the wireless connection.

    Have a look at dd-wrt firmware, I recall it has a web gui method of separating each LAN port into its own VLAN - not sure how to shape traffic on each, probably would need to be by script.
  3. wdebusschere

    wdebusschere LI Guru Member

    DD-WRT VLAn: OK - Traffic shapping

    Ok, we did this, but we can't find how to limit the bandwidth for the vlan :(
    We appreciate your help.
  4. mstombs

    mstombs Network Guru Member

    I guess you've looked at Robsonn's script generator? I believe that has some tools for bandwidth allocation/QOS using only iptables commands.

    In a different field Acorp use "rshaper" in their Linux ADSL router firmware, this is a kernel module (no idea how to incorporate in wrt54gl!), see here for a typical config screen


    which can be used to control bandwidth to individual IPs
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice