whsp
move ip links into new file to reduce duplication of code