Networking :: Tc Rate Control Over Network

Jul 2, 2010

I want to implement rate control over network interface. So I have configured Linux PC as a router with netem installed and having two interface cards.

device1----> Linux router with netem ---> device2

device1 connects to eth0 and device2 connects to eth1 of the Linux router. eth0 is configured to connect to the internet and eth1 has a static IP address on a local network. I want to limit bandwidth on devices connected to eth0.So I applied the below rules using tc and tbf.

tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:3 handle 30: netem
tc qdisc add dev eth0 parent 30:1 tbf rate 256kbit buffer 1600 limit 3000

Will the above work or should I use htb instead. I want to simulate the network conditions using different bandwidths.

View 10 Replies


ADVERTISEMENT

Networking :: Rate Control In Ethernet

Apr 15, 2009

Can anybody tell me what is rate control and rate control mode of operation (in data link layer) in an Ethernet interface?. Does it have anything to do with auto negotiation in Ethernet?

View 1 Replies View Related

Fedora Networking :: Open The Network Device Control To Activate It But There Is No Network Ports In Network Device Control?

Jan 7, 2010

I just added a 2 port network card to a system that is running Fedora 11, but it is INACTIVE. I open the Network Device Control to activate it but there is no network ports in Network Device Control. It is empty.It looks like the system recognize the card and loaded correct driver.

View 4 Replies View Related

Networking :: Two Network Devices For Increased Transfer Rate?

Jan 28, 2011

I have not tried this, and I am only wondering about the result.Let's say that I have a PC/Laptop with two network devices: an ethernet and a wireless. Can I connect both of the to the same network (if this network allows both connection) to increase the transfer rate between the PC/Laptop and the server???

View 5 Replies View Related

Server :: How To Control The MTA Delivery Rate

Jun 29, 2011

We're building an Email Marketing web site for internal staff who needs to send emails to thousands of customers.but we're wondering if it's possible to control the MTA delivery rate, such as:

1. for @xxxx.com, only allows 5 con-current smtp connections and 100 emails/minutes?

2. how to bind multiple IPs and send emails in round-robin mechanism?

3. how to pause (such as: 10ms) between every delivery?

if you are familiar with Ironport's product, you may already know what we want to achieve.

View 1 Replies View Related

Fedora Networking :: Control Console USERS Network Access - F11

Dec 30, 2009

I have several local users on a F11 box. I want to keep one of those users from getting to the network. I could upgrade this machine to F12, if it offers a better solution.

View 1 Replies View Related

Ubuntu Networking :: Command Line Control Of Network Settings

Mar 10, 2010

I frequently ssh into machines to do work. In some cases, the machine is headless so there is no option to log in.Under Debian and on older versions of Ubuntu I would pull out the avahi and network-manager packages and manually configure the interfaces file to my liking and be done with it.However, I would now like to learn how to work within avahi/network manager. So, is there a doc somewhere explaining how to work with modern Ubuntu networking at the command-line level? Ie: Setting up a wireless connection, setting static/dynamic IPs, etc?

View 3 Replies View Related

Ubuntu Networking :: Control Bandwidth Usage On Home Network?

Dec 5, 2010

I'm running Ubuntu 10.04 and all was well on my home network until a household member decided to get a laptop and jump on my network. All he does is watch videos on ....., download crap from P2P sites, and maybe even watch p0rn. Is there something I can use to control this or maybe set my router to give him the minimum resources available? Also, I want to block him from downloading junk from P2P sites or places he might get a virus. I'm on a D-Link DGL 4500 Router.

View 1 Replies View Related

Fedora :: Control Of Network Connections/network Startup - 9 Gnome?

Jan 5, 2009

I have my box setup as a router/NAT with two different network cards. One for external connection(connected to the Cable Modem) one for internal connection(used for internal DHCP). It works perfectly when I manually activate the two interfaces after booting(both interfaces always show up as inactive after booting), then the DHCP server and firewall. I am confused, however, by which program has control of these interfaces.

First, there is the Network Configuration (System->Administration->Network), which is where I manually start the interfaces after rebooting. Both interfaces are set to "Activate when computer starts" in here.

Second, Network Device control(System->Administration->Network Device Control), which looks to be almost the same thing as the above.

Third, the NetworkManager applet(on the top bar) - both devices show up as unmanaged when I left click on this, but if I set "Controlled by Network Manager" in the "Network configuration" window(number one above), It still does not work. Can I get rid of two of these programs, or is there some way to edit the startup scripts to start my ethernet cards before the dhcp server/firewall(which is shorewall BTW)?

View 2 Replies View Related

Networking :: How To Limit Upload Rate?

May 30, 2010

I have a linux box running between my router and my LAN. My connection speed is 10MB download and 1MB upload. The issue is that whenever someone starts to upload something, it is like my connection is down. No one else can open websites, read emails etc.Is it possible to place a limit for upload, maybe 50kb/s? This way, people won't use the entire upload speed available.

View 1 Replies View Related

Networking :: NAS Over WiFi Transfer Rate

Mar 27, 2010

I have a LaCie NAS which is mounted on my main linux machine over a wifi LAN using the cifs file system. I would stupidly expect the transfer rate between my hard drive and the NAS to be limited by the Wifi speed (54 Mbps) but when I transfer files, the speed tops at 1.9 Mb/s which is roughly 15.2 Mbps. The most puzzling thing is that when I do multiple simultaneous transfers, I reach approximately 3MB/s in total but none of the individual transfers goes beyond 1.8. Does anyone have an idea about what is keeping the transfer rate so low?

View 2 Replies View Related

Fedora Networking :: Calculate The Available Bandwidth Rate?

Nov 11, 2010

We have a DSL , how can we calculate the available bandwidth so that we can shape the packet, We can assume the bandwidth to be 100mbps on the ethernet interface However, in DSL devices, the train rate(Bandwidth rate ) is varies according to different situation. How can i get the available bandwidth rate(from varies)?. Any method is there for getting the available bandwidth value....

View 7 Replies View Related

Ubuntu Networking :: How To Track Data Rate/use

Aug 8, 2010

I'm sure this is simple but I haven't a clue how to do it other than System Monitor, which only displays for the total uptime.

I want to see what my total network data use is in Bytes (GB, MB, or KB) downloaded/uploaded for the month or any given date range.

Rationale is I want to use wireless tethering from my phone to replace my broadband connection at home. At the moment my phone contract gives me unlimited data access, however if I were to sign a new contract today this would drop to 2 GB a month with hefty overage charges.

View 1 Replies View Related

Networking :: IPtables And Rate Limit Module

Apr 8, 2010

I'm a newbie in the world of netfilter/iptables. I've read an article about iptables and rate limit module:
Code: iptables -A INPUT -p ICMP --icmp-type echo-request -m limit --limit 1/minute --limit-burst 5 -j ACCEPT The firewall will let the first 5 packets in in the first minute, -limit-burst 5; this means, however, that the packets/minute now is 5, so any further packets are blocked until packets/minute = 1, i.e. 5 minutes later. In the sixth minute, packets/minute will be 5/6 < 1, so another ping request will be let in. When the extra ping request is admitted, the ratio becomes 6/6 = 1 again, and packets are DROPped again until the next minute.

Now I have some problems in understanding how it works.
For example: I want ping google.com in this way: the kernel firewall permits to send the first 5 packet to google.com (--limit-burst 5) and then it blocks the remaining packets for 5 minutes. At sixth minute (because I wish a limit rate equal to 1/minute: --limit 1/minute) one packet can send to google again. And so on.

So my rule should be:
Code: iptables -A OUTPUT -d url_of_google -p icmp --icmp-type echo-request -m limit --limit 1/minute --limit-burst 5 -j ACCEPT In this way, if i digit
Code: ping -f url_of_gogle I expect that the first 5 packets are accepted (and so zero '.' will print on the screen) and then for the remaining 5 minutes no one packets will be accepted (and so a long string of '.' will print). But it doesn't work...

In man pages of ping we read (about -f option):
-f Flood ping. Outputs packets as fast as they come back or one hundred times per second, whichever is more. For every ECHO_REQUEST sent a period ``.'' is printed, while for every ECHO_REPLY received a backspace is printed. This provides a rapid display of how many packets are being dropped.

View 2 Replies View Related

Networking :: Get The Available Bandwidth Rate From Variable Range

Nov 11, 2010

We have a DSL , how can we calculate the available bandwidth so that we can shape the packet, We can assume the bandwidth to be 100mbps on the ethernet interface
However, in DSL devices, the train rate(Bandwidth rate ) is varies according to different situation. How can i get the available bandwidth rate(from varies)?. Any method is there for getting the available bandwidth value..

View 1 Replies View Related

Networking :: How To Determine Bit Rate For Average Message In Within LAN Or LAN?

Jun 24, 2011

I need to knwo how to determine the bit rate for an average message in a within a LAN or LAN to Backbone.

View 3 Replies View Related

Networking :: Transfer Rate For Gigabit Ethernet

Apr 1, 2010

We have a Linux box which acts a a file server. Currently, files and directories are exported using NFS.At the moment, we are a bit concern on its data transfer performance. FYI, we are using a embedded Gigabit Ethernet port on the file server. We ran a few simple write tests between NFS client (also utilizes GigE port) and the NFS server. In these tests, both NFS server and client are both connected directly to each other with a Cat5E cable. Unfortunately, the write/transfer speed results are not as per our expectation. It scores roughly about 11-12MByte/s, where as theoretically Gigabit Ethernet transfer rate is able to reach up to approximately 120MByte/s.I wouldn't expect to reach the theoretical max transfer rate (it would be great if we can , but I would appreciate if you guys can share with us in terms of the following :

1) What's the practical max data transfer rate which you guys managed to observe in a normal Gigabit based connection? What about jumbo frames configuration?

2) Is there any additional tuning/configuration we need to do within the OS to reach those practical max data transfer rate figure?

3) Does PCI-e / system bus plays a role in achieving this speed? For example, we are using the embedded GigE port and we heard some people says embedded ports are actually sharing the system bus and resources with other devices, which might adds into performance issue. Correct me if I'm wrong.

4) Does converting to Cat6 cabling will guarantee an increase in the data transfer performance?

5) In the future (once we are clear on how much single GigE transfer rate we can go) , we are looking into doing bonding since that the NFS server's shared directory/volume read-write speed is way much higher (i.e 400-600MByte/s). Will bonding allow us to achieve higher NFS read/write speed? What are the bonding modes best used for this purposes? Appreciate if anybody who has experience in doing bonding for NFS can share their experience.

View 12 Replies View Related

Fedora Networking :: Slower Data Transfer Rate In KDE V GDM?

Nov 25, 2010

I have a FC13 box that has both Gnome and KDE sessions installed.

I have noticed on the KDE session that data transfer rates are slower than when I use Gnome.

In Gnome, I can transfer files between my FC13 machine and my Ubuntu 10.04 pc at a rate of 6.5 MB/s (52 Mb/s if my maths is correct), but in KDE the rate is only 3.5 MB/s (28 Mb/s).

"ethtool eth0" shows my NIC speed as 100 Mb/s. Obviously I am not hitting anywhere near that speed in either session, (a separate article may be happen in the future to address that), but I am curious as to why KDE is that much slower for file transfer.

View 3 Replies View Related

Ubuntu Networking :: Wireless Connected But Not At 'N' Rate (above 54Mbps)

Oct 14, 2010

I have a Linksys WUSB600N wireless adapter for my laptop which uses the rt2800usb drivers.My router:

Router Model: Linksys WRT150N v1.1
Firmware Version: DD-WRT v24-sp2 (07/22/09) mini - build 12548M NEWD Eko

The wireless usb adapter connects to my network, and the router is running on mixed mode, except that I cannot seem to get wireless 'n' connection speeds. Both are capable of wireless n. I check the connection info and it is always 54 Mbps. I have set the router wireless on N-only and I lose my connection.Is the standard driver for this usb adapter in Ubuntu 10.4 unable to utilize 'n' speeds?

View 2 Replies View Related

Ubuntu Networking :: Wireless Iwconfig Rate Auto Too Low?

Dec 14, 2010

left to its own devices my wireless connects at too low a speed. I have a 20meg internet connection and my wireless is slowing it down to like 3meg. When I reboot into windows it's fine. When I run iwconfig eth1 rate 11M or even 24M the connection is much faster and runs fine, why won't it automatically go higher? Is this the fault of the driver? I am running Broadcom's driver compiled from source. Also, how can I set it to 24M at boot?

Edit: I guess I can put iwconfig eth1 rate 24M in rc.local, but I'd still like to get auto running higher, especially as my signal should be pretty good. Output from iwconfig white rate=auto:

eth1 IEEE 802.11 ESSID:"honeypot"
Mode:Managed Frequency:2.417 GHz Access Point: xxx
Bit Rate=1 Mb/s Tx-Power:24 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff

[Code]...

View 1 Replies View Related

Networking :: Slow Transfer Rate Between 2 Gigabit Devices?

Mar 2, 2011

I am struggling trying to understand the reason for a fairly slow data transfer rate between two machines. ( tried point to point and also via a 1 gb switch )
One is nfs/http/ftp server ( with raid1 and lvm on top ), the other one my desktop pc. Both OS with default options, no changes to kernel in proc or other sort of thing.

Hardware is full recognized and perfectly working: The server has 4gb ram, Intel Core 2 Duo CPUE6850 @ 3.00GHz, 1000Mb/s NIC card and Lucid 10.04 64 bit, 250Giga Hard disk. The client has 3gb ram, Intel Core 2 CPU 6320 @ 1.86GHz, 1000Mb/s NIC card and Ubuntu Maverick 32bit , 150Gb Hard disk.

Raw data is good:
gettons@gettons-desktop:~$ iperf -c MYSERVER
------------------------------------------------------------
Client connecting to MYSERVER, TCP port 5001

[Code].....

View 8 Replies View Related

Networking :: Up-/download Rate For A Single Host (from Shell)?

Jan 25, 2011

I have a slave node uploading all kinds of backups to my server in the internet. Now I would like to display the actual upload and download rate to this server (not the entire nic-traffic, any protocol) in a small php-page for easy monitoring.I had a look at quite some monitoring tools and the one which kind of offers what I am looking for is iftop with a filter on the IP of my server. As I would like to periodically update a file with the actual rates, an interactive program won't do. A possibility would be to filter the packages myself using but this seems to be quite a long shot.The optimal solution would be a program or script printing out the actual upload to a host specified in the options to STDOUT

View 3 Replies View Related

Fedora Networking :: Finding Collision / Error Rate On The Eth0

Jun 2, 2011

Is it possible to diagnose the cable between the PC and switch using F14 tools? I am suspecting that something is wrong due to <100Mbit xfer rates on a gigabit connection, but can't be certain. The switch is no help as it's a cheapo one with only link/act lights.

View 2 Replies View Related

Ubuntu Networking :: Expected Transfer Rate For Gigabit Ethernet

Sep 26, 2010

I have 2 10.04 machines connected through a switch, both with gigabit on board ethernet. Both machines show 1000 Mb/s connections.When I transfer large files (gig plus up to multi-gig) the maximum I get according to ftp 11472 kB/s.I did rough computer school math in my head and that seems low but I'll admit I know very little about network transfer rates.My question is what transfer rates should I expect to get between the 2?

View 9 Replies View Related

Networking :: Virtual Interface Routing For Clients And Rate Limitations?

Jul 14, 2010

I need to make some solution for my home network, I have a linux server which is: Linux Centos 5.5. So, what I need to do is to make a virtual interface for my clients which set its bandwidth up to 1Mb/s shared to them, but my real bandwidth is 2Mb/s. Also, after that, I have two questions:

1. How to set this rate limitation to that interface?
2. How to edit this interface to let it work and route the client data to my ADSL router?

I'm already generate the virtual interface using webmin managment tool, so I need to set its rate and route data.

View 14 Replies View Related

Ubuntu Networking :: Possible To Ssh Or Remote Desktop Computer With Such High Ping Rate?

Mar 1, 2010

I have been trying (unsuccessfully) to remote access my girlfriend's Ubuntu machine to fix a few things. The problem is that she lives in Japan and I live in RI, USA! Is it even possible to ssh or Remote Desktop her computer with such a high ping rate? (average ping time is 300ms) If so why can I not connect?

View 2 Replies View Related

Ubuntu Networking :: Mobile Broadband Singal Strength Quality Rate?

Jun 30, 2010

So im pleased that my mobile broadband connection works but unfortunately the gnome/ubuntu way of displaying the connection strength is poor to say the least. Shown in this screenshot is my connection, 4 out of 4 bars.

BUT, does this mean i have a decent signal but only gprs? How do i tell if i have connected with 3G hspda gprs etc....?

View 1 Replies View Related

Networking :: Iptables Rate Limiting For Bridged Connection ( Kvm Created Bridge )?

Oct 27, 2010

I have a bridged network setup ifconfig -a gives following output

Code:
br0 Link encap:Ethernet HWaddr 00:26:b9:82:42:38
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::226:b9ff:fe82:4238/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:150779 errors:0 dropped:0 overruns:0 frame:0

[Code]...

3) What are these vmnet1,vmnet2,vmnet3,vmne4 which I see above. I used kvm and virt-manager to create a bridged setup.

View 1 Replies View Related

Fedora Networking :: Netem Rate Limiting (token Bucket Filter) Not Supported?

Apr 3, 2010

I've been trying for a couple days now to get netem rate limiting to work on a Fedora 12 i686 virtual machine (both on VMware Fusion and KVM), and have had no success.In order to do outbound rate limiting, I want to use the netem token bucket filter (TBF), as described here:[URL]Unfortunately, attempting to use the TBF results in this error:

Code:
[root@f12-build ~]# tc qdisc add dev eth1 parent 1:1 handle 10: tbf rate 256kbit buffer 1600 limit 3000

[code]...

View 1 Replies View Related

General :: No Control On Network Connection?

Jun 8, 2010

I am running upgraded Ubuntu 9.10. As administrator i want to take out of common users panel the 'network connection' tool because anybody can too easily disconnect me from the web. How's the trick, ?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved