-
November 22nd, 2007, 12:33 PM
#1
trouble setting up a redhat 9.2 box
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
-
November 24th, 2007, 08:02 AM
#2
Similar Threads
-
By charlescpc in forum Linux
Replies: 11
Last Post: November 5th, 2003, 11:37 AM
-
By bbunch in forum Networking
Replies: 2
Last Post: July 28th, 2001, 12:58 PM
-
By jmlozan in forum Tech-To-Tech
Replies: 1
Last Post: July 13th, 2000, 03:45 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks