Initially (just after system startup) the ip table is like that:
192.168.0.0 255.255.255.0 On-link 192.168.0.11 276
192.168.0.11 255.255.255.255 On-link 192.168.0.11 276
192.168.0.255 255.255.255.255 On-link 192.168.0.11 276
and when i run netcat:
> nc -zv -s 192.168.0.11 192.168.0.11 80
to test if port 80 is open it works - the port 80 is indeed open. But when i remove the 192.168.0.11 route i got "TIMEOUT" on nc test. Shouldn't it pick 192.168.0.0 route and work? Moreover when i add the route manually:
route add 192.168.0.11 mask 255.255.255.255 0.0.0.0 it still doesn't work!
192.168.0.0 255.255.255.0 On-link 192.168.0.11 276
192.168.0.11 255.255.255.255 On-link 192.168.0.11 276
192.168.0.255 255.255.255.255 On-link 192.168.0.11 276
and when i run netcat:
> nc -zv -s 192.168.0.11 192.168.0.11 80
to test if port 80 is open it works - the port 80 is indeed open. But when i remove the 192.168.0.11 route i got "TIMEOUT" on nc test. Shouldn't it pick 192.168.0.0 route and work? Moreover when i add the route manually:
route add 192.168.0.11 mask 255.255.255.255 0.0.0.0 it still doesn't work!