Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Network bridge in ubuntu

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-11-2009
Member
 
Join Date: Oct 2009
Posts: 2
Network bridge in ubuntu
  

I have two network cards in my computer, which are connected to different networks, and I just want to bridge these networks. I have no idea how to make a network bridge in ubuntu. Can anyone suggest me the correct way to make a bridge.

Reply With Quote
  #2  
Old 19-11-2009
Member
 
Join Date: Apr 2008
Posts: 3,518
Re: Network bridge in ubuntu

For making a bridge,you will have to take both adapters offline with the ifdown command. After that run sudo ifdown eth0 and sudo ifdown eth1 from the command line. Then, create a bridge with sudo brctl addbr bridge0. A new virtual network adapter named bridge0 is created by the addbr command . After that connect your real network adapters to the bridge with addif: sudo brctl addif bridge0 eth0 adds the first adapter, and sudo brctl addif bridge0 eth1 adds the second. Now, you are free to attach as many computers, hub, switches, and other devices as much you want. Now, they can communicate with each other. Thus, by following the above process, a network bridge can be esablished.

Last edited by Calvin K : 19-11-2009 at 03:40 AM.
Reply With Quote
  #3  
Old 19-11-2009
Member
 
Join Date: Jan 2008
Posts: 3,384
Re: Network bridge in ubuntu

First of all, you need to download firestarter, after downloading, select your internet network, select your local network and now, check the box for share networks.
Reply With Quote
  #4  
Old 19-11-2009
Member
 
Join Date: Jan 2009
Posts: 1,738
Re: Network bridge in ubuntu

If we compare ubuntu with windows then according to me its very easy to make a bridge in ubuntu than windows. For the bridge, you will have to add, iface br0 inet dhcp bridge_ports eth0 eth1 to /etc/network/interfaces, then after rebooting the system, open the terminal window and then, run sudo ifup br0. This is how you can make bridge in ubuntu. Do let me know whether you got sucess or not? Gud day
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Network bridge in ubuntu"
Thread Thread Starter Forum Replies Last Post
Ubuntu running with Intel Sandy Bridge OhhLaLaLa Operating Systems 3 20-12-2011 10:49 PM
How to bridge wireless to wired network? X-MaaN Technology & Internet 6 06-10-2011 03:04 AM
Does anyone uses Linksys WET54G Network Bridge Jazzgeek Networking & Security 5 20-04-2011 10:14 AM
Enable Network Bridge on windows xp Graciano Operating Systems 4 03-02-2010 12:20 AM
Network bridge issues with Windows 7 Aandaleeb Networking & Security 5 22-12-2009 04:00 PM


All times are GMT +5.5. The time now is 04:44 PM.