top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between bridge and gateway ?

0 votes
442 views

What is the fundamental difference between bridge and gateway ? When a machine is considered as gateway and when it is known as bridge ?

posted Jan 20, 2017 by Neelam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Bridge device is used to aggregate different network segments. By bridging one computer host residing in one network segment can communicate to another host residing in another network segment. Bridge works at the layer 2 protocol, based on the destination MAC address, it forwards the packets. Switch is more practical device since it has more ports compare to bridge and works as the MAC layer.

However role of gateway is vast in computer networking and mainly in telecom network. It is used to connect different kinds of networks together. For example : PGW in LTE network which is the gateway between LTE network and Internet. When host machine is not aware about the destination MAC of target, it sends packet to its default gateway and gateway takes appropriate conversion if required and send packet to destination.

answer Jan 21, 2017 by Harshita
Can a bridge connect two network segments which has same sub-net ? For example, assume there are two hosts A and B and both of them belong to different network segment say Segment "S1"  and Segment "S2" . Here bridge is connected to both the segments S1 and S2 . Is it possible A and B both have same subnet IPs like Host A has 192.168.1.2/24 and B has 192.168.1.150/24 ? It is one of my doubt and I want to clear it .
Similar Questions
0 votes

There is a concept of NATing using which interface modifies IP addresses. I want to understand real use case of source natting and destination natting.

0 votes

Well, now and days when we talk about SDN, it mean we are going to use white box switches. AFAIK switches works at the L2 level and routers work at the L3 level. Is the same concept applicable for white box switches or they can have support for routing also ?

...