Q

Routers versus gateways

I am preparing for the Inet+ exam and am having a heated discussion with associates of mine on the subject of routers and gateways. Can you please help clarify the situation? All definitions of a gateway (that I can find) suggest that a gateway is a device (or software) that translates protocol between networks. Routers know where IP addresses are (or where to go to if they don't) that the LAN (or a request from a LAN) do not know how to get to. Is this right?
Your definition of a gateway and router are correct. A gateway is considered a device that will perform protocol translation between two networks, while a router is a device responsible of the delivery of packets throughout a network.

Despite the fact each term has a specific definition, you'll find that in your everyday work, both are used interchangeably.

That's because I can call my gateway a router, but also my router a gateway, and this is correct!

I'll give you an example. Say you have two Ethernet networks side by side and one Windows server that's got two LAN cards, one connecting to each network.

So, if we put labels on each network, we could call the 1st network 'network A' and the 2nd network 'network B'. Both networks are Ethernet and use TCP/IP, which means no protocol translation is required between them. However, hosts in network A and B have a defined 'gateway' in their network properties. Does this mean that the Windows server is not a gateway ? At the same time, it's routing packets between the two networks, so isn't it a router as well?

As you can see, both terms are correct. If you want to be strict about the use of terms, then you might call it only a 'router,' but practice and experience will tell you its called a 'router' and a 'gateway'!

This was first published in July 2005

Dig deeper on Network Hardware

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchSDN

SearchEnterpriseWAN

SearchUnifiedCommunications

SearchMobileComputing

SearchDataCenter

SearchITChannel

Close