Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

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". Any internet connection will now be shared on your wired connection, complete with DHCP.

share|improve this answer
    
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
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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