LinuxQuestions.org
Visit Jeremy's Blog.
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 11-03-2010, 03:26 AM   #1
abhishek2301
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Rep: Reputation: 0
Post Configuring Ethernet bridge!


I am using 3 machines in a LAN connected through a hub. My intention is to have a end-to-end connection between 2 machines so that I can control delay/loss rate. For that purpose, I am using a 3rd machine with 2 NIC and intend to use a bridge and installing Dummynet in this machine to control the traffic between the other 2 machines.
I have successfully installed Dummynet in the bridge machine. Now I require to configure Ethernet bridge in the machine.
I think brctl can do it!
What is the process? Do I need a kernel compilation or can be done without it?
I read somewhere that recent kernels can be configured without recompilation.
I am using Mandriva 2010 with 2.6.31.5-desktop-1mnb kernel.

Your help is highly appreciated!

Thanks!
 
Old 11-03-2010, 06:31 AM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
that's right, you don't need to recompile your kernel, as of 2.6 series. just install brctl, and perhaps tunctl/openvpn for tap ifaces.
 
Old 11-03-2010, 07:23 AM   #3
abhishek2301
LQ Newbie
 
Registered: Nov 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Question ethernet bridging!

Thanks for your kind reply!
I have enabled bridging with brctl.
Now, let me rephrase my situation to make it clear:
I require to run a voip application between 2 machines in a LAN and should be able to control the traffic i.e.delay/network loss between them to-and-fro.
My idea of solution is: use a 3rd machine to act as a bridge between them and using dummynet to control the traffic between them. The bridge machine have 2 NIC cards and the other 2 machines have a single card each.
I have connected all the interfaces in all the machines to a hub.
Now, my question is whether my setup is correct to obtain my objective?
If NO, then how should I setup to achieve my requirements.
If YES, then how should I make the connections i.e. is it good to keep all the interface connected to the hub or any other configurations? Also, would like to know how to configure the bridge so that all the traffic between the 2 machines should always pass through the bridge.
Since I am using dummynet to control the traffic in the bridge machine, so I presume all the traffic between the 2 voip machines should always pass through the bridge!

Your help is highly appreciated.
Thanks!
 
  


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
ethernet bridge software slac-in-the-box Linux - Networking 2 09-27-2010 01:03 PM
ethernet bridge, no link between first and second pc slackster Linux - Networking 4 11-30-2008 04:34 AM
Wireless ethernet bridge? nirj Linux - Wireless Networking 4 01-21-2008 09:31 PM
Ethernet wireless bridge Alastairo Linux - Wireless Networking 3 06-10-2007 10:35 AM
try an ethernet to wireless bridge!! leec11 Linux - Wireless Networking 0 10-10-2004 09:42 PM

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

All times are GMT -5. The time now is 10:13 AM.

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