Los Angeles1
asked on
Linux, Configuring ethernet adapters (RHEL)
I am using RHEL 6.4
I have a situation where I created a new IP using the
'setup' command. I created eth3, then I deleted the old eth2 by deleting all the characters in the
setup-Netowrk configuration-eth2 TUI
At this point I can do the following
and then I can SUCCESSFULLY ping out
However, If I perform the following
I get the following errors at the end
... and I can no longer ping out after the ping out
How can I resolve this?
Thanks
I have a situation where I created a new IP using the
'setup' command. I created eth3, then I deleted the old eth2 by deleting all the characters in the
setup-Netowrk configuration-eth2 TUI
At this point I can do the following
ifup eth3
and then I can SUCCESSFULLY ping out
However, If I perform the following
network service restart
I get the following errors at the end
grep : ifcfg-efcfg-: No such file or directory
Bringing up ifcfg-ifcfg: Device does not seem to be present
... and I can no longer ping out after the ping out
How can I resolve this?
Thanks
ASKER
Here are the ifcfg files
Here is the content of the ifcfg-eth2 file:
So I did a mv on the ifcfg-eth2 to a.a, and then I did a mv back to ifcfg-eth2, so the directory is still the same
The ifup eth3 still works, but I get this on the service network restart
So at this point the service network restart does nto bring up eth3 even though the ifcfg-eth3 file is in the directory
Any ideas on what I should do next
ls -la ifcfg*
-rw-r--r--. 3 root root 235 Dec 12 11:27 ifcfg-eth2
-rw-r--r--. 3 root root 260 Dec 12 11:27 ifcfg-eth3
-rw-r--r--. 1 root root 254 Oct 10 10:48 ifcfg-lo
Here is the content of the ifcfg-eth2 file:
cat ifcfg-eth2
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
DEVICE=eth2
BOOTPROTO=none
NETMASK=255.255.240.0
TYPE=Ethernet
IPADDR=10.14.0.194
GATEWAY=10.14.0.1
IPV6INIT=no
ONBOOT=no
USERCTL=no
So I did a mv on the ifcfg-eth2 to a.a, and then I did a mv back to ifcfg-eth2, so the directory is still the same
ls -la ifcfg*
-rw-r--r--. 3 root root 235 Dec 12 11:27 ifcfg-eth2
-rw-r--r--. 3 root root 260 Dec 12 11:27 ifcfg-eth3
-rw-r--r--. 1 root root 254 Oct 10 10:48 ifcfg-lo
The ifup eth3 still works, but I get this on the service network restart
service network restart
shutting down loopback interface {OK]
Bringing up loopback interface {OK]
So at this point the service network restart does nto bring up eth3 even though the ifcfg-eth3 file is in the directory
Any ideas on what I should do next
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I would start with the following two things.
1. List the file names of interfaces.
Open in new window
Please show the output of the above.
2. Please show me the contents of eth2 interface file
The normal name of this file should be
Open in new window
What is in this file, just cat it
Open in new window
Or if there's a variation in the name, try that.