Find your router IP in Unix

This can be difficult if your city has a wireless network and provides you with a router (that you don't set up). Luckily there are some useful shell commands available on unix and Vivek Gite wrote about them!
http://www.cyberciti.biz/faq/how-to-find-out-router-mac-address/