This is a SUMMARY,
(1) The original problem
<I have been trying to set up a PPP connection over a leased line
<for the past few days. For testing, I have 2 Sun workstations running
<Solaris 2.5.1 with a modem pair in between set up in my office.
<
<Here are my 2 /etc/hosts files :
<
<% cat /etc/hosts
<
<127.0.0.1 localhost loghost
<192.228.222.2 rcc-utara
<192.228.222.4 ppp-address
<
<% cat /etc/hosts
<
<127.0.0.1 localhost loghost
<192.228.222.1 ncc
<192.228.222.4 ppp-address
<
<When I type netstat -r from 192.228.222.1, I get :
<
<% netstat -r
<
<Routing Table:
< Destination Gateway Flags Ref Use Interface
<-------------------- -------------------- ----- ----- ------ ---------
<localhost localhost UH 0 0 lo0
<192.228.222.2 ncc UH 4 2 ipdptp0
<224.0.0.0 ncc U 4 0 ipdptp0
<
<When I type netstat -r from 192.228.222.2, I get :
<
<% netstat -r
<
<Routing Table:
< Destination Gateway Flags Ref Use Interface
<-------------------- -------------------- ----- ----- ------ ---------
<localhost localhost UH 0 0 lo0
<192.228.222.1 rcc-utara UH 3 1 ipdptp0
<224.0.0.0 rcc-utara U 3 0 ipdptp0
<
<
<When I type ping 192.228.222.2 from station 192.228.222.1,
<I can see the TD LED on the modem from 192.228.222.2 light up,
<as well as the RD LED on the modem from 192.228.222.1. But
<the ping fails and "no answer from 192.228.222.2".
(2) The solution :
It turns out what I had done (but not mentioned in my problem
submission) was that I had disabled the port monitor. I used the
admintool to enable the port monitors on both work stations using the
"Modems - Bidirectional" template.
As a side note, the thing that I found lacking in the documentation
was that when you are setting up a leased line, how a leased line
set up differs from a dial-up line set up. I guess it is so "obvious"
that no one bothered to document it. But for me, having to set up
both ends of the PPP connection with no working example, I wound
up trying about 50 different configurations (/etc/asppp.cf, /etc/hosts,
/etc/remote, /etc/uucp/Systems, /etc/uucp/Devices, /etc/uucp/Dialers,
AND the port monitor) before I got this to work.
John Nash
Resscom Computer & Communications
Kuala Lumpur, Malaysia