LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-23-2004, 10:35 AM   #1
Royle
Member
 
Registered: Apr 2004
Posts: 112

Rep: Reputation: 15
How to set up a bridge?


I want to set up a network bridge to share the internet connection from my router. I don't need this bridge to have a firewall. Does anyone have a step-by-step guide for this? Thanks in advance for your help.
 
Old 10-23-2004, 05:16 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You are looking for a router. Have a look at the wiki pages of linuxquestions.org
http://wiki.linuxquestions.org/wiki/Networking
Also search around this forum for questions/answers.
 
Old 10-23-2004, 05:35 PM   #3
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
wait I'm confused. I'm looking for a router? I already have a router connected to this pc. I want to connect this pc to another so they both can have internet. I used to have Windows XP. In that, I would select both NIC's right click and select bridge. Windows XP would create a bridge. So wouldn't that mean I'm looking for how to create a bridge?
 
Old 10-23-2004, 05:48 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Sorry to be confusing you.
Does your router have more than 1 port for local computers? If so then connect the other computer to that port.
Does your router have NAT support, then the easiest way is to buy a small ethernet switch/hub.
If your router doesn't have NAT built in then you would have to go with bridging or routing in your first computer. (This of course has the disadvantage that the first computer need to be running for the other to reach Internet).
 
Old 10-23-2004, 06:10 PM   #5
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
I just built a OpenBSD bridge and I finally got it working. If you decide to make a bridge OpenBSD is a good choice. Great documentation.
 
Old 10-23-2004, 06:51 PM   #6
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
OK I think this needs more clarification. I have this router http://www.dlink.com/products/?sec=0&pid=62 .
I have 3 computers. I have 2 computers which connect to the router. One of these it in the same room as the router, the other is connected by a 70 foot cable. The 3rd computer is in the same room as the 70 foot cable. Instead of running another 70 foot cable to the router, I would like to create a bridge between the two computers using two nics.

I tried creating a bridge using this guide here : http://www.linux.com/howtos/BRIDGE-S...e-bridge.shtml
I have ethernet bridging enabledc in my kernel and I have installed the bridge utilities. After I create my bridge, both Nic's do not have an IP address. Also when I restart my computer the bridge is not there.
Thats my situation, I hope someone can help.
 
Old 10-24-2004, 07:40 AM   #7
baz2
Member
 
Registered: Nov 2002
Posts: 73

Rep: Reputation: 15
Why not get a small switch? Connect the switch to the router with the 70 foot cable. Then plug the two computers into the switch.
 
Old 10-24-2004, 11:47 AM   #8
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
A small hub is a good idea. You don't really need to set up a bridge unless you want to firewall part of your network
 
Old 10-30-2004, 01:49 AM   #9
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
HI

hijacking thread just a little.

I have a old computer with no network card and I intend to buy a new computer with onboard ethernet.

Whats the easiest way to connect these 2 ?

just to show I know nothing about networking (dial up modem) I was hoping a usb to usb might work?
 
Old 10-30-2004, 02:10 AM   #10
floppywhopper
Member
 
Registered: Aug 2004
Location: Albany, Western Australia
Distribution: Mageia 4.1, SME Server 8
Posts: 625
Blog Entries: 2

Rep: Reputation: 55
hey Aus9
where in WA are you, I'm in Albany

One solution to your Q would be to buy a small hub
I picked up a 5 way for about $ 40
then plug in to the hub
allows for future expansion
buy a NIC ( about $ 20 ) for your old computer

for Royle's Q
a hub seems a good idea
no need to build a bridge this way

check out
http://www.faqs.org/docs/
plenty of good reading here

floppywhopper
 
Old 10-30-2004, 08:26 PM   #11
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
floppywhopper

In the big smoke of course,

thanks for the info and the link.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to set up a Red Hat 9.0 system as a bridge qqbeng Linux - Networking 1 04-11-2005 11:40 PM
how to set up bridge? munkeevegetable Linux - Networking 8 10-10-2004 09:59 AM
How to set up a bridge? tlawlessrr Linux - Networking 6 07-17-2004 10:39 AM
Best way to set up a wireless to ethernet bridge? Electrode Linux - Wireless Networking 1 10-11-2002 11:52 PM
bridge Cubiq Linux - Networking 9 08-10-2002 11:13 AM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration