--- Gareth Williams <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I was just wondering if someone could outline what I
> need to do to get
> Internet Connection Sharing worked out.
>
> Do I do a direct cable connection, or do I need a
> hub?
>
> Does anyone have any experience of this?
Buy a 10/100BT Hub or switch (depending on your $$),
and 10/100BT Ethernet cards + patch cords for all your
machines.
Setup a private IP address (like 192.168.1.1-254) on
each machine. Setup the IP address of the gateway
machine (the one connected to the Internet, via modem,
cable modem, or whatever) as the default gateway and
nameserver on all machines.
Setup ip_masquerading on the gateway machine. You will
need to read the IP_Masquerading HowTo, but a minimal
config using ipchains would be to put the following
lines at the end of /etc/rc.d/rc.local :
echo "1" > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -s 192.168.1.0/24 -j MASQ
But before you do anything, READ THE HOWTO's and learn!
=====
________________________
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/