testing interfaces erb dynamic ip lookup