How to set static gateway to my arduino(with esp8266 shield)?

Hello, everyone, I have a question, how to set up static gateway, IP and DNS for my Arduino(with esp8266 shield)?
I have very strange Wi-Fi router. For all my devices I have specified the static Wi-Fi parameters. Is it possible to do it for Arduino? Thanks.

Reading this might help…