LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2010, 05:39 AM   #1
anuragmaddi
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Question Network traffic shaping


I am Anurag Singh.I have done MCA and CCNA right now i am working as a network administrator in a college. The problem is this the server which is placed in college is Linux (Fedora 9).So i dont have idea about Linux Server so please help me please if you can.

My first problem is how to change IP address in linux using command line because GUI mode is not working is there any body to help me out please.

My second problem is i want to learn Linux as soon as posible.

My third and major problem is that i have to do some scripting work because in my college there are 8 hostel in which i have to define bandwidth management like i am using 13 MBPS so i have to distribute it 8mbps(9am - 5pm) to hostel and 5mbps to other segment and total 12Mbps to hostel after 5pm to 9am and 1Mbps to other segment so please help me please.
 
Old 10-07-2010, 05:44 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Thumbs up

Quote:
Originally Posted by anuragmaddi View Post
My first problem is how to change IP address in linux using command line because GUI mode is not working is there any body to help me out please.
Use setup or neat-tui to change IP address. And then run service network restart.

Quote:
Originally Posted by anuragmaddi View Post
My second problem is i want to learn Linux as soon as posible.
There are no shortcuts, I would recommend you to first go for RHCT course and RHCE.


Quote:
Originally Posted by anuragmaddi View Post
My third and major problem is that i have to do some scripting work because in my college there are 8 hostel in which i have to define bandwidth management like i am using 13 MBPS so i have to distribute it 8mbps(9am - 5pm) to hostel and 5mbps to other segment and total 12Mbps to hostel after 5pm to 9am and 1Mbps to other segment so please help me please.
I have not much idea about this, but I do not think scripting would help you in achieving this.
 
Old 10-07-2010, 06:20 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

Your First Problem's Solution:

Quote:
setup

service network restart

chkconfig network on
Your Second Problem's Solution:
To learn Linux follow this links(read it )as soon as possible.The more fast you read and practice,the fast you will learn.Its in you hand:

http://www.linuxhomenetworking.com

http://tldp.org/LDP/sag/sag.pdf

http://www.centos.org/docs/4/pdf/rhel-sag-en.pdf

Your Third Problem's Solution:

Configure squid for web caching and bandwidth throttling!

Follow links:
http://www.howtoforge.org/squid-dela...dth-management

http://knowlinux.blogspot.com/2006/0...ing-squid.html

http://www.faqs.org/docs/Linux-HOWTO...ing-HOWTO.html

Note:Configure squid in transparent mode.Also you need to make following changes in squid.conf for time based internet services:
How can I allow some clients to use the cache at specific times?

Let's say you have two workstations that should only be allowed access to the Internet during working hours (8:30 - 17:30). You can use something like this:

Quote:
acl FOO src 10.1.2.3 10.1.2.4
acl WORKING time MTWHF 08:30-17:30
http_access allow FOO WORKING
http_access deny FOO
Allow some users to use the cache at specific times?
Quote:
acl USER1 proxy_auth Dick
acl USER2 proxy_auth Jane
acl DAY time 06:00-18:00
http_access allow USER1 DAY
http_access deny USER1
http_access allow USER2 !DAY
http_access deny USER2
Refer this links:

http://nxlinuxadmin.blogspot.com/201...ed-access.html
http://www.deckle.co.za/squid-users-...trol_Operators
 
Old 10-08-2010, 05:38 PM   #4
rustek
Member
 
Registered: Jan 2010
Location: Melbourne, IA, USA
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 8
The third could be traffic control?

A good place to start there is:
http://www.linux.org/docs/ldp/howto/...WTO/index.html

Be warned, that subject is kind of a bugger.
 
Old 10-08-2010, 06:29 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
first problem
Fedora 9 is and has BEEN DEAD for a very long time

there have been NO SECURITY UPDATES no bug fixes and NO NEW SOFTWARE for over a year


fedora is a research and develpoment / testing distro and has NO business on a server
unless YOU LIKE to reformat and install the next new version EVERY 6 MONTHS
that is A LOT of down time for a server !!!
DO NOT use fedora on a server !!!

the current is 13 and fedora 14 will be out in a few weeks
you are allready 4 to 5 versions OUT OF DATE

please do the rest of the net a very big security favor and install a SUPPORTED long life distro
CentOS would be a good choice
 
Old 10-08-2010, 08:38 PM   #6
leejohnli
Member
 
Registered: Sep 2010
Posts: 66

Rep: Reputation: 2
Linux Enterprise distro is also a good choice if ever you want to migrate your linux box server.
 
Old 10-09-2010, 04:05 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
anuragmaddi, in future, please use thread titles that say something about your question/problem, as you're told to when you post a thread (and you're also told that titles like "Help me" are bad).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with TC Traffic Shaping landysaccount Linux - Networking 1 05-09-2009 07:14 PM
Problem with Traffic Shaping and HTTP Traffic. redvivi Linux - Networking 1 11-29-2008 01:23 PM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 01:09 AM
Monitoring/Shaping network traffic TooSlow Linux - Networking 6 06-29-2007 09:55 AM
Traffic shaping for network w/ 1 NIC johnsto Linux - Networking 2 10-10-2004 06:55 AM


All times are GMT -5. The time now is 06:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration