Unable to get Red Hat Enterprise Linux 5 (64-bit) to get connected to Internet

Hi there,

Just need some help in getting our Virtual Machine connected to the network.
Its a Red Hat Enterprise Linux 5 (64-bit).
I've tried almost everything.
Even edited the config files /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth0

/etc/sysconfig/networking/profiles/default/ifcfg-eth0

However no luck
Any help would be greatly appreciated.

Thanks
LVL 2
Clement PAsked:
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.

multimacCommented:
Did you try tui?
yum install system-config-network-tui

Open in new window

system-config-network-tui

Open in new window

0
SandyCommented:
just run

#setup

and then configure network... else try running #dhclient

TY/SA
0
Clement PAuthor Commented:
Hi Sandy,

I've tried this as well.
Its showing the Statsic IP and DNS address that I added.


Thanks
0
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.

SandyCommented:
yes... now..

#service network restart

#ifconfig -a

TY/SA
0
Clement PAuthor Commented:
Yeah ...I restarted the network services several times yesterday and even today.
It is able to Bring-up the interface eth0 on which I've static IP
Pic1.JPG
0
SandyCommented:
then where is the prob ? are you able to ping your gateway ? if yes then did you setup in config while configuring the ip ?

Still if gateway is configured then did you checked dns entries in /etc/resolv.conf

put

nameserver 4.2.2.2
nameserver 8.8.8.8

TY/SA
0
Clement PAuthor Commented:
yeah I did add our internal DNS Server add
0
SandyCommented:
so what exactly the error then.. if gateway is pinging . if name is getting resolved... then it is not your system who is blocking the access...

Try one more thing..

1. #service iptables stop

2. #service iptables status

MUST BE STOPPED and then try to access.. if still not working then it is network issue or intermittent issue.
0
Clement PAuthor Commented:
Hi Sandy ,

The problem is we are not able to ping to gateway itself.
0
SandyCommented:
ok.. what is the gateway IP and the subnet mask ??? if this is the VM then is the bridge/network config is correctly selected ?

Check both your system and gateway ip should be in same subnet.. also please paste

#route -v

TY/SA
0
Clement PAuthor Commented:
Hi Sandy,

192.168.10.254 , 255.255.255.0
0
gheistCommented:
Is your netcard still eth0?
remove /etc/udev/rules.d/70-*.conf
and reboot to make it eth0 again.
0
Clement PAuthor Commented:
Hi gheist,

Thank you and  i'll try what you suggested now.

@ Sandy Happy Independence Day :)
0
SandyCommented:
Thanks a ton for the wishes :)
0
Clement PAuthor Commented:
Hi gheist,

I don't see 70-*.conf
Pic2.JPG
0
SandyCommented:
it is in 60-net.rules as this seems RHEL/CENTOS 5 to me.. .but i don't think that you need to do as in earlier screenshot it is eth0 and it is up.. moreover you can put the output for gheist observation :)

#dmesg | grep -i eth

TY/SA
0
Clement PAuthor Commented:
This is a RHEL Server release 5.8 (Tikanga )
0
gheistCommented:
60-net is the good one. It renames interfaces so that same MAC address is named same all the time. If you delete the file interfaces get re-numbered starting from eth0 and new persistent config file is placed back.
0
Clement PAuthor Commented:
Hi Gheist,

I've removed the 60-net.
What do I do next please ?

thanks
0
Clement PAuthor Commented:
route -v screenshot
route--v.JPG
0
gheistCommented:
reboot an you will get 1st adapter eth0. Make sure ifcfg-eth0 has no MAC address inside and it will be configured with good config
If not go to system-config-network and verify all settings and try to bring network interface up.
0
Clement PAuthor Commented:
I've requested that this question be deleted for the following reason:

delete
0
gheistCommented:
Reboot helped?
0

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
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
Linux

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.