View previous topic :: View next topic |
Author |
Message |
carbon Guru
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Sat Oct 04, 2003 1:48 am Post subject: Is it correct to say bridging is just a dumb routing? |
|
|
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 |
|
|
fusion Tux's lil' helper
Joined: 02 Nov 2002 Posts: 119
|
Posted: Sat Oct 04, 2003 2:10 am Post subject: |
|
|
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 |
|
|
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Sat Oct 04, 2003 2:38 am Post subject: |
|
|
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 |
|
|
michael-reilly n00b
Joined: 20 Sep 2003 Posts: 9
|
Posted: Sat Oct 04, 2003 3:13 am Post subject: A bridge may also have some smarts |
|
|
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 |
|
|
|