Found answer to my own question.
Since I had Gnome GUI installed, it came with its own network manager which wasnt taking /etc/network/interfaces file into consideration.So i had remove the gnome network manager packages and added route and static address. This seemed to work for me.