Network Ping

General support questions
User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Network Ping

Post by TrevorH » 2017/06/21 15:03:22

Post the output from ipconfig /all from your host.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

rajeshk
Posts: 8
Joined: 2017/06/20 10:01:12

Re: Network Ping

Post by rajeshk » 2017/06/21 15:58:25

TrevorH wrote:Post the output from ipconfig /all from your host.
Here you go.
Attachments
ipconfig.txt
(3.9 KiB) Downloaded 110 times

rajeshk
Posts: 8
Joined: 2017/06/20 10:01:12

Re: Network Ping

Post by rajeshk » 2017/06/21 16:05:09

tunk wrote:Does ping 8.8.8.8 work on your host OS?
What is the VM ip address?
How does your ifcfg-eth0 now look like?

If ping doesn't work on your host, then your company firewall may block it.
If so, run these two commands as root:
yum install nmap
nmap -p 80,443 http://www.centos.org
If the network is working, then the second command should show that the two ports are open.
EDIT: logical short circuit, if the first does work, then you have network.

Hi Tunk,

attached ifconfig and eth0 setup.

i am able to ping my host OS(win 10) from guest OS(Centos). but not vice-versa. cant do yum install as its unable to connect to internet. thats the main point.
Attachments
CentOS Ifconfig.JPG
CentOS Ifconfig.JPG (61.59 KiB) Viewed 1545 times
Centos - Eth0.JPG
Centos - Eth0.JPG (18.76 KiB) Viewed 1545 times

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Network Ping

Post by TrevorH » 2017/06/22 08:26:28

So your ipconfig clearly shows that 192.168.56.1 is the address assigned to your HOST. You cannot use this address on your guest as well. It is the address that should be used as your GATEWAY= in the guest.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

rajeshk
Posts: 8
Joined: 2017/06/20 10:01:12

Re: Network Ping

Post by rajeshk » 2017/06/22 11:41:43

TrevorH wrote:So your ipconfig clearly shows that 192.168.56.1 is the address assigned to your HOST. You cannot use this address on your guest as well. It is the address that should be used as your GATEWAY= in the guest.
Hi Trevor,
the IP config you are talking is for "Ethernet adapter VirtualBox Host-Only Network:"

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: Network Ping

Post by tunk » 2017/06/22 16:02:13

i am able to ping my host OS(win 10) from guest OS(Centos). but not vice-versa.
I'm no network expert, but I think this is normal: 10.0.2.15 is on a local/private network that only VirtualBox and the VM know about.
VirtualBox routes the ping from your VM, and Win10 cannot access the private network. Or at least that's how it is on my VM+host.

If ping 8.8.8.8 is the only test you did to see if it's working, then it may be working. Are you sure something like yum update doesn't work?

rajeshk
Posts: 8
Joined: 2017/06/20 10:01:12

Re: Network Ping

Post by rajeshk » 2017/06/27 04:34:35

i think my Company protocols are blocking the firewall.
when i tried doing this using home internet it worked.

so i think this thread can be closed.

Thanks Trevor and Tunk.

Post Reply