On Sunday 16 December 2001 06:12, Bruce Marshall wrote:
On Sunday 16 December 2001 0:06 am, Bret Waldow wrote:
Hello all,
I am trying to get a desktop system to act as the router for a laptop. I seem to have DHCPD running - it assigns an IP to the laptop when it all comes up.
The setup is:
Cable modem (works fine) Desktop running DHCP gets assigned an IP from the cable modem on boot (works fine) Laptop connected to the desktop gets assigned an IP via the second ethernet card in the desktop. <snip>
Don't have this working but you need to use IP-Masquerading.... which usually means you must run one of the SuSE firewalls on your main machine and specify in the firewall setup that you want to masquerade. <snip>
you don't need a firewall, just issue this command (if it works, put it in a boot-skript): ipchains -I forward -j MASQ -s 192.168.0.0/24 -d 0/0 and use your local subnet instead of 192.168.0. that should turn on forwarding and masquerading... then you need to specify the desktop as the gateway of the laptop... now you should be all set... Johannes -- SuSE 7.3 - Linux 2.4.10-4GB - KDE 2.2.1 - KMail 1.3.1