Get your own customer support community
 

DHCP does not set IP

Hy, i use the em1000ev and em1202ev, i try to use the dhcp and dhcp_and_setup code samples in the site, but my router doesn't set a ip to any of both EM's. My router as the ip 192.168.1.1 .
If before the dhcp Discovery i set the net.ip to 192.168.1.105 the dhcp code works and i get the first ip offered by the router 192.168.1.100. but.
If i let the net.ip equal to nothing, the discovery fase doesn ́t get any answer from the router.

I did not change nothing more in the code.

Does any one get the code to work?

Thanks again for any help.
Inappropriate?
1 person has this question

User_default_medium