Re: daisy-chaining internet connectivity

From: Bob Proulx (bob_at_proulx.com)
Date: 08/08/05

  • Next message: Bob Proulx: "Re: installing D-Link DWL-650 (16-bit) on sid w/ 2.6.12 kernel"
    Date: Mon, 8 Aug 2005 01:30:30 -0600
    To: debian-user@lists.debian.org
    
    
    

    Terrence Brannon wrote:
    > I have a Debian/testing machine connected to the internet via our
    > wireless lan.

    Check.

    > I want to put another machine on the internet which requires physical
    > ethernet instead of wireless.

    This other machine has only a wired network card, right?

    > Besides buying a wireless bridge, is there some way for the connected
    > machine to provide internet connectivity for this other machine?

    Yes. Very easily as a matter of fact. Install a wired network card
    in the same machine that currently has a wireless network connection.
    It can gateway the data to your wired network. In this mode it will
    function as a router. The wireless interface will be the WAN
    connection and the wired interface will be the LAN connection. You
    could also have it function as a firewall for the wired network.

    It really is just about as easy as configuring both network interfaces
    and then turning on internet packet forwarding between the
    interfaces. But you will almost certainly want to install some other
    things such as a DHCP server on your wired network. So let me outline
    a simple plan for you.

    * Install a wired network card as the second network interface.

    * Configure the second wired network card with a static IP address.
      Use a different subnet than you have on our WAN side. That is, if
      you have a 10.* address use 192.168.1.1 on the LAN. If your outside
      address is already 192.168.* then use 10.0.0.1 on your LAN side.
      Just make sure they are different.

    * Install and configure DHCP for your LAN interface. This is probably
      the most complicated part of the problem. But not overly so.

    * Ensure that packet forwarding is in place. Use either a firewall
      package or do this yourself with low level commands.

        echo 1 > /proc/sys/net/ipv4/ip_forward

    * Connect everything up. Have your other wired machine DHCP an
      address. Test connectivity.

    Ask more questions as you need them.

    Bob

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Bob Proulx: "Re: installing D-Link DWL-650 (16-bit) on sid w/ 2.6.12 kernel"

    Relevant Pages

    • Re: 3 PC SOHO Network setup problem
      ... >>>so security on the wireless side is not a major concern. ... >>>Our internet connection is via a cable modem connected directly to the ... >> only by the Guest account, which means this computer will be open to anyone. ... >> LAN where you wish to access all files. ...
      (microsoft.public.windowsxp.network_web)
    • Re: 3 PC SOHO Network setup problem
      ... >so security on the wireless side is not a major concern. ... no PC has an internet connection other than through the router. ... XP Home, unfortunately, uses Simple File Sharing, which allows access ... LAN where you wish to access all files. ...
      (microsoft.public.windowsxp.network_web)
    • Re: change node on ipconfig
      ... If I disable the wireless card now, the LAN will claim to be connected to the ... VPN, but it is weak. ... > before you create the VPN usxing the hard-wired connection? ...
      (microsoft.public.windows.server.sbs)
    • Re: Approach to use cross-over connect as part of LAN
      ... Wireless nic was installed on A for access to existing 3-computer LAN ... An alternative is to create a network bridge on A, ... Make ad-hoc connection between A & B maybe even with APIPA addresses. ...
      (microsoft.public.windowsxp.network_web)
    • Re: all-in-one router?
      ... Especially with a wireless LAN, you need to audit what traffic goes up (to the ... Here's a story about somebody's very stupid wireless neighbor. ... connection listed represents - you? ...
      (microsoft.public.windowsxp.network_web)