“无法访问目标主机”和ARP通过LAN返回任何地址

我目前正在试图通过networking掩码为255.255.255.0两台机器上设置LAN,但是我试图在它们之间进行通信时收到以下消息;

 [root@alpha ~]# ping 192.168.0.249 PING 192.168.0.249 (192.168.0.249) 56(84) bytes of data. From 192.168.0.248 icmp_seq=2 Destination Host Unreachable From 192.168.0.248 icmp_seq=3 Destination Host Unreachable From 192.168.0.248 icmp_seq=4 Destination Host Unreachable --- 192.168.0.249 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5175ms 

在其他专用机器上反过来也是如此。 我对我做错了什么,我已经重新启动并重新启动了多次networking服务,仍然没有运气。

正如你从下面看到的,ARP不返回任何LAN地址,但是它应该显示这两个地址。 IPTables被禁用,普通的公共IP将允许ping。

Dedi#1的详细信息:

 [root@alpha ~]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:25:90:C8:81:4C inet addr:192.168.0.248 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::225:90ff:fec8:814c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3634 errors:0 dropped:0 overruns:0 frame:0 TX packets:197 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:220672 (215.5 KiB) TX bytes:10318 (10.0 KiB) Memory:f7180000-f7200000 [root@alpha ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface *.*.*.152 0.0.0.0 255.255.255.248 U 0 0 0 eth1 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1 0.0.0.0 *.*.*.153 0.0.0.0 UG 0 0 0 eth1 [root@alpha ~]# arp -a ? (*.*.*.153) at 74:8e:f8:f7:98:58 [ether] on eth1 

Dedi#2的详情:

 [root@beta network-scripts]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:25:90:C5:C8:A0 inet addr:192.168.0.249 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::225:90ff:fec5:c8a0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:3576 (3.4 KiB) Memory:f7180000-f7200000 [root@beta network-scripts]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface *.*.*.128 0.0.0.0 255.255.255.248 U 0 0 0 eth1 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1 0.0.0.0 *.*.*.129 0.0.0.0 UG 0 0 0 eth1 [root@beta network-scripts]# arp -a ? (*.*.*.129) at 74:8e:f8:fa:b9:8e [ether] on eth1 

虽然我不是100%确定的(你必须联系SecureServers),但是大多数托pipe公司都将使用VLAN或ACL条目在同一台交换机上的服务器隔离开来。 这样,你的服务器就看不到对方了。

请确保与您的托pipe公司联系。 他们很可能不得不为您build立专门的“内部”networking,否则您将需要使用VPN解决scheme。