Well, I know there are other ways to do this. The most common being
to use the gated daemon, but I have yet to find out where this is obtainable.
If you know, I would appreciate the help.
Now, for my system, SunOS 4.1.3C and the PPP software I used, ppp2.1.2, I
was able to do routing outside of my machine to the rest of Internet by
specifying the /etc/defaultrouter and using 'arp'
For my setup, I initiate pppd with the following command.
/usr/local/etc/pppd <host addr>:<remote addr> proxyarp
Now, this is supposedly going to put an entry in the Internet-to-Ethernet
address translation tables just by specifying 'proxyarp', but sometimes
this did not take for me, so I added the following script in
/etc/ppp/ip-up which is a shell script that pppd runs after it is up.
--- #/bin/sh # arp -s $5 <ether addr> pub ---
Make sure the file is executable, I forgot about that and it drove me nuts for 5 minutes. The <ether addr> is the ethernet address of the host machine that is acting as the PPP server. The variable $5 is the IP address of the remote machine passed to the script from pppd.
You can then verify the entry by doing 'arp -a'.
Also, I suggest getting 'traceroute' or asking your other admins at your site, if you do not know already, the default router that needs to be specified in the /etc/defaultrouter file. This should be the FIRST ROUTER up the stream from your machine.
If anyone has any comments, or corrections, please feel free.
Richard Crane firstname.lastname@example.org
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * Network Administrator/Research Assistant Microwave/Photonics Laboratory * Standard Disclaimer: My opinions are mine and do not necessarily reflect * those of Drexel University. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:11 CDT