At 03:39 AM 4/27/00 GMT, you wrote:
>Good morning all.
>
>I have a 3 machine home network connected to the ISP by modem .
>
>After lots of problems which turned out to be caused by
>mostly 'bad hardware'... 2 bad Nics and a bad cable
>I am finally getting close to a working solution on
>my home network.
>
>This network has a Win-95 Proxy Server as Box-1,
>a Linux IP Masqueraded Gateway as Box-2 and
>one Linux/Win-95 work station... as Box-3.
>Yes, this is a little wierd but is a great experiment.
>
>Routing seems to work ok on two of the machines but I'm
>having problems pinging between BOX-2 and BOX-3.
>
>I have tested the hardware on Box-3 by 're-nameing' it as if
>it was Box-2's eth0 at 10.0.0.2  [and recabling]
>and it worked fine.
>
>But when I rename it back to the  Box-3 hostname and IP#
>of 192.168.0.4   I cannot ping  any IP#  on Box-2
>from Box-3 and  I also cannot ping Box-3 from Box-2  ???????
>
>Note: 'BOX-3' is a RH-6.1 Linux Machine DUAL BOOTED with Win-95
>and I have the same problem in both Win-95 and Linux on Box-3.
>
>I used 'linuxconf' to configure the Linux boxes.
>
>
>I believe this to be a routing problem on Box-2
>but I am confused as to what changes to make.
>
>I would appreciate some help understanding what I've done wrong.
>
>Thanks in advance.
>
>Johnny
>
>
>
>PS... here is some useful information about my system.
>
>---------------------------------------------------------------
>My /etc/hosts  [on all machines]  contains....
>
>127.0.0.1            localhost         localhost.localdomain
>
>10.0.0.1             in.domain.name    in   #[ eth0 in BOX-1 ]
>
>10.0.0.2            nut.domain.name    nut  #[ eth1 in BOX-2 ]
>            # Note: HostName for Box-2 is 'nut'
>192.168.0.1          gw.domain.name    gw   #[ 'eth0' in BOX-2 ]
>
>192.168.0.4         luk.domain.name    luk  #[ eth0 in BOX-3 ]
>---------------------------------------------------------------
>
>On BOX-2...  'nut.domain.name'   [non-public domain name & IP#s]
>
>'netstat -nr   shows....
>
>192.168.0.0   0.0.0.0   255.255.255.0 U  1500 0 0 eth1
>127.0.0.0     0.0.0.0   255.0.0.0     U  3584 0 0 lo
>10.0.0.0      0.0.0.0   255.0.0.0     U  1500 0 0 eth0
>0.0.0.0       10.0.0.1  0.0.0.0       UG 1500 0 0 eth0 ..?? 1=?
>
>?? Should the 'default gateway' 10.0.0.1 be to eth1..instead??
>
Well, if you are cabled the way you say, then you have the IP numbers
swaped on this box.  Sense you can access the net from machine 2,
I would say you have eth0 connected to box 1, and not eth1.
>
I take it box 2 is not running a 2.2.? kernal?

>---------------------------------------------------------------
>On BOX-2...  'nut.domain.name'   [non-public domain name & IP#s]
>
>my /etc/rc.d/rc.local file has...
>
>ipfwadm -F -p deny
>ipfwadm -F -a m -S 10.0.0.0/8 -D 0.0.0.0/0
>
I think this should be:

ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
>
Make sure /etc/sysconfig/network has:

FORWARD_IPV4=yes

or add:

echo "1" > /proc/sys/net/ipv4/ip_forward

to your rc.local file.

>---------------------------------------------------------------
>
>On BOX-3...  'luk.domain.name'   [non-public domain name & IP#s]
>
>'netstat -nr   shows....
>
>192.168.0.4   0.0.0.0  255.255.255.255 U  1500 0 0 eth0
>192.168.0.0   0.0.0.0  255.255.255.0   U  1500 0 0 eth0
>127.0.0.0     0.0.0.0  255.0.0.0       U  3584 0 0 lo
>              ---------------
>? Do I need to add the 'default gw  as below'... as well ?
>0.0.0.0      10.0.0.1  0.0.0.0         UG 1500 0 0 eth0
>
You should add the default route on box 3 with something like:

route add default gw 192.168.0.1 eth0
(Doing this from memory, so I may have goofed the command syntax!)

>---------------------------------------------------------------
>
>
>Some explanation about why I'm doing it this way.
>
>My 'Goal' here is to use a...
>
>WIN-95 machine/'BOX-1' to dialup the ISP
>[ with a 'server' s/w pkg & Dual Phone Line Modem]
>
>and pass the packets to...
>'BOX-2'    a RH-5.2 Linux Machine [ IP Masqueraded Firewall Box]
>which is used to protect my local network [just 'BOX-3' now].
>
>and pass the packets to...
>
>'BOX-3'    a RH-6.1 Linux Machine DUAL BOOTED with Win-95
>
>I am doing it this way because I don't have access to
>DSL or ISDN but I do have access to  Dual Phone Line technology.
>
>Eventually I will be able to get high speed service and will
>eliminate Box-1 and connect Box-2 directly to the ISP.
>
>I have the  'server s/w package' installed on BOX-1
>and it works fine.
>
>I can use Netscape on Box-2 to access websites through
>Box-1 [ Box-1 is a Win-95 'Proxy Server't 10.0.0.1 ]
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to