Linux WS9 can't connect to the Internet.

Hail and well met, I have a linux problem. I just recently moved office. Everything is up and running except for our Linux box. Linux WS9. I appologies now for my lack of knoledge in Linux. We use a static IP (Which works when inputed in a windows box) but I cant seem to get the Linux box back online.

I did some reading and I was asked to do a ipconfig (ifconfig), I did and it seems like its up, I see a UP BROADCAST in there. I have looked at the DNS entry and it is correct, basically no settings were changed since the move and the ISP didnt change anything so in theory I should be up and running.

Cant Ping or tracert

Can ping and the static IP the box is using.

Please help, im loosing my mind :)

Best Regards

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Reboot the machine, then post the results of the following commands (as root):

route -n
cat /etc/sysconfig/network
cat /etc/sysconfig/ifcfg-eth0
cat /etc/hosts
cat /etc/resolv.conf

Sorry, this one:

cat /etc/sysconfig/ifcfg-eth0

should read:

cat /etc/sysconfig/network-scripts/ifcfg-eth0
chinawAuthor Commented:
Dear blkline

1. route -n
2. ifconfig
3. cat /etc/sysconfig/network
4. cat /etc/sysconfig/ifcfg-eth0
5. cat /etc/hosts
6. cat /etc/resolv.conf

Kernel IP Routing Table
Destination          Gateway          Genmask            Flags   Metric   Ref     Use   Iface      U         0          0           0   eth0          U         0          0           0   eth0

eth0       Link encap:Ethernet    HWaddr  00:06:5B:DD:1E:97
             UP BROADCAST RUNNING MULTICAST  MTU:1500   Metric:1
             RX packets:551 errors:0 dropped:0 overruns:1 frame:0
             TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:42397 (41.4kb)   TX bytes:7447  (7.2kb)
             Interrupt:11 Base address:0xdc80

lo          Link encap:Local Loopback
             inet addr:  Mask:
             UP LOOPBACK RUNNING   MTU:16436   Metric:1
             RX packets:661 errors:0 dropped:0 overruns:0 frame:0
             TX packets:661 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:64232 (62.7kb)   TX bytes:64232  (62.7kb)


cat: /etc/sysconfig/ifcfg-eth0/; No such file or directory

# Do not remove the following line, or various programs
# that require network functionality will fail.         localhost.localdomain      localhost

search localdomain

(Sorry to keep some numbers from you, i hope i dont offend. Where the "x" are the correct numbers as per the spec sheet from the ISP.)

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

You're missing a gateway entry:

route add default gw

That needs to be added to:

Acutally, you'll add:

to your /etc/sysconfig/network

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chinawAuthor Commented:
cat /etc/sysconfig/network-scripts/ifcfg-eth0

# 3com Corporation|3c905c-TX/TX-M [Tornado]
and what I wanted to see is:

cat /etc/sysconfig/network-scripts/ifcfg-eth0

chinawAuthor Commented:
added the to the /etc/sysconfig/network and rebooted but still cannot connect.

I try to lo'g on to and i get the follwoing message   " could not be found. Please check the name and try again.

what if you type:

route add default gw (your gateway address)

Then try again.   If it fails then please post:

route -n

Also, go to one of your windows boxes and at a command line type:

ipconfig /all

and post that.  I want to ensure that you are indeed using the correct address for the gateway.
chinawAuthor Commented:
The gateway is 100% correct.

when i do route add default gw   it says  SIOCADDRT:  Network is unreacheable

when i do route -n

Kernel IP Routing Table
Destination          Gateway          Genmask            Flags   Metric   Ref     Use   Iface      U         0          0           0   eth0          U         0          0           0   eth0

chinawAuthor Commented:
in network configuration i have 4 profiles. 1 is active and the rest are inactive. they have all the same settings. nicknames are eth0 (active) eth0/;1, eth0:2, eth0:3 (inactive)
chinawAuthor Commented:
when i use text edit to edit the /etc/sysconfig/network in the open file window i see 2 network files, one is called network and the other is called network~
The file with "~' at the end is a backup copy of the original.  Does network~ contain something other than network?

If it says "Network is unreachable" then the gateway is on another network.  I'm not sure I can help you unless you give me the more information about your network.  If you don't want to post them here then send them to my email address:

blkline at attglobal dot net

Run all of those commands I gave earlier and send them to me.  I'll post my comments back here but will sanitize the addresses in anything I post to here.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.