Trex-Group / trex-bigdata

11 stars 6 forks source link

[ping]关于从虚拟机上PING物理主机的问题 #8

Closed lufengfeng closed 7 years ago

lufengfeng commented 7 years ago

在家里的网络环境下 有如下问题发生

从物理主机可以PING通三个虚拟机 从虚拟机上PING物理主机通不过 还有虚拟机之间也PING不通

原因 有说是防火墙的,但是关闭了已经.

McKey1911 commented 7 years ago

我想如果有各个VM的网卡设置以及networkinterfaces的配置信息会有助于判断问题。

xiaanyin commented 7 years ago

你用的是什么系统的电脑?

lufengfeng commented 7 years ago

xiaanyin notifications@github.com于2017年3月7日 周二上午2:06写道:

你用的是什么系统的电脑?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trex-group/Big-Data/issues/8#issuecomment-284462456, or mute the thread https://github.com/notifications/unsubscribe-auth/AQFL-6kk-p7YLLe8HSLAoeS1EqsTJwQdks5rjD0rgaJpZM4MUMB2 .

win7

lufengfeng commented 7 years ago

chengwei1987 notifications@github.com于2017年3月7日 周二上午12:38写道:

我想如果有各个VM的网卡设置以及networkinterfaces的配置信息会有助于判断问题。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/trex-group/Big-Data/issues/8#issuecomment-284432292, or mute the thread https://github.com/notifications/unsubscribe-auth/AQFL-4nyHSEb2CEtjX8vVWogprcfoUHsks5rjChjgaJpZM4MUMB2 .

嗯 稍后整理一下

xenron commented 7 years ago

关于问问题的方法和解决问题的思路,刚才写了一大篇(长微博。。。) 不嫌麻烦的话,可以看一下 https://github.com/trex-group/Big-Data/issues/9

这次不多唠叨,直入主题了 针对这个问题,我的大致思路如下。 1,环境情况 host主机和各个vm节点的ip地址配置(ipconfig或ifconfig) 网络配置的截图(network/interface) 虚拟机的话,可能还需要virtualbox网卡设置的截图 2,ping 命令的截图(ping ip 还是 ping hostname) 3,一般情况而言,vm节点ping不通host主机,这种情况也算正常 为什么? 第一个原因,不需要,一般情况host主机都是windows,或者mac os ,不需要参与到hadoop集群环境中 第二个原因,一般情况下,windows或是mac os都会有防火墙

综上,我个人的观点,最重要的是各个vm节点的网络连通性

在整理问题相关资料的同时,可能你自己就会慢慢把这个问题解决了。 期待。。。

lufengfeng commented 7 years ago

多谢回复 还有一位同学和我一样的问题 以为是普遍性问题 不过我重新装了一遍 通了