1828225 Members
2370 Online
109975 Solutions
New Discussion

Re: ethernet problem

 
SOLVED
Go to solution
Fadia Almarei
Super Advisor

ethernet problem

Dear All
i have Redhat Enterprise Linux AS v.4 ,run on Dell server , i have two network cards , i configutre the first ethernet card and give it a static IP, i see something strange , whenever i restart the network service the ethernet become inactive and i need to activate it again ,what is the cause for this.
BR,
Fadia
fadia.marei
10 REPLIES 10
RAC_1
Honored Contributor

Re: ethernet problem

Any duplicate ips on the network??
What does messages log file say??
There is no substitute to HARDWORK
Fadia Almarei
Super Advisor

Re: ethernet problem

no duplicate
fadia.marei
RAC_1
Honored Contributor

Re: ethernet problem

How do you activate it?? Are there any error/informational messages in /var/adm/messages file??
There is no substitute to HARDWORK
Rick Garland
Honored Contributor

Re: ethernet problem

You state a static IP for the 1st eth, how is the 2nd eth configured? Any chance the config is overlapping to both eth cards?

Rick Garland
Honored Contributor

Re: ethernet problem

A thought that just occurred;

Are both cards configured with unique names and their respective scripts have no overlap?

Look in the /etc/sysconfig/networking directory and the /etc/sysconfig/network-scripts directory. Any misstated info in these scripts?
Huc_1
Honored Contributor
Solution

Re: ethernet problem

In the file /etc/sysconfig/network-scripts/ifcfg-eth0 you should see a line like

ONBOOT=yes

Jean-Pierre Huc
Smile I will feel the difference
Steven E. Protter
Exalted Contributor

Re: ethernet problem

I've noticed some anamolous behavior with Red Hat 4.

I lock down the network configuration, fixed both or three cards. Then, after a few days of undetermined use a new file appears in /etc/sysconfig/network-scripts starting with a : and looking like one of those configuration files.

Networking is okay until restarted, then the external interface doesn't work properly. Remove the strange little file and restart the network and all is well.

I was suspecting some kind of buffer overflow creating a file except the whole directory is chattr +i on my system since its exposed to the Internet.

I suggest a look around in /etc/sysconfig/network-scripts for files that simply do not belong.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gopi Sekar
Honored Contributor

Re: ethernet problem



Check /etc/sysconfig/network it should have NETWORKING=yes

Hope this helps,
Gopi
Never Never Never Giveup
Alexander Chuzhoy
Honored Contributor

Re: ethernet problem

I'd check first Huc's suggestion.
Unless you have ONBOOT=yes in
/etc/sysconfig/network-scripts/eth0
the interface won't become active upon start/restart of network service.
Regards.
Fadia Almarei
Super Advisor

Re: ethernet problem

thanks gues the problem solved , the ONBOOT was no ,so i change it and every thing is OK
fadia.marei