1827929 Members
1712 Online
109973 Solutions
New Discussion

Network Link question

 
SOLVED
Go to solution
Jorge Cocomess
Super Advisor

Network Link question

Greetings,

Strange situation with my network link for my Linux server.

I've just installed RHAS 4.0 on my Itanium server. The installation went well. After reboot, I was not able to ping on of the servers on my network or vice versa from my workstation. These servers that I am trying to ping are the ones that I added to the hosts file.

When I ran the ethtool eth0 - The status showed to link. I checked the cable and check the NIC card from back of the server, I can see green light lit up. I even tried a different cable. Being that the NIC does have the 2nd port, so I configured that with DHCP and nothing.

ifconfig eth0 does displayed the correct IP address, Net Mask, etc.

I've installed numerous RHAS 3.0 before and never had this much trouble before.

Any ideas what else I should be looking at.

Thank you in advance.

Jorge
13 REPLIES 13
Hemmetter
Esteemed Contributor

Re: Network Link question

Hi Jorge,

The hosts you pinged are in the same subnet?
Can you ping your configured gateway?
Check on the Server for correct routing.

Do speed/autoneg settings match your switchport settings?

Ask your network guy to double check speed/autoneg and also vlan/trunks etc.

Check if you aktivated some kind of firewall on your new box by mistake.

Rgds
HGH
Vitaly Karasik_1
Honored Contributor

Re: Network Link question

what about your switch port? try to connect your linux box to another port.
Jorge Cocomess
Super Advisor

Re: Network Link question

I tried different port on the switch and still no link. I know that I turned off the firewall during the installation. Is there a way to check to see if the firewall turned off or not at the command line?

Thanks,
Jorge
Vitaly Karasik_1
Honored Contributor

Re: Network Link question

chkconfig --list|grep iptabtables

or

iptables -L - you should see "allowed" for all chains

Hemmetter
Esteemed Contributor

Re: Network Link question

Hi Jorge,

i got your wrong, thought you have link but can not ping.

To what speed is your switch configured?
Does it match your nic?
What nic / driver do you use?

Can you give the output of "ethtool"?

rgds
HGH
skt_skt
Honored Contributor

Re: Network Link question

I would also recomend to paste the output of "ethtool eth0"

Confirm with n/w team what is the speed/autoneg setting.

With new model of switches and GIGbit ethernet cards autoneg can be made ON.

But if you have 100MB card , i would suggest to hard code speed/duplex and disable the autoneg. Do the same setting on swtich side
skt_skt
Honored Contributor

Re: Network Link question

which is the update version you have for AS 4
Jorge Cocomess
Super Advisor

Re: Network Link question

Update 3

I am in the process looking for update 4 at the moment.

Thanks,
Jorge
Jorge Cocomess
Super Advisor

Re: Network Link question

I got much farther now. Now, when I tried to run up2date to update to the latest and greatest patch, I get this error message "Network is unreachable".

Please advise.

Thanks,
Jorge
Jorge Cocomess
Super Advisor

Re: Network Link question

Scratch that. I forgot the GATEWAY= line for /etc/sysconfig/network-scripts/ifcfg-eth0

Once I added the line for GATEWAY I was able to get access outside world.

Now, my problem is up2date is coming back telling me that " up2date up2date

Fetching Obsoletes list for channel: rhel-ia64-as-4...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------


The following packages you requested are already updated:
up2date"

However, when I tried this, cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 3)

I am certain that Redhat is now on Update 4 or even 5.

Any ideas what's wrong??

Thanks,
Jorge
skt_skt
Honored Contributor
Solution

Re: Network Link question


here is what i do. But we have satellite server configured.

run "up2date up2date" -- can do this now
run "up2date -u -d" -- this will download the new software from the satellite server to the local machine
run "up2date -u" -- this will install the software -- will take about 5-10 minutes to complete
Jorge Cocomess
Super Advisor

Re: Network Link question

Once I have the network part taken care of, this update went like it should be.

Thanks everyone for your help.

Jorge
Jorge Cocomess
Super Advisor

Re: Network Link question

All is well now. Thanks!!