LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Network Problem (https://www.linuxquestions.org/questions/red-hat-31/network-problem-829717/)

scottyp55 09-01-2010 07:33 AM

Network Problem
 
I just installed Fedora Core 4 on a machine and I'm having problems pinging anything. I've checked that the NIC is active in the GUI. Below is a copy of the ifcfg-eth0 file. I can ping 127.0.0.1, my IP address and the broadcast, but nothing else. I traced the cable, verified link light and the correct VLAN on the switch. I've restarted network services and rebooted. Can anyone help me out?

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:60:08:F6:B7:AB
IPADDR=10.150.1.188
NETMASK=255.255.255.0
NETWORK=10.150.1.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
GATEWAY=10.150.1.1
IPV6INIT=no

Thanks,
Scott

scottyp55 09-01-2010 07:52 AM

I've also noticed that the NIC only has one light lit and it appears that I can transmit but not receive.

Another peculiar thing is that when I go into the Network Configuration, it sees an eth0 and an eth1 under the hardware tab, but there is only 1 physical NIC on the server.

MensaWater 09-01-2010 07:52 AM

Does "ifconfig eth0" show the IP you assigned?

Does "ifdown eth0" succeed? Does "ifup eth0" succeed?

What does "ethtool eth0" show?

If you do "ethtool -p eth0" does it flash the lights on the NIC you think is eth0?

Do you have any copies of ifcfg-eth0 in /etc/sysconfig/network-script (other than the one you posted)? If so you need to prepend them with something so the network startup routine doesn't find them. It could be such copies are interfering.

Make sure ifcfg-eth1, ifcfg-eth2, ifcfg-eth3 etc... if they exist have different HWADDR= values than ifcfg-eth0 (this is the MAC address of the NIC).

What is in /etc/sysconfig/network? (e.g. Does it have a GATEWAY line that might conflict with the one in ifcfg-eth0).

Also if you're on the console you should be able to run "service network restart" to bounce networking without having to reboot.

As a final note - Fedora Core 4 is ancient - they're up to Fedora 13 (they dropped "core" in the name as of Fedora 7). You might want to consider installing something newer.

scottyp55 09-01-2010 08:28 AM

OK. I figured this out. For some reason the NIC was set up with the hardware NIC eth0 which was not really there (I still don't understand this). I moved the NIC to the other hardware device - eth1, and now it's working. Bizarre.
Thanks for your suggestions.

DrLove73 09-01-2010 12:03 PM

Quote:

Originally Posted by scottyp55 (Post 4084789)
For some reason the NIC was set up with the hardware NIC eth0 which was not really there (I still don't understand this).

Fedora Core 4 from 2005 on newer hardware??? It all looks understandable from my point of view.


All times are GMT -5. The time now is 10:28 AM.