Question from a Linux newbie.  I'm trying to setup internet connection
sharing under RedHat 7.1 (version 7.1 was included on CD in the back of a
book I'm reading to learn Linux).  Anyway, my textbook refers to internet
connection sharing as IP Masquerading and discusses the Linux command
"ipchains".  The example on how to setup this feature displays the following
commands:

        ipchains -P forward DENY
        ipchains -A forward -j MASQ
        echo 1 > /proc/sys/net/ipv4/ip_forward

I can't seem to get this to work on my small home LAN.  To make sure its not
a permissions issue, I login as "root" when I enter the commands.  My RedHat
box has two ethernet NIC's.  One NIC connected to a cable modem (which is up
and running on the internet).  The other NIC is connected to a hub and the
rest of my internal LAN.

One area the textbook glosses over is the IP configuration of the LAN NIC.
My cable modem NIC receives IP configuration by DHCP - nothing to configure.
I read where the NIC for the LAN is supposed to use a private IP address
(I'm using 192.168.0.1) but, what about Gateway and DNS?  My book doesn't
explain this well.  And where to you go in RH 7.1 to change IP configuration
on a NIC anyway?  Is there a point-and-click GUI, or do you edit a
configuration file somewhere?

Thanks in advance.  I'm really looking forward to the day I break my
Microsoft addiction.

Howard




_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to