Hello,
Lukasz Olesiejuk a écrit :
> (E-Mail Removed) wrote :
>
>> ip rule add from 192.168.0.10 to 192.168.0.180 prohibit
>>
>> According to the man page, this should cause an ICMP message
>> to be sent when trying to connect from 192.168.0.180 to 192.168.0.10.
No, from 192.168.0.10 to 192.168.0.180.
>> Yet when I tried it, and ran "ping 192.168.0.180", the ping answered
>> and I did not got any ICMP. Any idea why ?
>
> This ping was send through this router?
The OP didn't mention any router.
The right question is : on which node is that rule ? It won't have any
effect if it is on 192.168.0.180 because packets received for a local
destination are processed by the 'local' routing table which is assigned
to rule 0 before any other rules.