FreeDOS不回答ARP


0

我有2个VirtualBox虚拟机,其中freeDOS(1.2)作为访客,我正在尝试在它们之间建立网络连接。

首先,我试图在其中一台机器和主机之间建立连接(Windows 10)。

似乎由于某种原因,访客不回答ARP和ping请求,虽然它可以向主机发送ARP请求并使用答案来ping主机。

在VM的“网络设置”中,适配器设置为“仅主机适配器”。

这里的主机是192.168.56.1,访客是192.168.56.2

从主机ping客户端不起作用:

C:\Users\Rafi>ping 192.168.56.2

Pinging 192.168.56.2 with 32 bytes of data:
Request timed out.
Request timed out.
Reply from 192.168.56.1: Destination host unreachable.
Request timed out.

Ping statistics for 192.168.56.2:
    Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),

从客户端ping客户不起作用:

C:\>ping 192.168.56.2
mTCP Ping by M Brutman (mbbrutman@gmail.com) (C)opyright 2009-2013
  Version: May 23 2013

Timeout waiting for ARP response

从客户端ping主机:

C:\>ping 192.168.56.1
mTCP Ping by M Brutman (mbbrutman@gmail.com) (C)opyright 2009-2013
  Version: May 23 2013

ICMP Packet payload is 32 bytes.

Packet sequence number 0 received in 0.85 ms, ttl=128
Packet sequence number 1 received in 0.85 ms, ttl=128
Packet sequence number 2 received in 0.85 ms, ttl=128
Packet sequence number 3 received in 3.40 ms, ttl=128

Packets sent: 4, Replies received: 4, Replies lost: 0
Average time for a reply: 1.48 ms (not counting lost packets)

mTCP的配置文件(在guest中):

C:\>type %mtcpcfg%
DHCPVER DHCP Client version May 23 2013
TIMESTAMP ( 1546028611 ) Fri Dec 28 15:23:31 2018
PACKETINT 0x60 
IPADDR 192.168.56.2
NETMASK 255.255.255.0
GATEWAY 192.168.56.1
MTU 1500

我怎么解决这个问题?

Answers:


0

FreeDOS没有驻留TCP / IP堆栈,当我尝试ping客户机时,没有程序可以处理ARP和ping。

当guest虚拟机运行能够处理TCP / IP的程序时,它会回答ARP和ping。


您是否检查过防火墙是否阻止连接?
Biswapriyo
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.