can anyone give me the full project containing the code as well for getting host ip address using DHCP.I am using real view MDK ARM version 3.50
"can anyone give me the full project ..."
No - Not for the processor you've specified.
Keil is _selling_ the code for networking for ARM chips. You must either buy that Keil library or look for thirdparty alternatives.
There are very many of those - both commercial paid-for ones, and free open-source.
Some are mentioned here: http://www.keil.com/tcpip/links.asp
Chip suppliers often have a "special deal" with one or more 3rd-party providers...
Or, if you really want someone to do it all for you, see: http://www.keil.com/condb