title: Get gateway address in Arduino using ESP8266
body: <p>I need the default gateway IP address for my ESP8266. I know that in LUA you can retrieve it with this code:</p>
  
  <pre><code>ip, netmask, gateway = wifi.sta.getip()
  print(gateway)
  </code></pre>
  
  <p>But how using Arduino/C++?</p>