Hi

The name is osahon, and am a network engineer. i recently developed this interest in Linux so i decided to start by configuring a server. so, i got a system with two NIC cards

i got a redhat9.2 distribution with kernel version 2.4.20, which i install and i got both interfaces up and running

i intend to configure
1. NAT
2. Caching server
3. dhcp server on the internal interface 'eth1'
4. Bandwidth management on the network

on configuring the NAT, i keyed in the following commands
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT

and i edited the /etc/sysctl.conf file making net.ipv4.ip_forward = 0 to '=1

but the file "/etc/sysconfig/iptables-config" is missing for me to edit

IPTABLES_MODULES_UNLOAD, IPTABLES_SAVE_ON_STOP, and IPTABLES_SAVE_ON_RESTART

but i get this message: iptables a1.2.7v.. Bad state, so i keyed in iptables-save and the second command line fell thru.

i connect my laptop running on winXP to see if the NAT is functional using a cross cable, it ain't working

can you help ASAP plz.

a friend of mine whom i asked for help directed me to, saying u have an answer to everything.

regards

osahon