How to set static IP on iPad My iPad keeps sending the message that it is unable to connect to the internet and my only option is to dismiss.

How do I find the subnet mask and ip address and router so I can manually try and set it up?
iOS 7:


  
  Tap Settings 
  Tap on WiFi
  Tap on your connected WiFi name
  Tap the static tab and enter your addresses 
  Close out of the Settings and launch Safari or another network app to confirm connectivity