Same subnet - firewall - block device access

Hi.

I have 2 IP address:

  1. 10.0.0.163
  2. 10.0.0.245

I would like to block the access from 1. to 2.

So, I do not want to access 2. from 1.

I think it is possible, but how?

Thanx.