[comp.unix.aux] SL/IP

lamarche@ireq.hydro.qc.ca (Louis Lamarche) (06/26/91)

I was able to establish a point-to-point SLIP connection between
a macIIfx running /etc/slip under A/UX 2.0.1 and a macII running
the dirt.cisco.com NSCA telnet version supporting SLIP,this under
MacOS 6.0.5. I can open multiple sessions.

The problem I have, is that I cannot establish network connections
using the macIIfx as a gateway. Is this a bug in A/UX /etc/slip or in
NSCA telnet with SLIP or simply a limitation of SLIP itself ?


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| Louis Lamarche, IREQ |       lamarche@ireq.hydro.qc.ca
| CP 1000, Varennes    |                 or
| QC, Canada, J3X 1S1  |  514-652-8077 (office)  514-324-2919 (home)

ron@afsg.apple.com (Ron Flax) (06/26/91)

In article <7639@s3.ireq.hydro.qc.ca> lamarche@ireq.hydro.qc.ca (Louis Lamarche) writes:
>I was able to establish a point-to-point SLIP connection between
>a macIIfx running /etc/slip under A/UX 2.0.1 and a macII running
>the dirt.cisco.com NSCA telnet version supporting SLIP,this under
>MacOS 6.0.5. I can open multiple sessions.
>
>The problem I have, is that I cannot establish network connections
>using the macIIfx as a gateway. Is this a bug in A/UX /etc/slip or in
>NSCA telnet with SLIP or simply a limitation of SLIP itself ?

This definitely belongs in the FAQ list.

In A/UX 2.0.1 "ipforwarding" was turned off due to a comment in some RFC
that basically states that a host should not abitrarily become a
gateway.

You can turn ipforwarding back on by issuing the following in adb:

# adb -w /unix
a.out file = /unix (COFF format)
cannot open core
ready
ipforwarding?D
ipforwarding:   0
ipforwarding?W 1
ipforwarding:   0x0             =       0x1
$w
$q
#

Then reboot your Mac so that the change will take effect.  You might
also want to make the same change to /etc/install.d/boot.d/bnet_dr in
case you build a new kernel via newconfig at some later date.

--
Ron Flax
ron@afsg.apple.com	
Apple Federal Systems Group

urlichs@smurf.sub.org (Matthias Urlichs) (06/28/91)

In comp.unix.aux, article <588@afsg.apple.com>,
  ron@afsg.apple.com (Ron Flax) writes:
< 
< You can turn ipforwarding back on by issuing the following in adb:
< 
< # adb -w /unix
< a.out file = /unix (COFF format)
< cannot open core
< ready
< ipforwarding?W 1
< ipforwarding:   0x0             =       0x1
< $w
< $q
< #
< 
< Then reboot your Mac so that the change will take effect.

If you'd rather not reboot, do
# adb -k -w /unix /dev/kmem
ipforwarding/W 1
            ^-- note the slash

This changes the running kernel without affecting what'll happen after the
next boot. You can do both changes in one session. The "-k" flag is
recommended when working on standalone programs such as the kernel (that's
why it's named "-k").

NB: /bin/adb isn't /bin/ed. Writes are performed as soon as you give the /w
or ?w command, and the "$w" above does something entirely different.
"man adb" for details. (You did install the manuals, right? ;-)

-- 
Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de     /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330)   \o)/