🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #150

Re: Home LAN and access to Cyberia for two Netizens

#150
From: Bit Twister
Date: Fri, 05 Jul 2002 03:05
87 lines
5189 bytes
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
Technical Details
Message-ID: <slrnaia39h.3td.BitTwister@wb.invalid>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!wn2feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail
References: <3d2503b4$0$14698$afc38c87@news.optusnet.com.au>

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: 102983,36f20f097bef3ad3
X-Google-Attributes: gid102983,public
X-Google-Thread: 10a416,36f20f097bef3ad3
X-Google-Attributes: gid10a416,public
X-Google-Thread: f8a83,36f20f097bef3ad3
X-Google-Attributes: gidf8a83,public
X-Google-Thread: 10669a,36f20f097bef3ad3
X-Google-Attributes: gid10669a,public
X-Google-ArrivalTime: 2002-07-04 20:05:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!wn2feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail
Newsgroups: alt.os.linux.mandrake,athome.aus.users.linux,aus.computers.linux,comp.os.linux.networking,linux.help
From: BitTwister@localhost.localdomain (Bit Twister)
Subject: Re: Home LAN and access to Cyberia for two Netizens
References: <3d2503b4$0$14698$afc38c87@news.optusnet.com.au>
Organization: attbi.com user getting ~33.9 kbyte/sec  news feed
Reply-To: This_article@This_news_group.invalid
Message-ID: <slrnaia39h.3td.BitTwister@wb.invalid>
User-Agent: slrn/0.9.7.1 (Linux)
Lines: 87
NNTP-Posting-Host: 12.237.213.110
X-Complaints-To: abuse@attbi.com
X-Trace: sccrnsc02 1025838330 12.237.213.110 (Fri, 05 Jul 2002 03:05:30 GMT)
NNTP-Posting-Date: Fri, 05 Jul 2002 03:05:30 GMT
Date: Fri, 05 Jul 2002 03:05:30 GMT