can guest talk to each other in NAT?

Discussions about using Linux guests in VirtualBox.
Post Reply
kasicass
Posts: 1
Joined: 11. Sep 2010, 17:33
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: debian, openbsd

can guest talk to each other in NAT?

Post by kasicass »

I'm running two guest in my VirtualBox.
host, 192.168.0.76
debian, 10.0.2.15
openbsd, 10.0.2.16

in debian,
$ ping 192.168.0.76
PING 192.168.0.76 (192.168.0.76) 56(84) bytes of data.
64 bytes from 192.168.0.76: icmp_seq=1 ttl=64 time=0.852 ms

$ ping 10.0.2.16
PING 10.0.2.16 (10.0.2.16) 56(84) bytes of data.
From 10.0.2.15 icmp_seq=1 Destination Host Unreachable

Thx a lot for help. :-)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: can guest talk to each other in NAT?

Post by Sasquatch »

This isn't like VMWare. VMs using NAT are completely separated. If you take a closer look at the IP address they get, it's all the same (10.0.2.15).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply