LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2007, 07:27 AM   #1
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Debian x64 and Ubuntu LTS Servers
Posts: 56

Rep: Reputation: 15
Question What is the usage of bridging ?


dear Network experts,

What is the use of ethernet bridging (using brctl utils)?

Any url reference or explanation would be appreciated.

Thank you in advance.
 
Old 03-16-2007, 08:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it makes two or more ports effecively work as a switch. a bridge (old hardware no longer made) was basically a two port switch for joining sepeate parts of a network where a hub was undesirable.
 
Old 03-16-2007, 09:35 AM   #3
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
To add to #2
A Hub works in broadcast mode and cannot differenciate between LAN A & LAN B even if it is connecting them.
A Bridge on the other hand will restrict the traffic of LAN A to LAN A ( and LAN B to LAN B ) and let only the traffic directed from LAN A to LAN B and vice versa to pass through it
 
Old 03-18-2007, 10:45 PM   #4
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Debian x64 and Ubuntu LTS Servers
Posts: 56

Original Poster
Rep: Reputation: 15
dear acid_kewpie and sn68,

I know about bridge and router hardware. But it was not on my mind that this bridging is similar to bridge hardware appliance.

Actually my intention is to build a very simple router ( on my question http://www.linuxquestions.org/questi...d.php?t=536788 ). As there is a suggestion by using bridge, I built the brctl util fresh from the source.

I just want some confirmation, could it be done to build a router just by using a bridge ? As far as I know, a bridge does not know to forward the packets as described by the routing tables. On that questions of mine, the response is suggesting and he/she does not know how to utilize the bridging feature.

Thank you for opening my mind.
 
Old 03-19-2007, 03:18 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
bridgind / switching is *NOT* routing. it's really clear actually... bridging / switching is done at OSI layer 2, whilst routing is a layer 3 function (routing is often called layer 3 switching). looking at that other thread, you're a bit vague about what you want, but my immediate thoughts aren't of a bridge at all. quagga may well be fine, but it depends what functioality you do wish to get. if you just don't eabled ipasq, then it will do what you've asked for without anything else.
 
Old 03-20-2007, 09:32 PM   #6
Zepiroth
Member
 
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Debian x64 and Ubuntu LTS Servers
Posts: 56

Original Poster
Rep: Reputation: 15
dear Chris,

Thank you for the explanation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X hangs after prolonged usage ... memory usage goes upto 195MB duryodhan Slackware 18 05-10-2007 06:16 PM
Bridging+Bonding for Bridging+HA+Load Balancing? kartheekpn Linux - Networking 0 08-13-2006 02:08 AM
Memory Usage Spaw Usage Swappiness Issues joelunch Linux - Software 3 01-04-2006 06:16 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration