Article View: alt.os.linux.mandrake
Article #145Re: Home LAN and access to Cyberia for two Netizens
From: Bruce G
Date: Wed, 10 Jul 2002 04:55
Date: Wed, 10 Jul 2002 04:55
111 lines
6590 bytes
6590 bytes
nunayer@aol.com (Mister Smith) wrote in message news:<cbc6bc3d.0207080626.5ce1b048@posting.google.com>...
> BitTwister@localhost.localdomain (Bit Twister) wrote in message news:<slrnaia39h.3td.BitTwister@wb.invalid>...
> > On Fri, 05 Jul 2002 12:27:12 +1000, krONik wrote:
> > > Hi people,
> > >
> > > I am trying to set up a home LAN. I want it to be as simple as possible as i
> > > am not a software/hardware engineer and have little programming experience.
> > > Hence, i prefer GUI interface solutions if possible.
> > >
> > > I am using Linux as it is secure, and cost effective. Eventually, I would
> > > like to completely migrate to Linux but, I digress.
> > >
> > > Here are the facts:
> > >
> > > I have 3 pc's at home.
> > >
> > > I have one computer which connects to the internet via a Motorola Surfboard
> > > cable modem. I set this up for DHCP to be provided by the ISP {it has been
> > > given a 211. IP addy). This pc is connected to our LAN with a RealTek
> > > network card Static IP addy 192.168.10.10. This computer runs Linux Mdk 8.2
> > > and works well for a grandad machine.
> > >
> > > I have another computer which runs Linux Mdk 8.2/Windoze ME. This connects
> > > to our LAN with an Intel network card. Static IP addy: 192.168.0.3. Its an
> > > AMD Athlon 1.2 which I use for graphic design.
> > >
> > > I have a third computer which runs Windoze 98 and connects via Compex
> > > network card. Static IP addy 192.168.0.2. This is an Intel P2 machine owned
> > > by my flatmate.
> > >
> > > All of these computers are connected to a Hub using Cat5 cabling.
> > >
> > > Only one PC can access the net at a time, even though I have gone and
> > > completed the Internet Connection Sharing wizards on each of the pc's. I
> > > dont know what I am doing wrong and to date, my trawling through NG's and
> > > the internet hasnt helped resolve the problem.
> > >
> > > Overall, I know that the grandad pc is managing the IP addy's of the other
> > > computers. What I dont know is, does the LAN or the cable modem need to be
> > > set for DHCP? it doesnt work with either one or even both set as DHCP.
> > >
> > > What am I missing here? I would have thought that this would be the simplest
> > > and easiest home LAN configuration possible to allow two people access to
> > > cyberia at the same time.
> > >
> > > Please help as I have spent the past 3 days in utter frustration. I am
> > > completely befuddled by this and i am having nightmares about rogue and
> > > unco-oprative IP addresses at night!
> >
> > You should have no problem running the LAN with static ip addys.
> > I assume Grandad's second nic is connected to the uplink port on the hub.
> >
> > I assume the grandad /etc/sysconfig/network file looks
> > kinda like this
> >
> > cat /etc/sysconfig/network
> > NETWORKING=yes
> > FORWARD_IPV4="yes" <============== check this
> > DHCP_HOSTNAME="122-237-213-120"
> > HOSTNAME="fw.invalid"
> > DOMAINNAME=invalid
> > GATEWAY="122.237.213.1"
> > GATEWAYDEV="eth1"
> >
> > Now, do a cat /etc/dhcpc/dhcpcd-eth0.info on granddad
> >
> > I assume you have the other two pc's dns servers set to the
> > DNS=x.x.x.x., x.x.x.x.x values found in the above file,
> > and their gateways set as 192.168.10.10
> >
> > I have eth1 connected to cable and eth0 connected to lan
> >
> > Grandads route looks kinda like this
> > /sbin/route -n
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> > 122.237.213.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> > 0.0.0.0 122.237.213.1 0.0.0.0 UG 0 0 0 eth1
> >
> > and the second MD system's route looks kinda like
> >
> > /sbin/route -n
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
>
>
>
> If you want *simple*, go to www.freesco.org and download Freesco, then
> set it up as a DHCP server for your LAN. Change each OS to load IP
> via DHCP. The setup should be:
>
> Cable modem <--> FreeSCO box <--> HUB <--> (all other machines)
>
> You won't even need a monitor, keyboard or mouse for the FreeSCO box.
I have a similar system at home. I'm using mandrake 8.0 on a PC that
acts as a router. Essentially, you have a PC that has a network card
and a modem that dials into you ISP. Or, a PC that has two network
cards and one of the cards connects to your DSL/Cable modem. From
this PC you go to the hub which connects to the other computers. You
then install the connection sharing software on this PC (either
windows or Mandrake or FreeSCO). The other PCs look at the IP address
of this PC as their gateway. Mandrake's site has a tutorial on this.
Good Luck
Bruce Garr
Technical Details
Message-ID:
<3136070.0207092055.576f801b@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<3d2503b4$0$14698$afc38c87@news.optusnet.com.au> <slrnaia39h.3td.BitTwister@wb.invalid> <cbc6bc3d.0207080626.5ce1b048@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9825,36f20f097bef3ad3 X-Google-Attributes: gidf9825,public X-Google-Thread: f8a83,36f20f097bef3ad3 X-Google-Attributes: gidf8a83,public X-Google-Thread: 10a416,36f20f097bef3ad3 X-Google-Attributes: gid10a416,public X-Google-Thread: 102983,36f20f097bef3ad3 X-Google-Attributes: gid102983,public X-Google-Thread: 10669a,36f20f097bef3ad3 X-Google-Attributes: gid10669a,public X-Google-ArrivalTime: 2002-07-09 21:55:34 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: bgarrydo@netscape.net (Bruce G) Newsgroups: alt.os.linux.mandrake,athome.aus.users.linux,aus.computers.linux,comp.os.linux.networking,linux.help Subject: Re: Home LAN and access to Cyberia for two Netizens Date: 9 Jul 2002 21:55:33 -0700 Organization: http://groups.google.com/ Lines: 111 Message-ID: <3136070.0207092055.576f801b@posting.google.com> References: <3d2503b4$0$14698$afc38c87@news.optusnet.com.au> <slrnaia39h.3td.BitTwister@wb.invalid> <cbc6bc3d.0207080626.5ce1b048@posting.google.com> NNTP-Posting-Host: 199.88.112.211 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026276934 7487 127.0.0.1 (10 Jul 2002 04:55:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 10 Jul 2002 04:55:34 GMT