1832023 Members
3239 Online
110034 Solutions
New Discussion

Re: Router vs Gateway

 
Hill_1
Frequent Contributor

Router vs Gateway

Dear all,
Provided I have configured a gateway, could I just make use of the gateway to communicate with different network instead of configure a router to communicate?
Thanks in advanced.
Unix
8 REPLIES 8
Michael Tully
Honored Contributor

Re: Router vs Gateway

Hi,

To communicate to different gatways is makes
sense to set up a route for each one, although
it is not manditory as long as you can trace
where you are going.

e.g. you want to get to a machine at 10.55.10.10
and the system you are on is 10.62.20.10
You will most likely find that there is a
router at 10.62.20.1 that you will to know
about. Your router is most likely at 10.55.10.1
So you may have to set a routing table
# route add 10.55.10.1 10.62.20.1 2
To find where the machine is use the
traceroute command as
traceroute 10.55.10.10

Have a look at the man page for 'route'

HTH
-Michael
Anyone for a Mutiny ?
Ravi_8
Honored Contributor

Re: Router vs Gateway

Hi, Hill
A router and a gateway does the same job, an interface to different networks.if you wanted to reach any machine on another network. the router/gateway should be your default router(#route add default routerip sourceip)
never give up
A. Clay Stephenson
Acclaimed Contributor

Re: Router vs Gateway

Absolutely. In fact, the terms have really come to be used interchangably. I prefer to think of a gateway as a general purpose machine which also does routing while a router is a device dedicated to routing. The only gotcha to using a machine as a gateways is that it may not be as fast as a dedicated router.
If it ain't broke, I can fix that.
John Bolene
Honored Contributor

Re: Router vs Gateway

A gateway transmits all data packets, while a router can decide to either pass it to a foreign network segment or keep it on the local network segment. The router keeps local traffic local.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Eugen Cocalea
Respected Contributor

Re: Router vs Gateway

Hi,

The answer is yes, but by doing so, your gateway will turn into (if its not already) a router. :)

E.
To Live Is To Learn
Kappa
Advisor

Re: Router vs Gateway

Yes and NO, it's right and wrong but if you don't want that the normalization man, you know the state of art man :), are annoyed please refer to OSI layers of ISO.
That'is the really difference between GATEWAY and ROUTER, which is described with details.
The Probleme comes from an historical abuse of language and uses by technicians and/or manufactures themselves.
qui est moon ?
Claude Leduc
Occasional Contributor

Re: Router vs Gateway

According to the OSI model, a gateway is not a router...If you take a gateway and you add a route in it, you just switched to a kinda hybrid router...The fact is that a gateway lacks a lot of feature that a router uses...Let's say that a gateway is kind of a "dumb router"...Still does the job, but isn't the same anyway...