How to set up DHCP-configured access through a Linux box?

Posted by marcusw on Super User See other posts from Super User or by marcusw
Published on 2010-03-26T22:29:07Z Indexed on 2010/03/26 22:33 UTC
Read the original article Hit count: 474

I would like an old desktop box to use my laptop as a router to access the internet. Here is my setup:

network diagram

I have one ethernet port in the side of my laptop which I want to use to get internet access to my desktop computer. The laptop is connected to the LAN via a wireless link. Both systems run Linux. The desktop autoconfigures itself using DHCP. The laptop is a Kubuntu system. I do not have any crossover cables, though wireshark on the laptop sees the DHCP requests from the desktop just fine, so I doubt that I need one.

What do I have to do to make this work?

© Super User or respective owner

Related posts about networking

Related posts about routing