Sorry guys,
Just found out that the nic/eth0 on Box-3 [ a dual booted Win-95/linux
Box]
is 'really dead' and am replacing it. I'll post when it is fixed.
Thanks for your patience.
Also I really thing my routing table on Box-2 is screwed up...
John
Johnnio wrote:
>
> Thanks to all of you for the good advice.
>
> Here is what I'm planning to...
> Hopefully it is consistent with 'good practice' which I am trying to
> learn.
> Sorry for the length of the posting.
>
> Let me know please if I can improve this plan in any way as
> even though this is a home network I want to learn to do it right.
> Thanks to you all in advance for any additional guidance.
>
> I used .1 for both network gateways.
> Since I am not subnetting 192.168.1.0 I used the standard subnet for
> Class C.
>
> from
> [ISP]
> |
> V
> |
> >-|-'56k modem' via SupraSonic Dual Line Modem
> |
> | THE GATEWAY for this box determined by ppp on connection
> |
> |===Box-1 A Win-95 box [ with a 'server s/w' installed ]
> |
> |
> |-eth0= IP=10.0.0.1
> >-| Netmask=255.0.0.0 Network=10.0.0.0 Bdcst=10.255.255.255
> |
> |
> >-|-eth0= IP=10.0.0.2
> | Netmask=255.0.0.0 Network=10.0.0.0 Bdcst=10.255.255.255
> |
> | THE GATEWAY for this box is 10.0.0.1
> |
> |===Box-2 = LINUX RH 6.1 MASQ'd with IPCHAINS
> |
> |-eth1 IP=192.168.1.1
> >-| Netmask=255.255.255.0 Network=192.168.1.0 Bdcst=192.168.1.255
> |
> |
> >-|=LynkSys HUB, 10BT, 5 ports
> |
> | THE GATEWAY [for all workstations below] is 192.168.1.1
> |
> |===Box-3, eth0= 192.168.1.100
> | Netmask=255.255.255.0 Network=192.168.1.0
> Bdcst=192.168.1.255
> |
> |===Box-4, eth0= 192.168.1.200
> | Netmask=255.255.255.0 Network=192.168.1.0
> Bdcst=192.168.1.255
> |
> |===Box-5, eth0= 192.168.1.300
> Netmask=255.255.255.0 Network=192.168.1.0
> Bdcst=192.168.1.255
>
> Doing 'ifconfig' verifies the above settings.
>
> But I got the following from 'netstat -nr'
> [ after using 'linuxconf' to configure the two interfaces]
> and 'after rebooting'...
>
> Routing Table...
> Destination Gateway GenMask Flags MSS Window IRTT Iface
> 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
> 10.0.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
> 192.168.1.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth1
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 10.0.0.0 10.0.0.2 255.0.0.0 UG 0 0 0 eth0
> 10.0.0.0 0.0.0.0 255.0.0.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 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
>
> Is this correct ?
>
> Isn't this table telling me I've got 3 gateways?
>
> Shouldn't I have just one gateway 'per box'? Or is that 'per
> interface'?
>
> [ I experimented with the route command once , royally screwed up, so
> then unistalled and reinstalled both NICS to attempt fix it]
>
> I'm confused about the 255.255.255.255 GenMask ?
> Question... isn't 'GenMask' supposed to be the same value as 'Netmask'?
>
> I've got the two nics installed in Box-2. I think both nics are
> installed correctly.
> I can ping both IP#s or hostnames ok when I'm logged in as root on
> Box-2.
>
> I have all IP#s/hostnames/aliases listed in /etc/hosts on all boxes
> and 192.168.1.1 entered as the gateway for Boxes-3,4,5,
>
> But I 'cannot ping' Box-3 '192.168.1.100' from Box-2 ,
> [ I get 'from hostname(192.168.1.1)'destination host Unreachable' from
> Box-2/Linux]
>
> 'or ping from Box-3 to Box-2'. [only Box-3 of Boxes-3,4,5 is connected
> currently]
> [I get 'timed out' when pinging Box-2 from Box-3]
> [Box-3 is 'temporarily' a Win-95 box]
>
> I'm sure I'm overlooking something here.
> Any guidance appreciated. Wish I did this more often.
>
> Also, I am not sure that I've correctly installed IPChains.
> Can one of you tell me how to determine that?
>
> IPV4 packet forwarding is enabled.
>
> I 'really' appreciate you guidance.
> Many Thanks in advance for your continued assistance.
>
> Johnny
> [EMAIL PROTECTED]
>
> PS: the original intent was to create a 'linux home network', behind a
> linux masqueraded/firewall server, connected to the internet by a
> Win-95 or Win-NT 4.0 box 'used to allow 106k downlink from ISP'.
> [ using a SupraSonic Dual 56k Line Modem- 106k 'down'... 'until I get
> DSL ]
>
> PS: Charles... you didn't say 'that'... I just confused you with
> another person'.
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
"Linux: the operating system with a CLUE...
[ie...Command Line User Environment]".
(seen in a posting in comp.software.testing)
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.