Article 5J293 Establish both Internet Connection + Network Connection between 2 Virtual Machines

Establish both Internet Connection + Network Connection between 2 Virtual Machines

by
toronto2001
from LinuxQuestions.org on (#5J293)
Hello Everyone!,

I have Slackware 14.2 installed on 2 Virtual Machines on Virtual Box. My task is to have both an valid internet connection and network connection simultaneously on the 2 Virtual Machines. I am having some difficulty in establishing this. I am either able to get it only pinging with no internet, or internet on 1 of the VMs and not the other, with no network connectivity. How would I go about this I understand 2 Network Adapters are to be used. Which of the 2 are to be used and in what order (Which is Adapter 1? Adapter 2?) and is port forwarding to be used?

Both 2 Virtual Machines should be on same network (ex. 192.168.10.0/24) VM1 has ip address of 192.168.10.1 and VM2 has ip address of 192.168.10.2 . I put both on internal network card and they are able to ping. But if I added a 2nd Network Card for internet the pinging wont work. Please guide me on to the right path.

Greatly appreciate any help!! Thank You all in advancelatest?d=yIl2AUoC8zA latest?i=uCf0iUry6rc:CqvmKWJrzFs:F7zBnMy latest?i=uCf0iUry6rc:CqvmKWJrzFs:V_sGLiP latest?d=qj6IDK7rITs latest?i=uCf0iUry6rc:CqvmKWJrzFs:gIN9vFwuCf0iUry6rc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments