Connect to internet through Linux Virtual Machine . . .
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Let me explain more to you
My lap top IP is 192.168.1.77
Now , i am trying to ping from VMWare to this IP but without reply.
I think if i make the virtual machine see my lap top and ping it successfully
In this case , i will be able to connect to internet.
Please , Correct me if i am wrong
There are basically 4 ways to let a vm access networking. One is Nat, another is bridge, third is local and forth is no lan.
You need to start at your VM's documentation to see which one you wish to setup. One uses the VM's built in dhcp server so you get a subnet in the range of the VM's programming. The other uses what the host ip has.
You can see the vitual machine settings
(hard disk, cd rom, mrmory , networking, etc)
There you will see four options. Among them choose NAT, It will definitely work..
Let me know it is working or not?
Solution for internet connectivity over linux os in virtual box
HELLO GUYS
1. set the network connection on your virtual box as NAT.
2. Now start your os,go to the network settings in it, you would find there two Ethernet disconnected , select the add option and add VPN .
3. In VPN set your DNS, IP , subnet mask and router's address(run ipconfig /all in cmd and use the host addresses in VPN settings)
now restart your virtual machine
turn the Ethernet option ON
CHECK THE INTERNET CONNECTIVITY
In the WIRED NETWORK SETTINGS (ETHERNET) -Select ip4 settings ON and turn off ip6
It should work
If it doesn't work reply me back i would love to help you
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.