The following command will return the interface name of a particular ip address (x).
ip addr show | grep xxx.xxx.xxx.xxx | cut -f2 | awk '{ print $7 }' | head
The following command will return the interface name of a particular ip address (x).
ip addr show | grep xxx.xxx.xxx.xxx | cut -f2 | awk '{ print $7 }' | head