[From QnA] Wiz105sr sending HTTP get request


#1

I am using WIZ105SR module and have enabled the DHCP. On booting I am able to get IP address, g/w and server address. I obtain this address from my wireless internet router.
I get the following:
IP address: 192.168.1.5
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.1
Server address is configured as 192.168.1.1 port 80 (WIznet configuration tool)

My application is to send HTTP GET request to an IP 192.168.1.5 (DNS has been disabled) and receive 200 OK as response.
However my request is not sent. I checked the ethereal logs and found that wiznet broadcast an ARP request asking for who has 192.168.1.1 IP.
Can you please help as in why wiznet asks for 192.168.1.1.IP as its my DHCP server IP(wireless internet router).


#2

Dear customer.
Thanks for your interest in WIZ105SR.

It is because 192.168.1.1 is set as the gateway IP address.
If source and destination are not in same LAN, source send arp request to gateway and gateway re-send arp request to another gateway. Finally, arp request packet arrives at destination.

Thanks.
WIZnet.