2
1
In host I am using Scientific Linux 6.4
In guest I am using CentOS 6.4
Oracle Virtual Box Version 4.2.18 r88780
I want a create a network between host and guest machine using static ip so in Virtual Box I selected Host-only Adapter
In base system it created a new interface called vboxnet0
vboxnet0 Link encap:Ethernet HWaddr 0A:00:27:00:00:00 inet addr:192.168.56.1 Bcast:192.168.56.255 Mask:255.255.255.0 inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)
After starting guest os I tried ping command to ping my host machine, it was not pinging, this is the output.
[root@localhost ~]# ping 192.168.56.1 PING 192.168.56.1 (192.168.56.1) 56(84) bytes of data. From 192.168.56.2 icmp_seq=1 Destination Host Unreachable From 192.168.56.2 icmp_seq=2 Destination Host Unreachable From 192.168.56.2 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.56.1 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4658ms pipe 3
In guest machine for which interface I should set static ip ? for eth0 I set the static ip ie; 192.168.56.3 still it's not pinging.
After enabling
Cable connected
also its not working. – max – 2013-10-07T08:42:37.170