Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-09-2004, 01:37 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2004
Location: Melbourne, VIC, Australia
Distribution: Ubuntu Debian
Posts: 20
Rep:
|
how to set up bridge?
Okay I have 2 computers to put on my home network.
I have a wireless card in my PIII box (on Ubuntu Debian), and I'd like to set that up as a bridge to my P4 box, which is on Win2k.
How do I do this? I don't know the first thing about bridging and my brother (who has helped me with all other linux problems so far) has no idea either.
I went through the forums here, but others seem to just recommend to buy another router/AP/switch, this is NOT an option as I don't want to spend any money.
Edit:-
The wireless card in my PIII connects to the router, I want to use ethernet between my two computers.
|
|
|
|
10-09-2004, 01:46 AM
|
#2
|
|
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188
Rep:
|
i didnt try bridge b4.
but i know a link that may help u:
http://bridge.sourceforge.net/
good luck.
|
|
|
|
10-09-2004, 01:52 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2004
Location: Melbourne, VIC, Australia
Distribution: Ubuntu Debian
Posts: 20
Original Poster
Rep:
|
thanks for the link, ill check it out 
|
|
|
|
10-09-2004, 06:55 AM
|
#4
|
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
have a kernel with bridging enabled and the bridge utils.
addthe bridge: brctl addbr br0
add the interfaces: brctl addif br0 eth0; brctl addif br0 wl0
zero the ifaces: ifconfig eth0 0.0.0.0; ifconfig wl0 0.0.0.0
up the device: ifconfig br0 up
you can also assign a ipaddress to br0 with the specific ifconfig command
there are bridge howtos at www.tldp.org
sl mritch.
|
|
|
|
10-09-2004, 10:56 PM
|
#5
|
|
LQ Newbie
Registered: Oct 2004
Location: Melbourne, VIC, Australia
Distribution: Ubuntu Debian
Posts: 20
Original Poster
Rep:
|
got the bridge going..
i just used aptitude to install bridge-utils.
then i had set up the bridge.. after i had zeroed my IP's on both IFs i couldnt get access to anything..
so i reset both interfaces as i originally had them.
(one using static on home network, second using pointtopoint static between the two computers)
bridge worked fine, even without it configured in brctl.. which is strange.
then i set up squid, so i have internet proxy too.. which is nice. :P
thanks for the help
--Nathan
|
|
|
|
10-10-2004, 07:11 AM
|
#6
|
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
read the bridge howto at tldp. i don't think you have set up a bridge properly. i rather think you're just forwarding the traffic.
to verify this: "ifconfig" there should show up a bridge
"brctl show" to get a list of your configured bridges.
sl mritch.
|
|
|
|
10-10-2004, 07:15 AM
|
#7
|
|
LQ Newbie
Registered: Oct 2004
Location: Melbourne, VIC, Australia
Distribution: Ubuntu Debian
Posts: 20
Original Poster
Rep:
|
yeah, i dont think i have my bridge up properly. but i -can- get internet etc. on both PCs.. which was the most important thing, thats what i thought the bridge would do..
would there be any extra advantage to setting up the bridge properly?
--NB
|
|
|
|
10-10-2004, 09:54 AM
|
#8
|
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
you can do a lot of fancy things with a bridge. think of a bridge as kind hub or switch.
to get/share and internet connection just routing and forwarding or filtering traffic is enough.
one cool feature to do with an bridge is to not assign an ip address to devices but filter the packets going trough it. in fact this is a completely invisible firewall or loging-host or whatever you want to do then.
very useful to get good security on a nearly uncompromiseable box.
sl mritch.
|
|
|
|
10-10-2004, 09:59 AM
|
#9
|
|
LQ Newbie
Registered: Oct 2004
Location: Melbourne, VIC, Australia
Distribution: Ubuntu Debian
Posts: 20
Original Poster
Rep:
|
hmm, i think ill have a go at setting up the bridge properly then, sounds kinda neat ^_^
but if i dont manage to, then its not too important..
i'll just go through the howto again, and set it all up that way..
and once again thanks a lot for your help mritch 
--NB
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|