loopback using arduino to check LAN port connectivity
Just use a network hub or switch that is not connected to anything else.  You will get a link and be able to see the activity lights if you send anything.