LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2010, 01:25 AM   #1
acidphyx
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Bandwidth Limiting select WAN IP Blocks


First of all I appreciate your taking the time to read this.

Ok the situtation is this, I have a Debian based Server w/ a 100Mbps Dedicated Line and 4 WAN IP Address's.

I need to make the server differentiate between incoming connections from one or more specific WAN Netblocks, and then limit the transfer speed of the data transfer between my server and servers within the specified netblocks, while leaving all incoming connections from outside the netblocks un-throttled.

My thought was to create 1 virtual NIC (eth:1) and have the usual NIC (eth0). For instance assigned the following IP Address's

eth0 204.110.86.162
eth0:1 204.110.86.163

Then telling iptables to DNAT all (eth0) incoming connections (sourced within the specific netblocks) to the virtual NIC (eth0:1).

The virtual adapter (eth0:1) having a permanent bandwidth cap of 20Mbps.

It would then think that the rerouted connection would pass only through adapter (eth0:1) and be limited.

Am I totally off base here? I have looked online and read various "Bandwidth Limiting How To"s but nothing seems like quite what I need.

I do have a good amount of linux experience (CLI and GUI).

Any help is greatly appreciated. Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limiting bandwidth - PLEASE HELP lukeiam Fedora 3 07-20-2006 09:52 AM
limiting bandwidth Ammad Linux - General 1 10-06-2005 05:38 AM
bandwidth limiting gubak Linux - Networking 1 03-02-2005 06:51 AM
bandwidth limiting help!!! jojo1031 Linux - Networking 1 08-23-2004 09:05 AM
bandwidth limiting karunesh Linux - Networking 5 11-09-2002 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration