I have a new RHEL running on virtual box on my laptop and want it to talk to 8.8.8.8 THANKS!!!!!!!!!!!!!!!!!

I have a new RHEL running on virtual box on my laptop and want it to talk to 8.8.8.8

I am very new to this , how can I do this?

I have configured the rhel to use 192.168.122.1 I guess

My laptop is 192.168.50.142

Do I have to set up a route to this gateway ? on 192.168.50.1?

thanks
LVL 1
NAMEWITHELD12Asked:
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.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you use NAT or Bridged Networking, you should be able to ping your Internet Router Gateway.
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
Thomas WheelerCommented:
You should use bridged networking then you would get a local up on the 192.168.50 network
0
NAMEWITHELD12Author Commented:
thanks for all the help , I am really lost here this is not my realm for sure

so this is what I have for ifcfgifcfg on my new RHEL boxdo I have to create a file for eth0 and then assign a ip to that??


thanks !!!!!!!
0
Thomas WheelerCommented:
Well the bridged networking is how you configure virtual box network adapter
0
gheistCommented:
192.168.122 looks issued by virtualbox internal or nat, not a home router.
0
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.