Re: Hi, having some trouble with networking

From: Peter T. Breuer (ptb_at_lab.it.uc3m.es)
Date: 11/14/04


Date: Sun, 14 Nov 2004 17:38:26 +0100

Mmm_moo_cows <mmm_moo_cows@hotmail.com> wrote:
> Could anyone reccomend a good (basic) networking tutorial for a
> beginner in linux.

Sure - any book on networking, linux, unix, the Network-4-HOWTO, the
rute tutorial, and many more. What in particular makes you ask about
"linux"? Networking is common across all o/s's that use standard modern
protocols. If you want network ADMINISTRATION look at the book by that
name in the O'Reilly series.

> I have setup modem and internet, but would like to
> share internet to 4 windows XP pc's and I amd completely stuck and

Well, go ahead.

> tutorials on the web I have found just dont help.

You don't need a tutorial. You need the Masquerading HOWTO, if you are
talking about port-forwarding (making one static IP address behave like
several from the internal point of view).

Start forwarding outgoing packets to all ports from the gateway machine,
and add an iptables rule for it that says to do port forwarding through
the external net interface, which sounds in your case as though it is
"ppp0".

  echo "1" > /proc/sys/net/ipv4/ip_forwarding
  iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

Hic.

Peter



Relevant Pages

  • Re: Help w/ Not-booting Problem
    ... >No - setting the hostname is one element in the boot process. ... I have had a working system of RedHat Linux 7.2 for several months. ... >external DNS server on an adsl router! ... >You appear to have a networking problem. ...
    (comp.os.linux.misc)
  • Re: I Want to identify best Linux approach, and any pitfalls.
    ... Built in sound and networking etc. ... > port it..and I have been investigating CAD stuff like qcad, ... www.ac3d.org - has what seems to be a good commercial package for Linux. ... > Plus any extra software that would be needed to get functionality up to ...
    (comp.os.linux.misc)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... You don't have to install any networking ... > know linux, but there seems to be several "window" managers available. ... underlying API, Xlib in this case, is too complicated to use. ...
    (alt.lang.asm)
  • Re: Fedora 6 - How to name machines on LAN for net?
    ... ohmster.ohmster.com ohmster #eth0 to Internet ... it is not necessary to route all traffic through the linux server. ... I want to learn Linux routing and networking so this is the reason that I ...
    (comp.mail.sendmail)
  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)