Posted on 2003-03-17
Medium Priority
Last Modified: 2013-11-29
dear experts,
i would like to know the differnce between
a gateway and Router.

Question by:sandipmurmu
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8153490
Router refers to a specific appliance, gateway is a general term; could be a hardware router, software router, firewall etc.

Basically just terminology.
LVL 34

Accepted Solution

PsiCop earned 80 total points
ID: 8153511

In networking terms, a "gateway" is generally considered to be a device that translates frames between two differing network topologies. For example, a gateway might be places between a Token-Ring and an Ethernet network and take Ethernet frames and re-package their payloads into Token-Ring frames, and vice-versa. A gateway typically does not operate above Layer 1 of the ISO model, and therefore can be thought of as a "Layer 1 device". The gatway rarely, if ever, makes any judgements in its work - it just re-packages data packets into different frame types. This makes them very efficient, but also very dumb.

A router takes in frames, extracts the packets contained therein, and makes a judgement regarding the next hop the data should take. It then re-packages the packet into a frame and send it out the interface that corresponds to that judgement. Routers typically work at Layer 3 of the ISO model.  The router is constantly making judgements about the packets it is routing (most efficient path, if its expired, etc). This makes it relatively smart, but also much slower in operation as compared to a gateway.

Expert Comment

ID: 8156824
Sandip is right just to add to that gateways operate on any level of the OSI model depending on what it does. like for example translating charachter encodings from ASCII to EBCDIC or IP to IPX

Expert Comment

ID: 8157373
Good question though - It seems that words like gateway and proxy are slapped on to just about anything these days. I would refer to a mail relay as an SMTP or mail gateway for example.

They can also be referered to as message or mail routers. And both refer to a pure layer 7 function.

It really depends on the context - PsiCop has the technical definition right by the looks however I've never met anyone in product marketing who knows the OSI model!


Featured Post

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question