W5100 internet problem

hi,
from what I see the problem is the resolution of the gateway It seems between the W5100 and the router.
As you can see from the dump a few lines below the ARP packet sent from 192.168.1.22 the router contains a MAC address correct destination but if the W5100 sends the MAC is FF: FF: FF: FF: FF: FF.
With “Are you sure mac_addr is different from 0 right?” I mean if you’re sure that mac_addr is set (as I see in dump now).
I remember that there are some comments in the source just about ARP in setSUBR(), clearSUBR() and applySUBR() used in Socket.connect() and Socket.sendto()
Take a look here [url]ARP Problem]