Just picked up on this thread.  I assume your 1st machine is the
gateway, and you want your 2nd machine to access the Internet through
the first machine.  It looks like 192.168.127.68 is the local IP address
of your first machine, and 192.168.127.65 is the local IP address of
your second machine.  If this is the case, it looks to me that the
routing table of your 1st machine is off.  If you're connecting directly
to the Internet from this first machine, this doesn't need a gateway
listed in its routing table.  Remove the gateway entry 192.168.127.68
from the 1st machine's routing table.  If you're connecting to the
Internet from this machine by ppp0, check the routing table after you're
connected.  You should see the dynamically assigned IP address of your
modem as the gateway of your 1st machine.  The routing table of your 2nd
machine needs to list your first machine as its gateway.  Remove the
gateway entry for 192.168.127.65 from the 2nd machine's routing table,
and add a gateway entry for 192.168.127.68.  And you'll need to compile
IP masquerading into your kernel, if you haven't done so already.  Good
luck,



Hidong



Hidong



Johnnio wrote:
> 
> Hi again Brian
> 
> This is where I'm at currently...
> 
> I'm now getting 'destination host unreachable'
> 
> On the 1st box -  RH 5.2  server
> 
> netstat -nr
> 
> 192.168.127.68  0.0.0.0           255.255.255.255 UH 1500 0 0 eth0
> 192.168.127.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
> 0.0.0.0         192.168.127.68    0.0.0.0         UG 1500 0 0 eth0
> 
> On 2nd box
> 
> netstat -nr
> 
> 192.168.127.65  0.0.0.0           255.255.255.255 UH 1500 0 0 eth0
> 192.168.127.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
> 0.0.0.0         192.168.127.65    0.0.0.0         UG 1500 0 0 eth0
> 
> Both boxes have each other in their /etc/hosts files
> 
> Brian wrote:
> >
> > > >
> > > > Is this what you are saying that I need to see in 'netstat -nr
> > > > after ppp connects?
> > > >
> > > > 38.1.1.1        0.0.0.0     255.255.255.255 UH 1500 0 0 eth0
> > > > 192.168.127.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
> > > > 0.0.0.0         38.1.1.1    0.0.0.0         UG 1500 0 0 ppp0
> > > >
> > > > the goal is.  Would this be correct?
> > >
> > > The above routing table looks good.  what does arp -a show? anything?
> >
> > More than likely what is going on is this:
> >
> > 1. The machine you are seeing a "timeout" on, has a correct routing table.
> > It sends the ping to the destination, but the destination doesn't know how
> > to get back to the original source.  Thus a "timeout".
> >
> > 2. The machine you are seeing nothing on, does not have a correct route to
> > the other machine.
> >
> > Both machines need the 192.168.127.0 route to work properly.  Do a netstat
> > -rn on BOTH machines, and post it here if you like..........that is what's
> > needed.
> >
> > Brian
> >
> > >
> > > >
> > > > Thanks in advance.
> > > >
> > > > Johnny
> > > >
> >
> > -----------------------------------------------------
> > Brian Feeny (BF304)     [EMAIL PROTECTED]
> > 318-222-2638 x 109      http://www.shreve.net/~signal
> > Network Administrator   ShreveNet Inc. (ASN 11881)
> >
> > --
> > 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.


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

Reply via email to