CentOS 5 Networking :: Bonding Or Bridging?
Jul 19, 2011
I am confused as to what is going on with a particular box that I am working with.As you can see in the attached ifconfig print out, one eth port is basically only used as a output while the other is only really used as an input.I connect to the box via 10.20.40.104 for ssh,ftp,http,etc.I just want to know the name of what is happening (is it bonding,bridging?) and maybe some information about where it is configured.I looked in modprobe.conf
eth0 Link encap:Ethernet HWaddr 00:1E:C9:EE:5A:91
inet addr:10.20.40.105 Bcast:10.20.40.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:feee:5a91/64 Scope:Link
View 6 Replies
ADVERTISEMENT
Jan 18, 2011
ok I am using a customized CentOS distro that is looking for 3 network cards on boot. eth0, eth1, eth2. I do not need eth0 and need to bridge it to eth1.
View 1 Replies
View Related
Mar 24, 2011
After restoring from a hardware failure, I cannot get bridging to work again. I reinstalled the host version 5.5, and copied the .img file back onto the rebuilt machine. I also had the network scripts and iptables backed up. Through virt-manager I re-attached the virtual machine, and when I boot it, I get a MAC address conflict on the vm's eth0; "Device eth0 has a different MAC address than expected". The vm had a static ip address.
[root@trngvh ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:24:81:E4:FC:02
[code]....
View 10 Replies
View Related
Apr 14, 2011
Problem: Can't get bridging to work properly.
I'll start by saying that most of this is built inside of a 64bit ESXi 4.1.0 server. Should be obvious by the picture below.
Trying to set up a bridged CentOS box. Ultimate goal is to set up a Transparent Firewall. The machine labeled 'Desktop' is a Windows XP running DHCP. It gets assigned an Internet routeble IP address. At this point, nothing is running a firewall.
Symptoms:
Gateway can ping CentOS bridge
CentOS bridge can ping gateway
CentOS bridge can resolve DNS names and ping FQDNs on the Internet.
CentOS bridge CAN NOT ping Desktop
[Code]....
View 12 Replies
View Related
Dec 10, 2010
We have a Blade server connected to a two internal ESM Cisco switch. We want to have a active-backup configuration with bonding. We follow the documentation and we hace configured the next:
Centos 5.5
ETH0:
[root etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5709S Gigabit Ethernet
DEVICE=eth0
[Code].....
View 1 Replies
View Related
Sep 30, 2010
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:
[Code]...
View 2 Replies
View Related
Feb 14, 2011
I only have very basic understanding on how it works.This question may have been asked so many times, and honestly I've tried so many tutorials and have read a lot of articles but it all didn't worked. I may be too stupid to have this done, or it is just the lack of knowledge.
Here it goes,I have a VPS with a host which runs OpenVZ in LA. I want to create a VPN tunnel to the VPS and tunnel all my internet traffic to the VPS. Can somebody please help me out on the step-by-step?
I was once able to configure the VPS to run OpenVPN and my client pc was able to connect to it, but the internet connection is still thru with my local connection. Did it with a tutorial too. I would also like to ask, The VPS has 512mb of RAM, I was wondering how many clients can it handle at the same time.
View 2 Replies
View Related
Mar 26, 2010
I am running FC10, How to NIC bonding ..
View 1 Replies
View Related
Feb 16, 2010
I've run across a few threads in the archived forums regarding nic bonding. I could be wrong but I imagine most of the people that are looking at bonding are probably really wanting what they would get out of creating a LAG between their Ubuntu Server and a managed switch capable of LACP trunks. If you have two NICS on your ubuntu server and want 2gps throughput & failover check out the page on creating a LAG. Obviously this requires your switch to be compatible though. [URL]...
View 1 Replies
View Related
Jul 12, 2011
We are running in to a issue where we don't seem to get our bridging to work as we expected. Meaning passing all traffic from Point A to Point B. As explained below:
[Code]...
This is the original connection. Now we are adding our Linux IP impairment box for IP tables in between Application Server A and Router X so the figure would look as below: Application Server A --> IP Impairment box --> Router X --> router Y --> Application Server B
The issue we are having is When a packets are sent from Server A to Server B they are going through for PING, TCP, UDP, but for BGP the connection is established at a TCP level (SYN, SYN-ACK, ACK), but the BGP OPEN packet does not get through and our BGP relation ship does not come up between Application Server A and B. Application Server A and B are a routers also but there are applications running on those router. BGP is underlying protocol used for Application Server A to be talking with Application Server B and getting routes for each other.
Even with the iptables empty (all rules default ACCEPT) we still can't seem to get these BGP OPEN's through. We see both sides of the application servers sending BGP OPEN's, but the Linux bridge never passes those packets to the other side of the bridge. Tracking the BGP packets, we see the packets at iptables raw PREROUTING and filter FORWARD tables but the packet doesn't get out the other interface.
View 2 Replies
View Related
Mar 5, 2010
you can do secondary interfaces (virtual interfaces?) for your virtual machines (domU's) and not loose your eth0 to the bridge. Is there documentaion on Xen in OpenSUSE without bridging?
View 6 Replies
View Related
Aug 17, 2010
Have upgraded HDLC version for 2.4.20 kernel from 1.02 to 1.14. And recompiled the kernel and HDLC driver. Also it requires sethdlc utility for configuring HDLC and driver parameters which was found on the internet where the patch for HDLC was found. Having done that with kernel and driver reloded, when you try to configure HDLC interface for HDLC and physical parameters as follows:
#sethdlc hdlc0 hdlc nrzi no-parity
error is thrown
hdlc0: Unable to set HDLC protocol information: Operation not supported.
Currently the driver doesnt support configuration of physical parameter.
But can you configure the HDLC protocol parameters for the interface having modified the HDLC version in the kernel 2.4.20. Basically the HDLC interface has to be configured and bridged with existing Ethernet interface using Brctl utility.
View 1 Replies
View Related
Jan 17, 2011
I have configured bridging based on information from a few web pages Google found. Traffic is being seen (using tcpdump) on both interfaces that are configured. However, the traffic is not going between them. What could be missing?The bridging machine has 3 NICS: eth0, eth1, eth2. eth0 is configured normally with an IP address (I can login via ssh to it just fine). The bridge is named br0 and uses eth1 and eth2 (a dual NIC card for convenience identifying which NICs are the bridge).
A script executes these commands:
Code:
bash-4.1# /etc/rc.d/rc.bridge-up br0 eth1 eth2
EXECUTING brctl addbr br0
[code]...
View 6 Replies
View Related
Aug 22, 2010
I am trying to share my internet access using the following setup.
A Linksys WRT54G v5 router that is connected to my cable modem in my basement. I want the signal to be picked up by my Hawking HWABN1 and sent through a Linksys BEFSR41 to my Ubuntu desktop running 9.04.
I'm pretty sure the Hawking is receiving the signal because when I check the devices in the wireless router setting the IP shows up. I can't seem to get anything whether it is hooked up to the BEFSR41 or straight to the desktop and Ubuntu tells me I'm offline and I'm not getting an IP.
I have a WinXP laptop that I have used to run the Hawking setup and it is supposed to be accessible through a web based interface similar to the routers.
View 5 Replies
View Related
Feb 26, 2009
I installed Fedora 10 and used dynamic IP first. Then I found out that bonding works with static ip only so I switched to static IP. But then, since I have 3 NIC cards, I configured bonding. I need help in these points:
1- steps to follow so that I switch from dynamic to static IP
2- steps to follow so that I configure bonding
View 2 Replies
View Related
Sep 1, 2011
I have 2 Net connection and 2 NIC. I want to know how to make bonding for that. I am using Ubuntu Server Natty 11.04 - 64bit
[code]....
Is it possible to make Bonding?
View 1 Replies
View Related
Apr 14, 2011
I am seeing an issue on a few servers where it doesn't appear all NICs in the 802.3ad lag are all operating at the same level. A few of the servers have two bonds each with two NICs in each bond.I have two NFS servers that each has 1 bond with 3 NICs.All are RHEL5 x64 2.6.18.I think the reason why I see one interface dominating RX and another dominating TX is due to the xmit_hash_policy but there are three hosts that use this particular server for network traffic.That's 3 different physical mac addresses.The layer2 algorithm should be fine in that situation I would think.Would I just be better off with balance-rr?
View 3 Replies
View Related
Nov 2, 2010
is possible to use linux (especially slackware) to bond 2 (ethernet modems) adsl connections. For example if i have 2 connection of 24mbs download and 512 upload i will create achieve 48 mgps dowload and 1 mgps upload . something like that
adsl1 modem <------ eth1--- (slackbox router) --- eth0---> my server
adsl2 modem <------ eth2----
View 4 Replies
View Related
Dec 15, 2010
I want to bond two NIC to the same IP, I was able to do this for Static IP but not DHCP.
Does anyone have any idea about the possibility of this?
The process at which i reached to this question is explained here:
http://ubuntuforums.org/showthread.php?t=1645440
View 1 Replies
View Related
Feb 11, 2011
Here's the story running 10.10 on my box with a wireless N adapter I'm about to go get a XBox with the built in wireless but the problem is that the XBox does not pick up 5ghz. Any way to connect the XBox with a ethernet cable to my motherboard and bridge those connections so the XBox can get network access?
View 1 Replies
View Related
Apr 1, 2011
My laptop, which is my main machine, is running Ubuntu 10.10 I am bridging my wireless connection on my laptop to my Dell desktop; but I have somewhat of an issue. I was able to bridge the connection with ease, but the IP the XP machine has been assigned is not in my subnet. The issue is that I need to port forward to this machine, but my router doesn't recognize that the PC is on the network because it has a random IP. I've tried assigning a static IP on the XP machine itself, but it doesn't change...
View 2 Replies
View Related
Jun 29, 2010
I'm trying to setup a Centos box to act as a backup server for our intranet between stores. I have two interfaces in it, the first one is currently connected to my local network and is using dhcp to get its ip address and such, the second one is set to a static ip address and is connected to an independent network that just has a DigiBoard Portserver hooked to it and no connection to the regular network. What I am doing is using ssh to portforward the telnet port on this box to the main server so when you telnet into the box from the second interface using the portserver you get connected to the main server.
I plan on using this over DSL lines as a backup when our main dervice goes out to allow the portservers at the remote locations to seemlessly connect to the main server by just moving the network cable from the local net to the backup server. My problem is that when I have the everything working I am able to ping the second interface ip address from the normal network even though the secondary card does not in anyway externally connect to the network, this is a problem.
Eventually I want to duplicate the main server address so that the normal portservers and other terminals on the remote site will not have to be reconfigured to access the backup server. All I want is to be able to tell the managers is to switch a cable while the main connection is down and not have to manage a bunch of config files to get the store back up. Right now if I duplicate the main server ip address and it is accessible through the first interface I'm guessing I'll see all kinds of problems relating to duplicate ip addresses on the network. I've tried some routing and iptable stuff but I'm not real familiar with either so I had no luck. Is there someway to block the internal connection between the two interfaces so the only thing that sees the duplicate ip address is the second interface?
View 1 Replies
View Related
Jun 20, 2011
I have a question about bonded NICs and the switches they are connected to.
I have a server which needs to send a lot of data to another server quickly. Both have multiple GbE NICs. I understand what is required at the server end (I think) in that a pseudo-interface is created such as bond0 with the IP applied to that interface rather than eth0 and eth1.
My question relates to the connection between the servers, i.e. the switch. Is a specific type of switch required for this to work, as an IP will have 2 (or more) MAC addresses associated with it, or how does the switch decide to which port to route the traffic for the bond0 IP?
Also, will this only work when multiple connections are being made? What I mean is, will each individual TCP connection only use either the physical eth0 OR the physical eth1 interface, or can a single connection make use of the aggregated bandwidth, sending one packet to one physical interface and another to the other physical interface, using the bond0 IP as the destination?
What I am trying to work out is if I had a storage server connected to an application server and exporting storage using NFS or GlusterFS, would an aggregated link improve throughput?
View 7 Replies
View Related
May 27, 2010
I have 4 DSL modems connected with 4 different ISP's my scenario is
a) My FC-2 machine with LAN IP=192.168.10.1 and Bond0 IP=192.168.1.1
b) Modem-A LAN IP= 192.168.1.2 , ext IP=xxx.xxx.xxx.xxx
c) Modem-B LAN IP=192.168.1.3, ext IP=xxx.xxx.xxx.xxx
d) Modem-C LAN IP=192.168.1.4, ext IP=xxx.xxx.xxx.xxx
e) Modem-D LAN IP=192.168.1.5, ext IP=xxx.xxx.xxx.xxx
Modem-A, B, C, and D LAN connected with my FC-2 machine, and all 4 interfaces of my machine are in Bond0, Now please help me what default Gateway I should set in my FC-2 machine?>??? or I have to set 4 gateways in my machine?and will this configuration works?
View 1 Replies
View Related
Oct 8, 2010
I'm trying to set-up a back-up (mode 1) bonding nic. I can't ping the LAN, pinging bond0 locally however works. Here is my config:
/etc/modprobe.conf
Code:
alias eth0 e1000e
alias eth1 e1000e
alias eth2 e1000e
alias eth3 e1000e
alias scsi_hostadapter ahci
alias scsi_hostadapter1 usb-storage
alias bond0 bonding
[Code].....
View 1 Replies
View Related
Apr 16, 2010
As Xen is based on LINUX I'm hoping that someone out there could help me. I'm struggling with 802.3ad on a cisco switch (LACP). I'm going to be using this for my storage network on a dedicated cisco switch talking to a teamed pair of intel NIC's ISCSI storage. From the intel side I can set them to Link aggregated one team 2GB this is fine and my config shows active active on the NICs. How would I go about doing this from a LINUX box. In order to remove any bottle necks it needs to be active active from Xen. If I do a pif-forget uuid= on a XEN server I'm in complete control using Linux.
View 9 Replies
View Related
Jan 29, 2009
I'm trying to get KVM static IP bridging to work on my Fedora 10 install. I've looked at the related posts on this subject and tried some of the suggestions without full success. I've used the virt-manager to create 2 Windows XP guests on the host (all on the same machine).I need to use static IP addressing on the 2 guests as well as the host.I need the guest VMs and host to be able to see each other as well as connect to the outside world. Using the script below I found in an earlier post, I get network connectivity with the 2 guest VMs but the host can't get out at all.
[Code]...
View 4 Replies
View Related
Aug 24, 2011
does Network Manager in Fedora 15 support bridging and if so, can you configure the bridge using your wireless interface? All of the information I've come across so far said that you can NOT create a bridge using a wireless interface, and that Network Manager doesn't support bridging, but this info was also from Fedora 12 and below, so I don't know if it's still relevant for Fedora 15. I would certainly hope that by now you can make a bridge from a wireless interface. Even the lowly VMware Player offers this option.
View 2 Replies
View Related
Apr 29, 2010
I have a Dell Studio 1501 Laptop and I want to bridge the wireless with the ethernet port so I can hook my xbox360 to my laptop.
I've spent the last 2 hours trying different techniques but nothing is working.
I'm running Ubuntu 9.10 so the last thing I tried was going into the network manager, clicking on wired, editing the ethernet port and allowing it to share. This did nothing.
I tried to share the connect with firestarter but that did not work either.
View 2 Replies
View Related
Nov 2, 2010
I know my way around windows but my Vista files got corrupted a few days ago and thats why i decided to use Ubuntu.Well anyway, this is my problem.Ive got a Acer5920 Laptop and an Xbox. My xbox is in the living room and Id like to connect it to the internet. When i had vista i used bridged connection. :Xbox => ethernet port of my laptop bridged with wlan of laptop => router.Bridging connections on vista is fairly easy but I have no clue how to bridge connections on ubuntu.
View 2 Replies
View Related