Ubuntu Networking :: Setting Up A NIC Bond With 4 Cards?
Jan 29, 2011
Got 4 onbards nics and would like to bond them into a single 4GB pipe. It is running a number of VM's. I can set up a link in my switch but I am stumped on ubuntu side. I think I have to make a file with entries but not sure where or how.
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!
I have several servers that we have bonded some NICs for rundancy and they will of course switch from primary to secondary NIC if connection state is lost to the switches they are physically connected to, but is there any way to be able to sense upstream connectivity (off switch) for each NIC and failover even though the NIC itself has a connection state to the switch it is plugged into? We are using Dell managed switches on VLANs with trunking.
Edit: FIXED, see 2nd 1/2 for correct config...Id like for someone to look over my xorg.conf and tell me what I'm doing wrong. Just a bit of background I'm using an Matrox G450 Multihead and a Nvidia MX4000 and have three monitors. Id like the G450 multi head to fire on the far left and far right and the nvidia to run in the center. The desktop should be extended across all three.
I have two servers that have been running link aggregation and VLAN trunking for years. I've installed larger drives in one and done a fresh minimal install. In spite of configuring as before the network will not come up. I did discover that a minimal install will not install vconfig which was causing one particular error when the VLANs tried to come up and this has been solved by installing vconfig. However, at this point the problem appears to be not bonding eth0 and eth1. /proc/net/bonding/bond0 indicates: "bond bond0 has no active aggregator"
If I put the old drives back in and boot the old OS everything starts up fine. I was even able to get it working with:
modprobe bonding ip link set dev bond0 up ifenslave bond0 eth0 eth1 service network restart
however, it does not survive a reboot. Is the a bug in the 2.6.18-194.11.4.el5PAE kernel or the network scripts? The the previous kernel I am running is 2.6.18-128.1.10.el5PAE For what its worth, these are the configurations:
I'm familiar with load balancing.. but Is it possible to actually bond multiple DSL lines together? I hear of ways to bond using MLPPP but that requires support from an ISP. Is there a way to actually bond without support from my ISP, or use say a cable modem and a DSL line together for faster speed / diversity?
I have been googling for three days, and I though posting to a forum would be more helpful than throwing my box out the window.
I was able to bond eth1 and eth2 together as bond0, but I am having problems with setting up two gateways on bond0. I can set one (eg ISP1) and all the traffic always routes through that ISP. Thus defeating the purpose of bonding. eth1 and eth2 pull an ip just fine and were able to ping the internet before bonding. Originally, I set the bond0 ip to the same subnet at my internal network, but I read that in order to set up nat you need to have the adapters on two seperate subnets.
Every time I fix one issue with this scenario something else breaks. I have tried dozens of different configurations. I am relatively sure that it is just a routing table issue, but I was wondering if anyone could point me in the right direction.
I am setting up a class using a vmWare ESX server. Because of security proceedures, the students are not allowed to connect directly to the internet. Because of file space, the are severated on 3 servers. I am trying to set up a server that connects to the internet and all 3 subnets that the students are on.
I have configure 4 virtual NICs 1 with DHCP connected to the internet. The other 3 goes to each student network. I can get 2 working at a time. 1 using the DHCP and 1 of the other networks. It seems to be order dependent. On the main server I can ping the local address. When I ping the students systems, I can reach 1 but not the other 2. I get a host unreachable message.
Is there a limitation to 2 NICS. If not, is there any magic incantation to run the 4 nics?
I have two nic cards installed in a Lucid LTS server.
eth0 is static using address 192.168.0.235 gateway 192.168.0.1 netmask 255.255.255.0
I have my Qwest DSL modem port forwarding port 80 to 192.168.3.235 however this doesn't seem to work if I have both cards running. If I remove the second card (eth1) and reconfigure eth0 to use 192.168.3.235 I can port forward into my webserver.
I'm running 10.04 64 bit, and the Intel PRO/Wireless 5100 AGN does not work with n routers. I'd like to either upgrade the card, or buy a usb adapter, but I can't figure out which cards will work. I've searched[URL].. which lists supported wifi cards, but most of the info on that page is not relevant to lucid, and hasn't been updated at all this year. I saw elsewhere that any card with the atheros chipset will work, but what cards have this? Will all of them with this chipset work?
I'm looking for a cheap and stable wifi card that will work with Ubuntu 11.04. My Linksys WMP300N is creating a conflict with the native Broadcom driver (causing the system to freeze after light network traffic) and ndiswrappper isn't working for 64 bit Ubuntu.
Does anyone own a relatively cheap (less than $40USD) PCI card that works flawlessly, or close to flawlessly with 64bit Ubuntu 11.04? I need to get off of this 35ft ethernet cord. Cat5 + crossing top of stairs = problem in the future.
Had a hard drive fail this week, and I am going to order a new one. I am using $150 dollars in Best Buy gift certificates. Well seeing as how I have some left over I would like to get a usb wireless adapter that would work out of the box (preferably usb although I could always get an internal). All Best Buy has are wireless N cards and I was wondering if anyone knows if any Wireless N USB cards work out of the box without downloading firmware or NDISwrapper.
I recently purchased two MSI Windtop AE2220's. One for my home which uses a router with WPA2 protection and one for my office where I use WEP encryption.
The Realtek internal wireless card will not connect to a WEP router if you are running Ubuntu Lucid Lynx 10.04. I have exhausted all suggestions on this site and all drivers found at Realtek's site.
I have been using Ubuntu since Hardy Heron, but sadly, painfully, I have had to install Windows 7 on my office machine until I find a wireless card compatible with the MSI Windtop AE2220, Lucid and WEP.
Do you know what's relationship between ethx and physical net cards? such as i have three net cards in the PC, named A, B, C. In which config file i could know that eth0 -> A, eth1 -> B, and eth2 -> C. Would the mapping relationship change after reboot? Is there any method i could change the mapping?
I have a small pc running fedora 8 with iptables and 2 network cards for routing/firewall and secondary DNS.For some time I've been alerted by the network guys that this machine was generating some alerts. The real network IP address keeps being assigned to the other interface, intended for LAN only (10.0.0.1/24).I've already changed the PC, installed a more recent operating system, replaced the 2 network cards and the problem persists. I have another pc running the same services (except DNS) in a very simillar way and no alert logs from that one.onder if it is some configuration issue on my startup firewall script.I've also installed arpwatch and I could confirm this IP and physical address issue:
Arpwatch output: hostname: my.host.name ip address: my.ip.address
I am writing a new lightweight Linux distibution mainly for educational purposes. I have a problem; it won't find any ethernet cards. I have tried enabling several things in the kernel config. What I would really like to know is how to enable some generic ethernet drivers and therefore networking. I would like to avoid having to use modules. I'm using kernel version 126.96.36.199.
we are using Red hat enterprise 5.4 for our internet connection with following ip's
eth0: 192.168.1.2 (local lan) eth1: 188.8.131.52 (static ip address for 1st isp) eth2: 192.168.100.149 (2nd isp modem connected with lan cable)
first isp i.e tata internet connected to the internet and working very well
now i want 2nd isp to work when the first isp goes down, i had configured all dns in the resolve.conf and squid.conf, when i switch off the 1st isp for checking that failover is working or not i cannot get internet packets from the second isp.
I want to provide dhcp in different NIC which are eth3 and eth2. eth2 has the IP address of 192.168.3.1 and eth3 has the IP address of 192.168.4.1. I want to provide dhcp to 192.168.3.0network and also for 192.168.4.0 network.All these are done in ubuntu server.
I installed slackware 13 successfully. The problem I found is: I have 2 lancard, one is built in, other is external. When I net config it brings up 1 lan card not other. When I again netconfig it brings other lancard and now not the 1st one this time. thats means it bringing up any of the 1 lancard at a time. how both lancard can be bring up.
I'm running Ubuntu 9.0.4 with an Intel PRO/100 VE Network Connection. I have been trying for a couple weeks now different techniques to get my wired ethernet connection working properly. I have a seeming common issue with my e100 driver dropping connection and having hard time picking it back up sometimes. I want to purchase a relatively inexpensive Ethernet card whose generic Linux driver actually operates it CORRECTLY, open up comp and put it in, and update to 9.10. Any list of Ethernet cards that are know to work flawlessly on Ubuntu, or at least tell me which card YOU are using that works perfect without having to write code, install wrapper programs, etc...?
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.
I've got two NICs connected to two different routers, and on different subnets of course. Each is set for static IP. But somehow I must have mixed up the connections at some point, so the NICs don't always have the IP addresses I expect. I think there may also be a mixup with different ways of setting the network addresses. When I click the Network Icon on the Desktop, I see that each NIC has both addresses as options. The /etc/network/interfaces file has some information about eth0, but all commented out, so there must be another place the addresses get set. And I just discovered that eth0 and eth1 aren't physical but virtual. I guess eth0 is the first one that is set.
I'm new to Ubuntu - I've decided to give Ubuntu Studio a go as an alternative to Windows. However, after installing it, neither of my network cards work. I have a Intel Pro Wireless 3945ABG wireless card, and a Broadcom Netlink Gigabit Wired card. Neither work, And I'm not sure how to. I've tried searching, and have come up with the .tgz file here, but I have no idea what to do with it I'm concentrating on the wireless card for the moment, seeing as that will be the main one I use.