help with the internal networking

This is for discussing general topics about how to use VirtualBox.
Post Reply
D4v3
Posts: 3
Joined: 18. May 2017, 00:30

help with the internal networking

Post by D4v3 »

Hello

i have 2 vm with debian 8 and win 7 and i would like to know what steps are needed to get connection between the 2 virtual machines

I want an answer when I use ping from one machine to another

i'm sure that i leave some steps..

i followed guides , i watched videos on youtube .. but i don't know what's wrong

The steps i followed are:

i put the vm in internal network and i denied all the connections in the promiscuous mode and i configured a static ip for both vm


IP: 192.168.1.102 debian ( in this case i used wicd)

subnet mask: 255.255.255.0

gateway: 192.168.1.1

search domain: ( i put google dot com )

dhcp hostname : debian

the primary and secondary dns i leave blank ( or i have to put the dns of google ?)



IP: 192.168.1.103 is windows 7

subnet mask: 255.255.255.0

gateway: 192.168.1.1

the primary and secondary dns i leave blank

i deactivate the firewall but the results doesn't change..

i don't have internet , so ping doesn't work C:

what should i do?

thank you so much
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: help with the internal networking

Post by Perryg »

You should read http://www.virtualbox.org/manual/ch06.html to understand what the different types of network modes do. Internal will not work for accessing the Internet alone. You would need a software router. I suggest you use VBox NAT ( default ) and a second adapter set to host-only so you can communicate host<>guest
Post Reply