sir,
I knew that diff. bet the two is that

router can support dissimilar networks but not dissimilar protocols
gateway can support dissimilar networks as well as dissimilar
protocols

but modern day routers can support both IP and IPX protocol.Moreover
the routers have firewall configuration within it and can also help in
security.
If this is the case what is the diff. bet modern day router &
gateway?