CentOS 5 Networking :: 2 NICs Only One Works - Eth0 Don't Work
Jan 18, 2010
I have a Proliant DL 120 G5 with CentOS 5.4 and I have installed a Brodcom Corporation Netxtrem BCM 5722 Gigabit Ethernet PCI. So I have two interfaces: eth0 broadcom eth1 Intel The eth1 works, instead eth0 don't work. I can ping itself and 127.0.0.1 but I can't ping the gateway. The results of netstat -nr is:
When I shutdown computer and start it up, eth0 doesn't seem to show up (though lspci sees ethernet card and modules are loaded). When i reboot (which is exactly the same, in my opinion), it works good. I'm using Sabayon GNU/Linux, Gnome Network Manager applet.
I'm using Fedora 12 on a box with 2 separate NICs in different subnets. The problem is that after a reboot, both NICs always show up as eth0 when you left click on the networking icon on the top right. I have to manually change one of them to eth1 & then things start working.
Everything worked fine until very recently, and without apparently ANY change to the settings on the server, a secondary IP that was assigned to my server won't work anymore..Any IP attached to the same server works fine.. So in my case, the problematic IP is 213.8.155.67. The other IP (213.8.155.42) works without any problem.How would I go about troubleshooting this?
ifconfig: eth0 Link encap:Ethernet HWaddr 00:26:B9:44:11:3A inet addr:213.8.155.33 Bcast:213.8.155.127 Mask:255.255.255.128 inet6 addr: fe80::226:b9ff:fe44:113a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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
I recently set up a new web/file server with 9.10 server x64 with 2 NICs and I am trying to configure eth0 to respond to my LAN for internal samba filesharing and eth1 to handle website/ftp requests on my static IP, but whenever eth0 is up the server is not accessible at 173.XX.165.65 for web or ftp but both work fine at 10.1.10.100. When eth0 is down, public IP works fine. I have set /etc/network/interfaces like this:
Code: # The primary network interface auto eth0 iface eth0 inet static address 10.1.10.100
Ok so I'm gonna try and explain this easily. I installed 11.04 32bit on an older HP P4 machine. Boots up and goes to classic desktop.. But networking looks like a wifi devices rather than a wired connection. I installed another NIC rather than the onboard but had the same result.. I also tried yet another PCI NIC and a USB NIC with the same result. I also tried to set my connection to manual and give myself a static IP, but had no such luck.
I know my internet connection works because I'm on another machine typing this to you all.. All the NICs also work in W7 on the dualboot setup I did.
i've just installed ubuntu 9.10, and i was browsing the internet fine using the live cd, but once i installed it to disk eth0 wont connect or even show it's all greyed out. lspci reporgts :Ethernet Controller Sundance Technology Inc /IC Plus Corp IP1000, ifconfig finds eth0 no problems i think it mihgt have something to do with root privs
Ok, so eth0 is up and working great. eth1, however, comes up with a link light, however the packet counters in ifconfig remain at 0. Appears that eth1 isn't working.
Here's my setup:
-Dell latitude CPi laptop with 2 PCMCIA network cards and no built-in ethernet. -Slackware v11 -eth0 is connected inside my router on my 192 network. Static address with good connectivity -eth1 is connected on the other side of my router in promiscuous mode in order to listen to the traffic coming into my network.
Troubleshooting so far: I have switched the pcmcia cards between slots and regardless of which card is in eth0 or eth1, eth0 works and eth1 does not. I have also switched the card dongle between cards as well as the ethernet cabling between the cards. With any of the combinations eth0 works like a champ but eth1 does not, so I think I've ruled out hardware problems.
I have a motherboard which has 4 x 1Gbps Ethernet controllers. I would like to use it as a Gateway for my home network. I have a static IP from my ISP which I can use to configure eth0 (I haven't done it yet as the LE-565 is currently sitting behind my Netgear router until I've got DHCP working). I would like to use eth1, eth2 and eth3 for my LAN. How do I set things up so that DHCP is handing out IP addresses on the same subnet (192.168.0.0/24) on all three interfaces?
P.S. I think what I'm asking is: how do I combine all 3 interfaces to behave like a switch (ie. just like my Netgear router)?
My setup is as follows: eth0 - lan ip eth1 - WAN ip
I have installed a sip server on the box. From the box I would like to access machines on wan and lan. First of all, is it possible? If yes, I have setup up the nics with default wan gateway. However, when I try to ping wan url, no response. Are there other things I need to do to accomplish this?
configuring DHCP server with two NICs. I need DHCP server with 2 NICs:
eth1 - 192.168.103.11 eth2 - 192.168.123.11
The client also has two NICs and suppose to receive ip addresses eth1 from 192.168.103.0 and eth2 from 192.168.123.0 Here is the dhcpd.conf from dhcp server:
i install kernel rpm after i boot that kernel network not working kernel name : kernel-rt-trace-2.6.24.7-132.el5.centos.i686 [URL] error "Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring."
I have a program that attaches to an interface. I can run two copies of the program on two systems (each running one instance), connect it to a switch, say 1.1.1.1 & 1.1.2.1. In this configuration two instances of the program can communicate and everything is fine.
Now, to reduce cost, it want to use only one system with two nics connected to the same switch, running two instances of the above program, each instance attached to two interfaces respectively on the system. I have the following settings:
eth1 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXX inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth2 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXX inet addr:1.1.2.1 Bcast:1.1.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
I want to add a fourth NIC, eth3, which will be assigned its own Public IP/Internet address (thru DHCP; my ISP provides two). The purpose it to route all net1's internet-bound traffic through eth0, and all of net2's internet traffic to eth3. This allows me to use one router/firewall machine instead of two separate ones. I anticipate that without some specific routing instructions, the default route will be eth0 for all net1 and net2 internet traffic (eth3 will be ignored).
I thought of using just one NIC (eth0) but create an alias (eth0:0), but IPtables (and possible DHCP) can't differentiate between the two (besides, nics are inexpensive). Is there a way to do this through routing commands, or even use iptables prerouting/forward functions (or is using iptables problematic)?
I'm running a fresh install on an intel i7 system on an asus p6t deluxe v2 motherboard with the onboard NIC (Marvell Technology pci-e). I know the NIC is working as when I boot into the onboard OS that Asus provides (Asus Express Gate SSD)I have a working net connection.Booting up CentOS hangs at determining IP information for eth0 and eventually fails with the following error:PING xxx.170.30.1 from xxx.170.31.231 eth0: 56(84) bytes of data---xxx.170.30.1 ping statistics ---4 packets transmitted, o received, +3 errors, 100% packet loss, time 2999ms, pipe 3 failed.
I've a desktop running Fedora 10 connected to the Internet via LAN. There's 3 network controllers in the desktop. One integrated to the motherboard and two additional. I would like to connect other computers (two laptops, one running fc9 and the other Window$ XP) to the Internet via the desktop. I googled the question and found out that I need to adjust thing called 'NAT'.
For that purpose I did the following: iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j SNAT --to-source 192.168.*.* where 192.168.*.* - is desktop' IP address. I want to use 192.168.2.0/24 as a network for laptops. I activated one of devices (eth1), gave it IP address: ifconfig eth1 192.168.2.0/24 and connected f9 laptop to it.
On the laptop I activated eth0 with the same IP. The problem is: it doesn't work. I can't ping anything from the laptop except its own address (192.168.2.0).
my internet was fine.. until.. i had to work in the school so.. a teacher configured the internet settings.. for something .. ( i don't remember) and everything was fine. but when i returned to my house and conected my lap to internet (cable) the internet didn't work.
I have installed the Squeeze testing version. i have setup networking for static in the /etc/network/interfaces file. tried to find resolv.conf in the /etc/ since could not find i created this file post trying to start the eth1 i am able to ping my ip, but if try to ping the gateway i get an error saying the ping is not sucessfull. I have 2 network cards, eth0 and eth1. as eth0 does not work i have configured eth1. The dump of the interfaces file is below
[code]...
The same setup works fine in Ubuntu 10.10 setup that i have.
I am running the latest ubuntu and I am having trouble getting networking sorted. I have 2 networks, one wired (eth0) and one wireless (wlan0). I connect to the internet using wireless. The problem is that I can only successfully connect to the internet if I disconnect from eth0. I have hit this problem with Windows machines and the solution was to adjust the "interface metric" in "Advanced TCP/IP Settings" so that the wireless was the preferred connection. How can I achieve something similar in Ubuntu?
I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:
[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2
Installed Centos 5 on IBM T60P laptop. Intel 82573L Gigabit ethernet controller. Keep getting this erro message, "e1000 device eth0 does not seem to be present, delaying initialization."
I cannot get static addresses to work on eth0 and eth1. eth0 seems to use DHCP while eth1 uses the static information. Sometimes the static info is used but the interfaces get the addresses reversed.
From /etc/sysconfig/network NETWORKING=yes HOSTNAME=mosaic
I have been running into network issues lately with my CentOS 5 (installed on AMD Athlon X2 - 64 bit machine about 2 years ago). It was able to connect to the network fine until yesterday when I installed more memory into the machine restarted it.
Upon restart, the boot up was paused at 'Determining IP information for eth0' step for a while and booted with out connecting to the network. I tried restarting the network (/sbin/service network restart), but this is the error message I continuously get: Determining IP information for eth0...PING xxx.1.226.1 (xxx.1.226.1) from xxx.1.226.83 eth0: 56(84) bytes of data
I've seen this pop up a few times on the forum but my setup is slightly different. I have a PC with an ASUS P5N32-SLI Premium motherboard. I've just installed CentOS 5.1. Yes, I know this is ancient, but this is what they're developing on at work. I'm trying to get connected either via ethernet or wireless and neither one works. When I boot the computer to Window XP it does connect on ethernet. Ethernet should be easy so I'm concentrating on that. But I get "Determining IP information for eth0... failed." after a 'service network start'.Here is some other information that was asked on similar threads:
New to CentOS5.5 I'm experiencing some trouble in order to continue my configuration. I've just installed my vmware tools and configured my network card with system-config-network
Edit eth0 (eth0) - vmxnet3 -> with a static IP I rebooted my server and since then I lost my eth0. I still see it in system-config-network, but I can't active it anymore.:
/etc/init.d/network start Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring. [FAILED]
I'm having a problem and despite I have googled a lot cant find the root cause. I have a server with two embedded NICs and centos 5.5 loaded. I need to have one NIC with a fix internal IP address to communicate with the intranet and a second NIC with a fix address from my telephone provider. I know I cant have two different gateways on the net so I configured only the gateway for the second NIC leaving the field empty for the first.
I found that the first NIC is handling all the traffic for both interfaces (eth0 and eth1) and the second NIC is in standby (or doing nothing). This is causing the traffic intended for the second NIC never reach their destination. After a couple days working with the BIOS and other configuration files I tried another way of solve the issue. I put a fix address for the first NIC and another fix address for the second NIC (both in the same subnet) and from a computer pinged successfully both addresses. However if I disconnect the cable for the first NIC both interfaces goes down (eth0 and eth1) and both pings fails. If I disconnect the cable for the second NIC (with the first one connected) both pings still running without any disturbance.
I worked also in a second server with different hardware (different kind of motherboard, different NIC manufacturer, etc.) but the problem is also present in this second server. I was reading about NIC bonding or teaming, but this configuration is not present in the modprobe.conf or in the ifcfg-eth0 files, so I believe the problem is not related with this feature. Do you know what is happening with the NICs and how can I get two really, fully independent NICs?
I have 2 network interface on 1 server and i got a problem finding a solution for it.I have 1 java application and i want it to use the eth1 for that application and not the default eth0. On eth0 i got for example xx.xxx.xx.22 and on eth1 i got xx.xxx.xx.23 and i want the java app to use the 23 ip one.