Magical Linux internet sharing: The Tutorial
The following tutorial assumes that you want to provide the interwebs to a PC connected via eth0 to your host, and that your host is connected to the world via wlan0.
- Set up the local IP address
# ifconfig eth0 192.168.250.1
or, if you're using uncool ip:
# ip addr add 192.168.250.1 dev eth0