Page 1 of 1

cannot ping using host-only adapter

Posted: 13. Mar 2012, 11:09
by ranggadablues
Hi there..

Ok just straight to the point
my host Mac OS X Lion
my guest freebsd 8.2 stable

Code: Select all

on my network setting preferences like this:
adapter
ip      192.168.0.102
netmask 255.255.255.0
DHCP server
server address 192.168.0.102
server mask    255.255.255.0
lower bound    192.168.0.1
upper bound    192.168.0.255
 
host
ip      192.168.0.102
netmask 255.255.255.0

guest
ip      192.168.0.1 -> DHCP
netmask 255.255.255.0
my problem is:
I can't ping both host->guest or guest->host

please..please help me,its something wrong with my network configure
thank you

Re: cannot ping using host-only adapter

Posted: 15. Mar 2012, 03:51
by ranggadablues
someone?

anyone can help me for this problem?

thank you

Re: cannot ping using host-only adapter

Posted: 15. Mar 2012, 04:25
by Perryg
Did you reset the host-only adapter settings? Because by default it should have been 192.168.56.*
Normally the host has 192.168.56.1 and the guest 192.168.56.101

Re: cannot ping using host-only adapter

Posted: 15. Mar 2012, 04:37
by ranggadablues
Perryg wrote:Did you reset the host-only adapter settings? Because by default it should have been 192.168.56.*
Normally the host has 192.168.56.1 and the guest 192.168.56.101
thanks for the reply,

ya I know by default the ip is 192.168.56.*, but I already setup my BSD using static ip 192.168.0.*

is there any possible that I use my static ip and not use on default VM ip?

thank you

Re: cannot ping using host-only adapter

Posted: 15. Mar 2012, 05:19
by Perryg
Only if you edit the host-only networking to be in that range.
There is a whole section on how to do this in your VirtualBox users manual.
See Chapter 6.6 Host-only networking.

Although it would be easier to simply change the guest network addresses then to change the adapter IMHO.

Re: cannot ping using host-only adapter

Posted: 15. Mar 2012, 06:23
by ranggadablues
Perryg wrote:Only if you edit the host-only networking to be in that range.
There is a whole section on how to do this in your VirtualBox users manual.
See Chapter 6.6 Host-only networking.

Although it would be easier to simply change the guest network addresses then to change the adapter IMHO.
thanks for the reply

on network preference I already create my network range, the host is 192.168.0.102 and the guest is 192.168.0.199 for network mask is 255.255.255.0.
when I use bridge adapter on my office it's running as I hope, I can ping each other or hostname, but when I use host-only adapter I cannot ping between host and guest.

Now on network preference I change for ip4 address same as I have ip DHCP address on my office, and taraa.. :lol: I can ping each other use the ip address, but the opposite I can't ping use guest hostname, it's kind of confused.. :cry: