sharing internet between network interfaces

9,320

Lubuntu comes with Network-manager, which makes this very easy. Click on the network icon in your panel, and select Edit connections.

Edit Network

In the dialog that appears, select the wired interface and click Edit. In the IPv4-settings pane in the new dialog, you can select Method: "Shared with other computers".

Share IPv4

Any internet connection will now be shared on your wired connection, complete with DHCP.

Share:
9,320

Related videos on Youtube

Ma99uS
Author by

Ma99uS

Among other things, I am a shameless promoter of my self-made software; Want to stream your downloaded and shared videos to an android device, with some sick data mining for better experience? Check out my Samba Streamer app: Get it at Google Play

Updated on September 18, 2022

Comments

  • Ma99uS
    Ma99uS over 1 year

    I have a laptop with lubuntu 11 with two network interfaces, wireless and wired. Wireless interface connects to the router with DHCP and provides access to the internet. The wired interface has a staic ip address from a different range for internal LAN. I would like to allow computers on the LAN get access to internet using laptop's wireless connection. What are my options here? Do I need a bridge, NAT, firewall?

  • Ma99uS
    Ma99uS almost 13 years
    Thant did not seam to work right away. Do I need change any other settings of the interface, like ip or mask, or do I need to have some settings done on all other LAN clients?
  • Ma99uS
    Ma99uS almost 13 years
    what does setting this "Shared with other computers" in the gui tool actually does? Can I make the same change by editing some config file manually?
  • Jo-Erlend Schinstad
    Jo-Erlend Schinstad almost 13 years
    You may need to restart the host. (The computer that shares the connection). I'm not sure. The clients doesn't need to do anything other than use DHCP.
  • rubo77
    rubo77 about 9 years
    Would this work even if "The wired interface has a staic ip address from a different range"? Wouldn't that make some problems?
  • Jo-Erlend Schinstad
    Jo-Erlend Schinstad about 9 years
    @rubo77: I don't think that should be a problem. It uses a router and a dhcp server, pretty much like your wireless router at home.