Results 1 to 8 of 8

Thread: Bridging Ethernet and WiFi

  1. #1
    Join Date
    Oct 2006
    Beans
    68
    Distro
    Kubuntu

    Bridging Ethernet and WiFi

    I use Windows (XP, Vista, and 7's) Network Bridging (or sometimes Internet Connection Sharing) to connect my Xbox 360 to the Internet when I only have my laptop. It works fine in Windows on every PC I own, but I can't find any way to bridge easily in Ubuntu. I tried bridge-utils, but that doesn't like bridging interfaces that aren't listed in /etc/network/interfaces. I don't want my Ethernet line to be set up as a static IP, because sometimes I connect to the Internet via that line, but I want it to work both ways. I also need Network Manager to keep control of wlan0 so that I can discover and connect to new networks. How can this be done? I have an Intel 4965 A/G/N WiFi card and a Realtek Gigabit Ethernet card in my laptop (HP dv9700t).

  2. #2
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Bridging Ethernet and WiFi

    just set eth0 to "shared to all computers"



    i have shared to other computers and never had any issues.

  3. #3
    Join Date
    Oct 2006
    Beans
    68
    Distro
    Kubuntu

    Re: Bridging Ethernet and WiFi

    Shared to other computers seems to be working on my PC (laptop sharing Internet to desktop) but I haven't tried the 360. Does this only share the Internet or does it do a full bridge? I noticed both PC's have the same IP address (whereas Windows bridging allows the attached devices to get new IP's from the router/DHCP server). I don't know if that is an issue or not.

  4. #4
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Bridging Ethernet and WiFi

    you have a router correct ?

    plug the ethernet cable into the wan port and enable "share to all computer" no configuration needed.


    done

  5. #5
    Join Date
    Oct 2006
    Beans
    68
    Distro
    Kubuntu

    Re: Bridging Ethernet and WiFi

    Wouldn't that involve 2 routers?

    Cable modem -> Router ))) Laptop -> WAN Router -> Xbox/Computer/etc

    That only works because the second router is creating its own sub-network and establishing its own clients. Windows' bridging does not make the computer into a DHCP server (essentially what adding a router does) but instead forwards DHCP requests to the DHCP server that the computer itself is connected to, getting the device its own IP address. The device acts as if it was not even connected to a computer but to the router itself.

  6. #6
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Bridging Ethernet and WiFi

    i won't make this complicated.


    say you have a wireless connection from "whatever" source........ or a usb modem, even an evdo card !


    laptop> router> wired/ wireless computers.


    plain and simple, no assigning this or that forwarding that and this, connect the hardware and make the change.

    now if you want to bridge something to me only makes sense on virtual machines, but you want to connect and xbox and a pc from some unknown source.

    ----------------------------------------------------------------------------------------------------------------------

    edit: you can also go threw ICS https://help.ubuntu.com/community/In...nectionSharing

    or add hoc https://help.ubuntu.com/community/WifiDocs/Adhoc
    Last edited by inobe; April 28th, 2009 at 01:24 AM. Reason: add information

  7. #7
    Join Date
    Oct 2006
    Beans
    68
    Distro
    Kubuntu

    Re: Bridging Ethernet and WiFi

    The reason is that the laptop is connected to a router that has other PC's on it.


    Modem ----------> Router ))) Laptop -> Xbox

    PC (Media Server) --^
    Another Xbox -------^
    If I want to connect to the media server using the Xbox, the laptop must bridge the entire connection and not just the Internet part. My modem, router, and media server are in one room but I have no Ethernet ports in my living room, where I want to play the Xbox and stream my media. That is why I need bridging and not just Internet sharing. I also sometimes have friends over and we hook up multiple consoles to play multiplayer. This also requires a functional LAN as other consoles may be connected directly or to other laptops.

  8. #8
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Bridging Ethernet and WiFi

    ahh' it makes complete sense

    sorry i sent you up the wrong path, well at least we learned something together.

    now that we are getting advanced i see your need to bridge.

    https://help.ubuntu.com/community/Ne...nnectionBridge

    you did say you tried the util, i am sure there are ways to troubleshoot this.

    edit: http://onlyubuntu.blogspot.com/2008/...ctions-in.html
    Last edited by inobe; April 28th, 2009 at 08:58 PM. Reason: add information

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •