社区
Linux/Unix社区
帖子详情
win7系统的主机无法ping通linux系统的虚拟机
lianlian117
2010-11-08 09:32:53
虚拟机和主机的防火墙都关闭了,IP都设置在同一网段,始终还是无法ping通。大家帮帮忙吧!
...全文
1584
6
打赏
收藏
win7系统的主机无法ping通linux系统的虚拟机
虚拟机和主机的防火墙都关闭了,IP都设置在同一网段,始终还是无法ping通。大家帮帮忙吧!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
JasonLiu798
2010-11-15
打赏
举报
回复
不知你的虚拟机里系统是啥?如果是Redhat的话,那个网卡有bug,需要在
/etc/sysconfig/network-script/ifctg-eth0里添加
check_link_down{
return 0;
}
xiaocai0001
2010-11-15
打赏
举报
回复
1. 虚拟机的网卡配置成什么模式了? Host Only? Bridge? 还是NAT?
2. 虚拟机里的ifconfig -a输出贴出来...
初步估计你用的是Bridge模式.
lianlian117
2010-11-11
打赏
举报
回复
[Quote=引用 2 楼 zylian 的回复:]
你选择虚拟机上的网卡配置,选择第三项,然后在ip设置中,要将ip设成在一个区段内的。
[/Quote]
试过了,没用!
lianlian117
2010-11-11
打赏
举报
回复
[Quote=引用 1 楼 xiaocai0001 的回复:]
Win7下命令行运行
ipconfig /all
虚拟机里运行
ifconfig -a
以及
route -n
帖出信息后再帮你诊断
[/Quote]
rount -n:
Route -n
Kernel IP routing table
Destination gateway genmask flags metric ref use l face
202.204.113.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 lo
ipconfig/all:
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8072 PCI-E Gigabi
net Controller
Physical Address. . . . . . . . . : 00-25-B3-7D-67-74
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b122:3fc3:1bdb:78a7%12(Prefe
IPv4 Address. . . . . . . . . . . : 202.204.113.247(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 202.204.113.110
DHCPv6 IAID . . . . . . . . . . . : 268445107
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-CD-E7-C5-00-25-B3-7
DNS Servers . . . . . . . . . . . : 202.204.112.66
202.204.112.67
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter fo
1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::16a:d23b:3618:a552%24(Prefer
IPv4 Address. . . . . . . . . . . : 192.168.230.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 486559830
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-CD-E7-C5-00-25-B3-7
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter fo
8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::4002:bbde:a5c2:e834%25(Prefe
IPv4 Address. . . . . . . . . . . : 192.168.248.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 503337046
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-CD-E7-C5-00-25-B3-7
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{186DA15B-C6FC-40A4-BAE3-EF03A2E5E110}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 本地连接* 14:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #6
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{83D2D5D0-C6AC-43E0-9DC5-F38CF8371EB2}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:cb2:2fdd:2470:f27
rred)
Link-local IPv6 Address . . . . . : fe80::cb2:2fdd:2470:f277%17(Prefer
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter 本地连接* 15:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #7
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{74F85D85-CD4F-4570-B4D0-9DD38E519846}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 本地连接* 16:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #8
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 本地连接* 17:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #9
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2002:cacc:71f7::cacc:71f7(Preferre
Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
DNS Servers . . . . . . . . . . . : 202.204.112.66
202.204.112.67
NetBIOS over Tcpip. . . . . . . . : Disabled
帮忙看看吧!
zylian
2010-11-09
打赏
举报
回复
你选择虚拟机上的网卡配置,选择第三项,然后在ip设置中,要将ip设成在一个区段内的。
xiaocai0001
2010-11-08
打赏
举报
回复
Win7下命令行运行
ipconfig /all
虚拟机里运行
ifconfig -a
以及
route -n
帖出信息后再帮你诊断
工业互联网安全测试技术:
系统
测试.docx
系统
2
系统
测试实验文档 实验原理 ms11-003漏洞(Windows7 IE溢出攻击) 是...图2 kali
ping
win7
(3)Metasploit框架(简称MSF)是一个开源工具,旨在方便渗透测试,它是由Ruby程序语言编 写的模板化框架,具有很好的扩
主机
Windows可以
ping
通
虚拟机
Linux
,但是
虚拟机
Linux
不能
ping
通
主机
(离线)
主机
可以
ping
通
虚拟机
,
虚拟机
不可以
ping
通
主机
(离线) 介绍:我的
主机
是windows10,
虚拟机
是CentOS7。 思路:windows的防火墙拦截 参考教程:https://blog.csdn.net/hskw444273663/article/details/81301470 问题...
Linux
网络管理命令 < Series 10. >
本教程从实战出发,结合当下流行或最新的
Linux
(v6/7/8 版本)同时演示,将命令行结合到解决企业实战问题中来,体现出教学注重实战的务实精神,希望从事或未来从事运维的同学,能够认真仔细的学完
Linux
核心命令的...
Linux
问题解决:win10
主机
无法
ping
通
虚拟机
1.最近学习安装
Linux
碰到一个问题:我在win10
系统
中安装了vm12版本,
Linux
我选用的是centos7版本。我成功安装centos7后,首先使用的是自动获取IP操作(详细的看我另外一篇博客),设置之后成功获取到ip,然后于本机...
Centos7
虚拟机
无法
上网,并且不能
ping
通
主机
,但是
主机
可以
ping
通
虚拟机
VMware
虚拟机
不能
ping
通
主机
,
主机
可以
ping
通
虚拟机
Linux/Unix社区
23,120
社区成员
74,507
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章