LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 09-16-2004, 12:08 PM   #1
bobmcobob
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
Bridging a wired network to a wifi network


Hi,
The topic isnt exactly what i want to do but i couldnt think how else to phrase it.
This is my setup,

I have a 192.168.1.* Wired network with one or two Wifi laptops connecting in.

What i want to be able to do, is add my Xbox and another PC (linux, kernal 2.4.?) to the network but i am unable to physically wire them into the network. Not a problem for the pc as i can buy a wifi card i understand. But i cant get a wifi card for my xbox (they exist but not easily available).

So could i connect my xbox to the linux pc over a crossover cable and have it bridge the traffic from the xbox to the main network via the wifi card?
The xbox doesnt have to be on a seperate network but if it has to thats not a problem, it would be nice if it could somehow get its own DHCP lease of the wireless router, but its not essential.

Any help on this would be great, Links to resources/howto's would be great.

Thanks
 
Old 09-16-2004, 07:07 PM   #2
cyclocommuter
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Mandrake 10, SimplyMepis 2004.04
Posts: 35

Rep: Reputation: 15
Here is what in my opinion is a simpler solution. All you need is to get a wireless bridge and a switch (or hub).

The wireless bridge can be setup so it connects to a switch (or hub) instead of a PC. In my Linksys WET11, there is a swith on the bridge that lets you do this.

Once the wireless bridge is setup (can be accomplished by using the browser), you can then simply plug in your XBox or Linux PC to the switch (or hub) attached to it.

If your wireless router's DHCP is enabled, your XBox and Linux PC will automatically be given ip addresses.

In effect, the wireless bridge "bridged" your two wired networks together (the first one your PC linked to your wireless router and the second one your XBox and Linux PC attached to the switch which in turn is connected to the wireless bridge).

Last edited by cyclocommuter; 09-16-2004 at 07:11 PM.
 
Old 07-18-2008, 07:36 PM   #3
73gavin
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
http://www.linuxfoundation.org/en/Net:Bridge

With your linux up and running as a client fine, try:

ifconfig eth0 0.0.0.0
ifconfig wlan0 0.0.0.0
brctl addbr br-lan
brctl addif br-lan wlan0
brctl addif br-lan eth0
dhclient br-lan
 
  


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
network bridging iNET_boss Linux - Wireless Networking 6 11-07-2005 08:11 AM
Clusters, Network bridging, and AI/AL Simulations... gjsIV Linux - Newbie 1 10-11-2005 02:56 PM
Bridging 2 Network Connetions XaViaR Suse/Novell 4 08-09-2005 09:30 PM
Linking a wired network to a wireless network gothgeek84 Linux - Wireless Networking 3 08-08-2005 03:38 PM
Bridging network cards......... Fireblade74 Mandriva 3 04-18-2004 04:30 AM


All times are GMT -5. The time now is 04:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration