script to match IP address string and tell you what interface is
providing connection

This is for machines with more than 1 IP and more than 1 network
interface.