well i guess this forum is my last chance
i've got adsl net connection on usb sagem modem,
and i want to share it with two computers in my
home. i'v got two ethernet cards in linux based
machine (connected to net by usb modem), networked
with other 2 machines by crossover cables.
pinging all 2 computer's works fine, pinging
yahoo.com also works, so all connections are set.
but sharing is not

how to set dhcp.conf?
how to set iptables?
my ifconfig:
Code:
eth0 Link encap:Ethernet HWaddr 00:08:54:02:E6:D1
inet addr:100.100.100.40 Bcast:100.100.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xf00
eth1 Link encap:Ethernet HWaddr 00:50:BF:4D:50:01
inet addr:100.100.100.30 Bcast:100.100.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2184 (2.1 Kb) TX bytes:0 (0.0 b)
Interrupt:12 Base address:0x2e00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:83.23.25.43 P-t-P:213.25.2.40 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1042 errors:0 dropped:0 overruns:0 frame:0
TX packets:1156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:464936 (454.0 Kb) TX bytes:130931 (127.8 Kb)
(ppp0
is my usb-modem connection with ISP's settings. )
if someone could tell my how to do it or knows some
newbie's-friendly 'howto' set such sharing, please, please
please help
