Extract ARP and Ethernet creation to method and reuse it to avoid code