Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.141.148.253 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 14.1.0.0 10.141.148.253 255.255.255.0 UG 0 0 0 eth0 10.141.16.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 10.141.16.1 0.0.0.0 UG 0 0 0 eth0
Я пытаюсь пропинговать машину 14.1.0.0. но он не дает никакого ответа. но с другой машины он дает ответ, таблица маршрутизации которого
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 14.1.0.0 10.141.148.253 255.255.255.0 UG 0 0 0 eth0 10.141.148.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 0.0.0.0 10.141.148.1 0.0.0.0 UG 0 0 0 eth0
, почему теперь есть ответ в первом случае, как я могу решить эту проблему?
14.1.0.0 with the subnetmask 255.255.255.0 is no valid host address! It is the address of the subnet. Try using another IP for your host (like 14.1.0.1)
14.1.0.0/24 (/24 -> netmask = 255.255.255.0) is a "Network ID". it is a reserved address, and cannot be used for hosts. Valid addresses go from 14.1.0.1-14.1.0.254 (.255 is reserved as a broadcast address).