unable to ping virtualbox machine

 
Thread Tools Search this Thread
Operating Systems Linux SuSE unable to ping virtualbox machine
# 1  
Old 10-13-2009
unable to ping virtualbox machine

I current have Windows 7 running Virtualbox - OpenSUSE.

From SUSE I can ping the Windows box 10.10.x.x no problems.

But from the windows box I can't ping SUSE. I have tried disabling the firewall and sill no luck. Tried pinging host name and still no luck.

The network gives an IP from router with DHCP of 10.10.x.x and the virtual box has a ip of 10.0.2.15 (SUSE IP for br0)

when I do a traceroute;
traceroute to 10.10.x.x (10.10.x.x), 30 hops max, 40 byte packets using UDP
1 10.0.2.2 (10.0.2.2) 0.177 ms 0.152 ms 0.145 ms
2 10.0.2.2 (10.0.2.2) 0.350 ms 0.466 ms 0.219 ms

I can get a ping for 10.0.2.2 but have o idea what this address is for.

Does anyone know why I would not be able to ping the SUSE box from Windows? Or know of any guides I could have a read of? Google and a few other search have not come up with anything helpful so far Smilie
# 2  
Old 10-13-2009
You've connected the virtual machine via NAT. This means the IP headers of any packets leaving the guest are re-written to match the hosts network settings. But VirtualBox does not do any kind of reverse NAT (except for established connections), not even for packets originating from the host machine.

What I would do is create a direct connection ("Host interface"), keeping the guest in it's own subnet, and create a second IP for the host for them to communicate.
# 3  
Old 10-13-2009
pludi ... thanks heaps... worked it out and all good can now ping host and guest OS Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Cant ping Linux machine from Windows

Hi I have established LAN with the help of D-Link router. I am having 2 desktops ethernet connection managed by this D-Link router. One PC is with Windows 7 OS Second PC is with Redhat Linux 6.1 Both the PCs now stands connected to internet via this D-Link router. I could ping windows PC... (12 Replies)
Discussion started by: videsh77
12 Replies

2. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies

3. AIX

Unable to ping localhost

Hi all, I have gone through many posts related to this issue,but my issue wasn't resolved hence creating new thread. I am unable to ping localhost. ping localhost tries to ping localhost which is defined in DNS. My /etc/hosts has entry for localhost as 127.0.0.1 loopback localhost. ... (8 Replies)
Discussion started by: chpsam
8 Replies

4. UNIX for Advanced & Expert Users

start virtual machine in Virtualbox giving username and password.

i have found a way to start vm with commanda as follows - VBoxManage startvm <uuid>|<name> it is installed inside oracle virtualbox. in vmware we have a way to do this -- $vmware-cmd -v -H localhost -U user -P password /var/lib/vmware-server/Virtual\ Machines/Ubuntu/Ubuntu.vmx... (0 Replies)
Discussion started by: upvan111
0 Replies

5. Solaris

not able to ping base OS from virtual machine

I have a vista on my PC . I have created a Solaris 10 server on it using VM ware . I have selected bridge mode to connect my PC and virtual machine together .I have alloted ip 192.168.1.2 to my virtual machine and 192.168.1.11 to my PC . I am able to ping the virtual machine from the base machine... (1 Reply)
Discussion started by: asalman.qazi
1 Replies

6. IP Networking

Unable to ping freebsd machine using fully qualified domain name

hi all. am unable to ping a freebsd machine using fully qualified domain name from a windows machine. i have already set the fqdn for the machine. plz advise me. thanks. (2 Replies)
Discussion started by: coolatt
2 Replies

7. IP Networking

Unable to ping the gateway IP itself

We are unable to bring one of our linux boxes into the network once it was restarted. But once we stop and start the network service. We are able to ping the gateway and get into network. After a minute or two we get the following reponse for the ping command 64 bytes from 124.168.215.40:... (6 Replies)
Discussion started by: chrisanto_2000
6 Replies

8. UNIX for Dummies Questions & Answers

unable to ping

DEar all i am receiving this error on start and then unable to ping (dlpid): unable to open network adapter driver (/dev/mdi/e3h0) what to do ? (2 Replies)
Discussion started by: sak900354
2 Replies

9. UNIX for Dummies Questions & Answers

ping to machine and count responses

if i wanted to ping all the machines in a given directory (/etc/hosts) and return a total count of responses how would i go about scripting that? complete newbie...so be gentle if ; then //$1 = /etc/hosts cd "$1" //this puts me into the directory i need...but how do i send ... (2 Replies)
Discussion started by: trostycp
2 Replies
Login or Register to Ask a Question