Unable to activate eth0 under RHEL6
Setup a new RHEL6 server and wasn't able to ping other servers on the network.
When running
ifdown eth0
ifup eth0
ifup eth0 RTNETLINK answers: File exist
I also get the same when running, service network stop and service network start.
Looking under /etc/sysconfig/network-scripts, there was no eth0 file. So I create the file, however I don't have a UUID in it. Also check under /etc/udev/rules.d and the file 70-persistent-net.rules exist too. I've also deleted out /etc/udev/rules.d/70-persistent-net-rules and rebooted along with creating a new eth0 file.
However...
ifup eth0
Determing if ip address 192.168.122.150 is already in use for device eth0...
However I still cannot ping other servers on the subnet.
I'm wondering what I can do to fix this.
Responses
Hello
The message RTNETLINK answers: File exists can be displayed because the interface was previously given an IP addresses by DHCP. If you then configure the interface to use static networking, you can see that message. It does not mean the interface is not working. If you cannot ping other servers I suggest checking the interface config file. Please paste it below.
Thank you
The relevant section in the Red Hat Enterprise Linux 6 Deployment Guide is Interface Configuration Files
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
