Linux 从本地网络上的设备访问流浪者

Linux 从本地网络上的设备访问流浪者,linux,vagrant,vagrantfile,Linux,Vagrant,Vagrantfile,我更新了设备A中的文件 # Create a public network, which generally matched to bridged network. # Bridged networks make the machine appear as another physical device on # your network. config.vm.network :public_network, ip: "192.168.10.121" 然后更新设备B中的/etc/hosts 1

我更新了设备A中的文件

# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network :public_network, ip: "192.168.10.121"
然后更新设备B中的/etc/hosts

192.168.10.121 test.localhost

然后,我尝试使用浏览器“test.localhost”访问设备B,但没有结果

您可以从主机发布
tracepath-n 192.168.10.121
的输出吗?1:192.168.10.1 0.344ms pmtu 1500 1:192.168.10.1 2997.331ms!H简历:pmtu 1500