Networking :: internet sharing
I have 1 eth card connected to the adsl modem and another pc connected to the other eth card.
How can I surf the internet with the 2nd pc?
Use SmoothWall Express 2.0
Brian
AwPhuch
...assuming you don't want to use the computer with the 2 network cards as well.
Otherwise, get cosy with iptables.
I also want to surf with the one with 2 network cards. I would like to keep using damnsmalllinux (frugal).
Ok lets make this simple.
For the PC that is connected to the adsl modem set the IP setup like so:
(NIC hooked up to the modem)
Use DHCP. It should autoconfigure it.
(NIC connecting the two PCs.)
IP: 192.168.0.1
Subnet: 255.255.255.0
Gateway: Make it blank.
The second PC:
(NIC only one i am assuming)
IP: 192.168.0.4 (this can be anything theroretically except 192.168.0.10 but 192.168.0.2 will work)
Subnet: 255.255.255.0
Gateway: 192.168.0.1
Thats should cover it. This configuration also works for WinXP but there you can make it through wizards.
Next Page...
original here.