Networking :: Link Aggregation Using Two Different NIC Types
Mar 21, 2011
I'm setting up link aggregation. When I use two ports of the same nic everything is working fine. When I use two ports of different nics (broadcom and intel) it doesn't work. Does anyone know of limitations using two different nics for link aggregation?
I'm looking for a way (kernel patches, configuration, etc) to bond multiple network interfaces together but for limited purposes. Here's the setup. Machines A, B, C, and D each have 4 NICs, each of which are on separate unmanaged switches. The connections are made in a corresponding way. e.g. eth0 of each machine are connected via switch 0, eth1 are connected via switch 1, etc. There are also other machines which have only one NIC and are connected to switch 0 only. All NICs for A/B/C/D and the switches are gigabit speed. The remaining machines have a low traffic level. Machines A/B/C/D need the extended bandwidth. And this bandwidth need usually involves only one connection at a time.
E.g. machine A transferring files to machine C with no other traffic going on. The speed need is to cut the transfer times from several hours to few hours (such as 8 hours to 2 hours). Transfers of up to a few terabytes at a time are involved. IEEE 802.1AX won't accomplish this. It requires special support from a single switch that all connection go to (raising costs and reducing reliability). Also, from technical details of 802.1AX, it appears that a decision process is made for which traffic goes over which physical link based on destination information. It's unclear what impact this will have, but it looks like at least a single TCP connection cannot use all physical links.
And possibly all traffic from host A to host B is limited to a physical link (not any better than a round robin of crossover cables). What I am looking for is something that works entirely on an end-to-end basis within a LAN. If it works at the link layer, that could be OK as long as it doesn't have the limitations of 802.1AX. Working at the IP layer would be OK, too (as I can already envision the logic of how to make that work). This might be an experimental patch to the Linux kernel if anyone has tried it. I have not dug into kernel source to see what might be in there, yet, but will eventually do that if there isn't a patch already available.
I would have presumed that you have 2 x agregates giving 2 x 2gig links and the resilience is that if one nic fails in either bond you carry on with that bond running a 1 gig link until fixed. But, our architect wants to have an active/passive (mode 1) accross bond2 and bond3. I have setup tons of mode 1 bonds and mode 4 bonds but never tried bonding 2 x mode 4 bonds!
For some reason the unmentioned former disto, I could not get wireless networking under this configuration and a simple wlan0 interface, in case either cable were to sever it would retain a wireless. The bonding was done for speed, and I believe I can't get faster than mode=4.
I would like port 80 to have a small daemon running on it that detects HTTP traffic and sends a small redirect response, and any other traffic begins streaming data from my VPN daemon. I was wondering if this has already been made, or any kind of technology for detecting types of traffic and allowing you to run multiple types of servers on the same port.
I'm trying to use "netlink" to get ip address of a Linux box. But the linux/types.h included from "linux/rtnetlink.h" introduced many conflicting type declarations with "sys/types.h".
#include <rtnetlink.h> #include <sys/types.h> #include <sys/socket.h> int main (int argc, char *argv[]) { return 0; }
I have a problem where I'm using Ubuntu linux to mount a Windows Vista machine's USB drive and access it on the web using Apache. I did have the USB drive plugged into the Linux machine directly and that was working via the web. FollowSymLinks is on in httpd.conf
[Code]....
The mount works and I can see the files (see above) from my regular linux user account. If I make a test file in /mnt and soft link to that, I can see it on the web. So it's just the mount to the vista machine that seems to be a problem. It's supposed to be a simple read-only mount and the apache login should (I think) be able to see the same generic root access permissions.
log from apache: [Mon Apr 26 20:39:42 2010] [error] [client 99.99.99.99] Symbolic link not allowed or link target not accessible: /home/user1/pub_html/Music, referer: https://xx.xx.xx/~user1/music.html
The credentials have a login and password that matches a special read-only account on Vista. I can see the files on the system from Linux, but not via the web. As mentioned above, a different link to the same /mnt area works fine via the web. I've tried several different mount options with no success.
I'm using Grsync and I want to be able to plug in any drive into my laptop and run rsync on it to back up all the user documents on there to another external hdd and to exclude everything else. Working on the principle that user documents don't always appear where we'd expect I want rsync to look through the whole drive and filter what it backs up by file type. I am only having partial success, however.
I am using the 'filter' option in the 'additional options' box. I am using the command Code: filter='merge /home/tim/Desktop/filter' and I am attaching the filter file I have written. (I have added the .txt extention to upload it).
I have tested this script on my home folder and here's what's going wrong. Rsync will copy the entire directory structure regardless of whether there are any files to be copied over in those directories. I am also getting only some file types getting included and not others. .odt and .ods files are copied, for instance, but not .doc or .rtf.
I have one router, a linksys. It allows wireless and wired connections, as is normal. I have two XP machinesby wire to the router and three linux machines connected wirelessly. The XP machines both have IP addresses beginning with 192.168. while my three linux machines have IP addresses that all begin with 172. None of the machines is connected with a static IP address. All are automatic DHCP.I am told that the above scenario makes no sense. However, such is what I have so, I trust, the theory and the fact do not gel. I would not care except that I cannot see - using the nautilus network servers program, all of the XP computers with some of my linux boxes.
I tried to force download of certain file types - pdf,doc,jpg - instead of opening them in applications. I used AddType application/octet-stream .pdf and AddType application/force-download .pdf but it doesnt works. Has anybody an idea how to solve this problem?
I know a fair amount about setting up a simple network but I'm curious about setting up a more complex topology...For example...A "box" has two NIC's acting as a bridge, normally this would involve two distinct networks (ie. 192.213... and 192.214...) is it possible that this physical set up can create a single network (192.213... 192.213...) resolving IP's from either a DCHP on the "box" or a DCHP server somewhere else on "one side of the box"likewise with differing physical network types, a "box" with a NIC and a TCP/IP over usb setup connected to another device with TCP/IP over usb (OTG/Gadget) so that all the IP's are on one logical network.
I am running Ubuntu server 9.10 and I am trying to find a way to cumulate and visualized bandwidth for all the ips on my network.
I created a server connected to a mirror port of my router and I am running snort and nessus and ntop to monitor and scan my network for security. Everything is running fine and I can see all the traffic happening, ntop creates really nice report of what is going on in the network, snort with base alert me of probable security problem and nessus help me secure the network with weekly scans.
What else do I need ? I really simply need a software that will calculate the total bandwith usage per ip address. Ntop seems to gather all that information somewhere, but there is not simple way to get the information out of it. I was thinking maybe cacti would be the software to use but I am not too familiar with Cacti and it's interface seems a bit daunting still.
I don't need it to be web interface - but it would be nice. I could probably rig up something on a console base program. What I want the output to be should look like tcptrack but with the running totals for last day, last month, last year, and if there could be a graph for it- even better.
i only need localhost for testing some phpnow i get[Wed Apr 28 18:44:57 2010] [error] [client ::1] Symbolic link not allowed or link target not accessible: /srv/www/htdocs
In the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?
- is there any utility that updates symlinks when a directory is moved?
- is there any Linux filesystem that supports hard linked directories?
- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?
I was looking for live link to download ubuntu mobile but unfortunately I don't find anything... Can someone send me a link for download and a link with the installation instructions ?? All the links that I found are dead.
I have searched around and am trying to understand the difference between a hard link and symbolic link (soft link). I found this link is quite useful. But I am still not very clear. I understand soft link is not a copy of original file, but is a hard link a copy or not?
I've just installed ubuntu 11.04 on my dell inspiron mini 10; dual-booting it with Windows 7.
I've looked at a couple of other threads about problems with the wireless card in the netbook and about problems with the wireless router. However, this problem doesn't seem to be the same; the netbook can see other wireless networks, just not mine, and other people seemed to be able to access their wireless network for a short period of time before they stopped being able to access it.
I can't see the wireless network on the D-link DIR-615 at all in ubuntu, though it still works in windows 7.
I've tried reinstalling the broadcom STA drivers as per this link and reinstalling but this hasn't made any difference.
What things should I consider trying in order to resolve this?
Ps. As a side note, my other ubuntu laptop (a toshiba equium A100) cannot see this network either, but has no problem connecting to other, although oddly it couldn't detect it in windows either before I put in a new harddrive and installed ubuntu on it.
I have just built my self a new computer, since it will become a media center its not that powerful so i decided on using ubuntu instead of windows. Only one problem so far, my D-Link dwa-131 is not recognized and i can't connect to the internet except with a Ethernet cable. So how do i make my computer recognize the dwa-131?
I am on debian lenny and I am trying to make a script that will run in the background and checks the ethernet connection. If the ethernet connection goes down it will connect to wlan. I have found 2 ways of checking ethernet connection, via proc/net/dev and via ifconfig eth0. But if possible I want to avoid polling. So is there any event that is triggered when the table gets disconnect or at least the connection goes down and up?
I have just clean installed Ubuntu 11.04 on 3.06 GHz Dual core P4 with 2GB RAM
Code:
jim@venus:~$ uname -r 2.6.38-8-generic
At the same time I purchased a Gigabit NIC from D-Link, mostly because D-Link is a reputable brand and it said on the box compatible with 2.6.x linux kernal. The original NIC is still in the system and can be seen and is functioning as eth0. The system can see the new driver and the card, here is an extract from dmesg:
Currently, I am trying to use the Kdevelop4 in linux debian to make some debugging on a simple project. I added the <db.h> in the text editor and it is working. Unfortunately, when I am trying to build an "undefined reference to db_create error". So how to cope such error and where I have to add the searchable link libraries in Kdevelop4.