"Destination Host Unreachable" on ping [closed]

Solution 1:

  1. I assume that when you say 'connects' you mean link-up on the interface ports of your PC and router.
    However, I don't understand why that should happen only after you use static-IP -- maybe your interface was configured down initially.

  2. If your router IP is 192.168.1.1 it is very likely to be a Class-B subnet configuration.
    This means the netmask would be 255.255.0.0.
    By using a Class-C netmask and a network number of 192.168.1.0,
    you have placed your PC in a different subnet from your router.
    That would explain the ping unreachable case.

So, I think you should try with,

iface eth0 inet static  
    address 192.168.1.2  
    netmask 255.255.0.0  
    network 192.168.0.0  
    broadcast 192.168.255.255  
    gateway 192.168.1.1  

You can check the physical connectivity with mii-tool.
It is part of the net-tools package.