change switch setup to figure out iface name for given ip