In advance I'd like to beg your pardon for my English. It's not my native language, so sometimes it's a bit hard to understand some moments. And in fact I'm not sure if I write correctly.
Well.. I've just wanted to create a similar topic, but now it seems to be i have no need.
As I said I've got a similar problem. I've got two PCs. One with Slackware 11(connected to the internet) and one with XP. I would like to organize a little "network" of two computers and to give the second machine an opportunity to connect to the internet thought the fist one.
The connection scheme is like that:
internet---Slackware PC---XP PC
This are the info my ISP gave me:
ip: 172.21.3.39
Subnet Mask: 255.255.255.0
Default Gateway: 172.21.3.1
DNS: 80.64.93.130 and 80.64.94.2
This is my /etc/rc.d/rc.inet1
# Config information for eth1: //as U understand, it connected to the second machine
IPADDR[1]="192.168.1.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2: //to the isp
IPADDR[2]="172.21.3.39"
NETMASK[2]="255.255.255.0"
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
My ifconfig:
eth1 Link encap:Ethernet HWaddr 00:14:2A:C4:72:2F
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST 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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth2 Link encap:Ethernet HWaddr 00:11:95:25:71:1D
inet addr:172.21.3.39 Bcast:172.21.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26438 errors:0 dropped:0 overruns:0 frame:0
TX packets:9394 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:10133820 (9.6 MiB) TX bytes:1933381 (1.8 MiB)
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:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:60518 (59.0 KiB) TX bytes:60518 (59.0 KiB)
My route -n: //seemes to be wrong?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
172.21.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.21.3.1 0.0.0.0 UG 1 0 0 eth2
Else i've configured BIND, but it doesn't work. Unfortunately, as my experience in linux is rather poor yet, I can't exactly understand how to solve this problem.

//compile and install the "capability" module? Am I right?
Here is rc.bind restart command:
Stopping BIND: /usr/sbin/rndc stop
Starting BIND: /usr/sbin/named
WARNING: named did not start. Perhaps this is because
the "capability" module required by newer kernels is
not loaded (or built into the kernel)?
Attempting to load security capability module:
/sbin/modprobe capability
Attempting to start named again: /usr/sbin/named
FAILED: Sorry, but even after attempting to load
the "capability" module, named did not start.
There may be a different configuration error that
needs fixing. Good luck!
And else i've minimally configured iptables:
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o eth2 -j SNAT --to 172.21.3.39
and turned on routing:
echo 1 > /proc/sys/net/ipv4/ip_forward
On the computer with XP I set these settings:
ip: 192.168.1.2
netmask: 255.255.255.0
gateway: 192.168.1.1
I would like to test my suggested settings if they'll work but i can't cause
i even can't ping my second PC.. :8`(
I'm new to linux, so sometimes i need help. First I try to do everything by myself - the best way to learn, i think, but already for a week I can't solve this puzzle. I haven't much time to read many linux books or articles in the net, so I would be incredibly glad if you help me!
Best wishes, Sam!
p.s. And one more question. How can I start the LISA daemon for KDE? I didn't find it anywhere. And even KDE Help Center didn't help me. :8$