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?


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.

  • 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 Jun 23 '11 at 17:09
  • 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? – Ma99uS Jun 23 '11 at 17:41
  • 2
    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. – Jo-Erlend Schinstad Jun 23 '11 at 18:55
  • Would this work even if "The wired interface has a staic ip address from a different range"? Wouldn't that make some problems? – rubo77 Apr 15 '15 at 5:36
  • @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. – Jo-Erlend Schinstad Apr 15 '15 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.