Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is it correct to say bridging is just a dumb routing?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
carbon
Guru
Guru


Joined: 27 Jun 2003
Posts: 455
Location: New York

PostPosted: Sat Oct 04, 2003 1:48 am    Post subject: Is it correct to say bridging is just a dumb routing? Reply with quote

i am a little confused with bridging and routing.
routing routes traffic in a flexible way between many interfaces, while bridging copies whatever on 1 end to the other end as tho it was trasparent?

so is it correct to say bridging is just a dumb routing?
_________________
I do what I want, and that's what I do.
GNU World Domination

Carbon
Back to top
View user's profile Send private message
fusion
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2002
Posts: 119

PostPosted: Sat Oct 04, 2003 2:10 am    Post subject: Reply with quote

I wouldn't call it that as a router connects to different networks a bridge is used to make segments of a single network. A router works at layer 3 and a bridge works at layer 2
_________________
Friends don't let friends send HTML email
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Sat Oct 04, 2003 2:38 am    Post subject: Reply with quote

It's dumb in the sense that a bridge understands nothing of the data it's processing. To a bridge, it's just electrical signals. To a router, those electrical signals form codes, which form addresses, which allow it to further clarify where packets should go.
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
michael-reilly
n00b
n00b


Joined: 20 Sep 2003
Posts: 9

PostPosted: Sat Oct 04, 2003 3:13 am    Post subject: A bridge may also have some smarts Reply with quote

If a bridge has only two interfaces (i.e., only 1 path for any given received packet to go) then it behaves like a wire - everything it sees on one interface is sent out over the other interface.

If it has more than 1 path for a given received packet than the bridge usually filetrs traffic based on MAC addresses. It keeps track of which path a given MAC address is on and forwards traffic for that MAC addresses over the correct path.

Used to link two LANs the bridge behaves as previously described, linking the two LANs into one larger LAN.

With three or more LANs (or LAN segments) it gets smarter and "routes" based on MAC addresses.

The bridge can be smart about locally generated packets and keep track of which interface to use.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum