trouble setting up a redhat 9.2 box
Results 1 to 2 of 2

Thread: trouble setting up a redhat 9.2 box

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    2

    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

  2. #2
    Registered User
    Join Date
    Feb 2006
    Location
    Canada, Eh!
    Posts
    4,091

Similar Threads

  1. mandrake 9.2 thoughts.
    By charlescpc in forum Linux
    Replies: 11
    Last Post: November 5th, 2003, 11:37 AM
  2. Replies: 2
    Last Post: July 28th, 2001, 12:58 PM
  3. Win98 & RedHat trouble
    By jmlozan in forum Tech-To-Tech
    Replies: 1
    Last Post: July 13th, 2000, 03:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •