LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-27-2010, 11:06 PM   #1
Deewanagan
Member
 
Registered: Sep 2008
Posts: 57

Rep: Reputation: 15
Testing bandwidth management Policies


Hi Everybody,

The question i have belongs to networking and virtualization, so i decided to post it here

I want to implement bandwidth shaping policy in a virtual environment. So i have 2mbps link, which i want to distribute it among Email,http(s),ssh,... and some other traffic. I want to do this in a virtual environment, for testing purpose. I want to run this script on a virtualbox virtual machine, which has ubuntu installed on it. and then use that as the router.

So my questions are:

(a) is there any software that could simulate email,http,... traffic so that i could test it?

(b) my second question is (though not related to networking) how do i set a (virtual) machine as a router? or is it even possible?

Thanks,
 
Old 11-27-2010, 11:56 PM   #2
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Quote:
Originally Posted by Deewanagan View Post
So my questions are:

(a) is there any software that could simulate email,http,... traffic so that i could test it?

(b) my second question is (though not related to networking) how do i set a (virtual) machine as a router? or is it even possible?

Thanks,
as for Question A) I do not know of software that might emulate that kind of traffic, I'm sure there is something out there. Google is your friend

as for Question B) As for a router, you could use the HOST System (ie: Fedora) as your router. As in the machine that runs the virtualization software to create your VM's. Or you can create a VM "Guest" in your Virtual Environment that can be a router for the Virtual Environment, and then add a Route to the primary router "linksys WIFI/Router, or your personal choice"

You will want to focus on "IPTables" not "IPChains - Depreciated"
A very good site to understand the fundamentals of a linux router/firewall

http://www.yolinux.com/TUTORIALS/Lin...rkGateway.html


Hope this Helps!
 
  


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
Bandwidth Management pHreak Linux - Newbie 6 01-05-2010 07:06 AM
LXer: Open Source Use On The Rise, But Management Policies Lag LXer Syndicated Linux News 0 03-13-2009 03:50 PM
Bandwidth testing eggoz Linux - Networking 2 05-26-2006 01:05 PM
Testing Site Bandwidth belorion General 1 11-29-2004 01:15 PM
bandwidth management louies Linux - Networking 2 12-05-2003 12:32 AM

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

All times are GMT -5. The time now is 02:38 PM.

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