Networking :: How To Allocate Percentages Of Internet Bandwidth For Different Local Connections?
May 18, 2010
My linux box has 3 network adapter. eth0 connects with ISP, eth1 is for staff network, eth2 is for public user. I want to limit the usage of internet bandwidth. for example, the traffic going through eth0, 75% is for staff network, 25% is for public user.In addition, I setup shorewall on it for port forwarding and filtering, but I felt the traffic shaping of shorewall is complex. I don't need the specific TOS, but only the percentage. could you give me some suggestion?Which software or package I should use to achieve this goal?
View 3 Replies
ADVERTISEMENT
Oct 18, 2009
How will I allocate specific bandwidth to clients using squid? I use squid on RHEL5 serer ...
View 1 Replies
View Related
Mar 17, 2010
I have a Linux host connected via LAN to Internet. No proxy or squid is used on the host and outgoing traffic to Internet is not limited. I have several local users on this box. Recently bandwidth statistics on the switch/router showed increase in the Internet traffic from this host. How do I monitor the traffic utilization per local user on Linux host? I want to be able to monitor the amount of traffic per port and per user, like user alice downloaded 20GB today via port 22, and so on. Do not offer to use Squid, this is not just web traffic I want to monirot but all amount of incoming/outgoing traffic per user per port.
View 3 Replies
View Related
Jun 28, 2011
I have a UBUNTU server 10.04 LTS with 3 network interfaces (eth0,1,2) which eth0 is connected to my lan and others connected to two different ISPs , I would like to know is there any way to share bandwidth of this two ISP for my LAN , I mean for example if eth1 has X MB bandwidth and eth2 has Y MB bandwidth my clients those who use download manager for downloading file from internet has X+Y MB download and upload bandwidth.I do not want just limiting each user or service to use one of those interfaces I want to share them for all to increasing my internet bandwidth
View 4 Replies
View Related
Aug 8, 2009
I want to write a custom rule to allow all connections to the ip addresses on my local network (192.168.2.2 through ...99) but I don't know how. I know adding a custom rule asks me to read a file and put it in "iptables" format, but I don't know how...
View 5 Replies
View Related
May 16, 2011
I have an Ubuntu box, and there are two another PCs with Windows XP at my home.There is a TP-Link WR340GD wireless broadband router, and a Motorola SB5101E cable modem. Maximum download speed of the Internet connection is about 6 Mbit/sec.While I'm starting some download processes on the Ubuntu box, the other two PCs get only small bandwidth according to their users, although download speed on my computer does not often exceed its maximum.
More precisely: I usually download files at approx. 1 Mbit. The other users complain about that I slow down the Internet connection at their computers, and tell me to stop using the Internet.Is it possible to improve the usage of internet bandwidth, and share the connection fairly between computers
View 1 Replies
View Related
Aug 3, 2011
very slow internet connection with a download speed of only five kbps and my problem is i have many softwares installed which startup during my boot and i can see network activity in the system monitor that some software is using my internet speed and all other important downloads run slow...Can anybody tell me some softwares which tell me which software is using my internet bandwidth, I tried iftop and it shows only the connection between client and server with ip address ...I need softwares which tell the software using the internet bandwidth
View 2 Replies
View Related
May 30, 2011
I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.
View 5 Replies
View Related
Mar 24, 2011
I've got a Ubuntu Server Linux router that I've got 2 internet connections hooked to. One of them is DSL and the other is cable.
What I'd like to do is have everything go through the DSL connection EXCEPT for one desktop, I'd like that system to go through cable for everything.
Here's a diagram of how I've got things set up.
[URL]
I don't have any more expansion slots on the mainboard of my server for another NIC, also I do a lot of file transferring between a laptop and the desktop I want on the cable connection so I don't want that slowing down the rest of my network.
I've got both providers set up in the providers file and I've got everything going through the DSL connection right now. So far everything I've tried has stopped the desktop from connecting out at all.
View 2 Replies
View Related
Sep 15, 2009
I have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.
It is running Ubuntu server 8.10
The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.
My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.
I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.
Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.
View 2 Replies
View Related
Feb 25, 2009
I have a question, regarding the use of two internet connection on the same server. So, the thing is like this: The server will have 3 network adapters: connected to a DSL modem (on this adapter I have one of the internet connections, a PPPoE connection. It's only purpose is to share the internet connection to all LAN users using SNAT.
eth1 ----> the other internet connection, a much more expensive one actually, used for hosting a website, a domain name server, and a qmail server. eth2 ----> LAN connection So what I want is to make eth1 the "default gateway" (for outgoing mail, DNS requests, etc) and, as I said, use the ppp0 connection on eth0 only for internet sharing in LAN.
My question is (since I'l configure this server in about one week), does anybody have any suggestions regarding how could I accomplish this? I mean, I'm affraid that ppp0 will also try to use the default gateway from the other internet connection and vice-versa. Now, I know I can use the ip route/ip rule commands, but for many reasons I'd like to keep it simple and not use them.
View 4 Replies
View Related
Jun 22, 2009
I have two internet connections. One is wired ADSL Broadband & another is USB EVDO modem. I can use only one source at a time. That means the traffic will pass through either ADSL or EVDO. Other connection just sits idle. I want to use both the connections together so that I will have increased bandwidth. Is there a way to do that?
My computer has one NIC card. Both ADSL & EVDO use dynamic IPs.
View 1 Replies
View Related
Apr 7, 2010
I have the latest Ubuntu (9.10) desktop. My 2 cards are:
WiFi: Intel(R) Wireless WiFi Link 5100
Ethernet: Marvell Yukon 88E8072 PCI-E Gigabit Ethernet Controller
Is there any way to get drivers working? My hardware switch is on and i have Ubuntu 9.10 running persistently on my usb so i can download the drivers etc. and install them.
View 7 Replies
View Related
Jun 7, 2010
I am a user of Ubuntu 10.04 and I use Firestarter because it lets me know which IPs I am connected to, which ports are used, and which applications are using those ports. The problem is that I can't use Firestarter with my non-sudo account (well, I know that I can change my system settings to do that, but I'd rahther not do it).
So the question is: Is there any application that lets the user monitor the internet connection?
View 1 Replies
View Related
Feb 17, 2010
I have a firewall ( a pc with debian 5) with 2 internet connections. each connected to a ethernet card (the firewall has 2 ethernet pci cards so it has one connection per card)how can i balance the internet requests from my LAN using this 2 connections?
View 3 Replies
View Related
Feb 3, 2010
I have to configure squid server which will have two internet connections on two separate lan cards and both will run simultaneously.I know how to configure squid server with one internet connection
View 4 Replies
View Related
Nov 18, 2010
I created a the class like this for shaping the packets with a specified bandwidth rate.....
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 750kbit ceil 750kbit
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 600kbit ceil 750kbit prio 0
For Our Requirement:-
I dont want to specify the bandwidth rate strictly like this rate750kbit ceil 750kbit,based on whatever speed is coming which should allocate the bandwidth rate for particular class...I need one application for finding the upcoming bandwidth & Is any other method is there for specify the bandwidth rate in a classes.
View 1 Replies
View Related
Sep 18, 2010
While using Ubuntu two other computers lose their connection. One (main) is connected to the modem, other from the switch to the wireless router, and the one with ubuntu wired via switch. Currently connected with Windows 7, other two are connected. Once booted into Ubuntu rest of the computers disconnect?
View 6 Replies
View Related
Oct 29, 2010
I Installed Ubuntu which was on the laptop before and this install doesn't want to work with a Internet connection. I know my connections is good and the Laptop is fine because it used to have dual boot and windows connected fine.
View 2 Replies
View Related
Jul 13, 2011
I'm trying to set up an openVPN server for a small office. I've gotten the server running, and configured keys, and been able to connect to the server. The trouble is that once I connect with my windows machine to the server, I am unable to bridge through to the www. I have combed through so many settings and tutorials, and I am confused as to how to set up the interfaces configuration file. Here's a sample of my routing table:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
XXX.XXX.XXX.0 * 255.255.255.128 U 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
default XXX.XXX.XXX.1 0.0.0.0 UG 100 0 0 eth0
How should I be configuring this so that when I'm in the VPN I can get through to the internet?
View 9 Replies
View Related
Apr 11, 2009
Can I bind 2 interent connections or more on same fedora server to create bigger one with double bandwidth ,or it needs a specific router to be able to do this.
View 1 Replies
View Related
Sep 18, 2009
I have seen several threads lately about slow internet connections here and elsewhere, but I haven't seen anyone post a reply about blacklisting ipv6 so I am curious as to why?Is ipv6 enabled only on certain distro's or is there some other reason that it's not mentioned?
<If anyone wants to try it, to see if it would work for them>
On Slackware 12.2 and Salix 13.0 just add "blacklist ipv6" to the /etc/modprobe.d/blacklist file. I'm not sure about non-slackware based distro's. Unfortunately, I don't know any way of doing it without rebooting.
View 5 Replies
View Related
May 25, 2010
I'm running ubuntu lucid and i was thinking in purchasing one or more extra wifi cards to try to configure my computer to manage different conections at the same time, with different isp's. The thing is that I'm not quite sure if what i want to do is actually possible.
The easiest way that crossed my mind was to try to configure a / multiple virtual machines that are redirected threw proxies to ubuntu and try to configure that each proxie port goes threw a different internet gateaway. This way i might be able to divide threw different sessions of JDownloader, installed on each virtual machine, the things i want to download. The negative aspect of this idea is having multiple jdownloader sessions will make my laptop work to almost 100% for sure...
Another thought i have was to make JDownloader manage its downloads in only one session redirecting them to my internet conections; the negative thing is that i think i will have to try to modify its source and learn java...
And well my last possible configuration i had in mind was to try to make ubuntu directly add up all my internet conections manage as if it was one. the negative thing here is that i might not be able to get multiple downloads from some sites
Well, all this where just thoughts, im struggling whether to buy another card or not to try to setup any of this configurations but im not really sure if any of them are actually possible. Is there an easy way to manage this?
I just want to take the most out of my internet conections... if i'm at college i have to options that are quite slow, adding them up with two cards would be great, i might also be able to add a third and a fourth conection. Also if i'm on a coffe and i need some bandwith i could try to make it go with an open network arround, etc.
View 1 Replies
View Related
May 31, 2010
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
My OpenVPN config file (some details omitted)
--remote [gateway ip] # vpn12 load:
--remote [gateway ip] # vpn11 load:
--remote [gateway ip] # vpn15 load:
--remote [gateway ip] # vpn16 load:
[code]....
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
View 2 Replies
View Related
May 12, 2010
My problem is that I would like to load balance or aggregate 2 separate Internet connections on my laptop. Currently a hard line ISP is not available so I'm using an Sierra Wireless 885 USB air card. Thing is the card is quite slow. I also can tether an iPhone to the laptop. The ideal solution would be to have both connections being utilized to help speed up the overall experience, even if it is only a modest gain in speed.
as I do not know much about iptables and basic TCP/IP routing, I'm finding it difficult to implement those solutions. If someone can point me in the right direction ( a slightly dumb down how:to? or better explained? )
BTW, both phone and aircard get dynamic IP's. Running Ubuntu 10.4
View 6 Replies
View Related
Aug 30, 2010
My local network contain four computers and they have dynamic Internet connection. i want to access one of my local network computer using ip address or name when i am at my office or any other place. so how can i do this sort of thing. I not care about security issues. My network all computer have Ubuntu 10.04 and their ip range is 192.168.1.2 to 192.168.1.6. Note :- My machine have glass-fish server that what i want to access(using 8080 port) remotely.
View 6 Replies
View Related
May 3, 2010
I Have Ubuntu 9.10 Server installed and for some reason after updating our server with the ubuntu update manager, we can no longer connect to the network via remote desktop, let alone not even able to ping. We are actually able to connect to the internet itself just fine so I dont understand why this isn't working
View 3 Replies
View Related
Mar 22, 2011
I have created more A record in dns. one record is link to my local ip, i have already static ip, how can i access my local website from global.
View 11 Replies
View Related
Sep 28, 2009
I am using Fedora 11 all upgrades, wireless network WUSB54G network adapter. I can get to the internet but cannot get to any Windows (192.168.1.100) or Fedora 11 (...104) computers, printer (....101, 105). Here are the tests I have run.
[root@Fedora2 sbin]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.76 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=268 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.63 ms
^C
--- 192.168.1.1 ping statistics ---
View 1 Replies
View Related
Jun 4, 2010
my computer with ubuntu 9.10 is in a LAN. We use static ip and do not have dhcp. I can go up to our server and browse our website but cannot access internet. my ifconfig, iwconfig, lspci are as follows...
[Code]....
View 3 Replies
View Related