How Gateway is different from Routers?

Answer Posted / anil

Routers

A router is used to route data packets between two networks.
It reads the information in each packet to tell where it is
going. If it is destined for an immediate network it has
access to, it will strip the outer packet (IP packet for
example), readdress the packet to the proper ethernet
address, and transmit it on that network. If it is destined
for another network and must be sent to another router, it
will re-package the outer packet to be received by the next
router and send it to the next router. Routing occurs at the
network layer of the OSI model. They can connect networks
with different architectures such as Token Ring and
Ethernet. Although they can transform information at the
data link level, routers cannot transform information from
one data format such as TCP/IP to another such as IPX/SPX.
Routers do not send broadcast packets or corrupted packets.
If the routing table does not indicate the proper address of
a packet, the packet is discarded. There are two types of
routers:


1. Static routers - Are configured manually and route
data packets based on information in a router table.
2. Dynamic routers - Use dynamic routing algorithms.
There are two types of algorithms:
* Distance vector - Based on hop count, and
periodically broadcasts the routing table to other routers
which takes more network bandwidth especially with more
routers. RIP uses distance vectoring. Does not work on WANs
as well as it does on LANs.
* Link state - Routing tables are broadcast at
startup and then only when they change. The open shortest
path first (OSPF) protocol uses the link state routing
method to configure routes or distance vector algorithm (DVA).

Common routing protocols include:

* IS-IS -Intermediate system to intermediate system
which is a routing protocol for the OSI suite of protocols.
* IPX - Internet Packet Exchange. Used on Netware systems.
* NLSP - Netware Link Services protocol - Uses OSPF
algorithm and is replacing IPX to provide internet capability.
* RIP - Routing information protocol uses a distance
vector algorithm.

There is a device called a brouter which will function
similar to a bridge for network transport protocols that are
not routable, and will function as a router for routable
protocols. It functions at the network and data link layers
of the OSI network model.
Gateways

A gateway can translate information between different
network data formats or network architectures. It can
translate TCP/IP to AppleTalk so computers supporting TCP/IP
can communicate with Apple brand computers. Most gateways
operate at the application layer, but can operate at the
network or session layer of the OSI model. Gateways will
start at the lower level and strip information until it gets
to the required level and repackage the information and work
its way back toward the hardware layer of the OSI model. To
confuse issues, when talking about a router that is used to
interface to another network, the word gateway is often
used. This does not mean the routing machine is a gateway as
defined here, although it could be.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Contrast link state and distance vector routing protocols, giving an example of each.

1094


Differentiate between Optical fibre and twisted pair

1193


what is upsizing and downizing?

2157


1. What is LAN segmentation? Why it is used? What are the different techniques to create LAN segments?

2202


Why is IP called ‘best-effort delivery’ protocol?

2395






What is the advantage of Ring network ? Compare it with ethernet

2365


Explain Salient difference between ISO-OSI and TCP/IP models.

1415


On a nexus, is the metric-type keyword not available in the "default-information originate" command?

674


When creating a static route, what is the gateway used to define?

1533


How kernal work in operating system?

1599


Explain network layer in ATM,

1171


Explain various cabling techniques used in IEEE 802.3 standard.

1629


What is the average number of transmission required to send a frame of length 1600 bytes correctly, if the bit error rate is 1 x 10-6.

1131


hi , can you Suggest me the books (with author names) to learn Network programming from basics. Thanks in Advance... Prakash

1641


What are the networking protocol options for the Windows clients if for some reason you do not want to use TCP or IP?

3482