write IP to eeprom on arduino mega and configure it to Ethernet shield

Hi,
As part of my project i need help,i need to write IP address manually from 4*4 keypad an store it to EEPROM on arduino mega 2560 and when ever arduino restarts or power on it should read IP from EEPROM and configure it to W5100 Ethernet shield which is placed on top of arduino mega.

Try this: Matrix keypad: Storing data on internal eeprom - Syntax & Programs - Arduino Forum Most of what you want is here. It always pay to search this web-sight, there are a lot of good answers. This response is to help you get started in solving your problem, not solve it for you.
Good Luck & Have Fun!
Gil

Thank you i will search it and write the code.