🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.networking
Article #148

AmiTCP routing problem

#148
From: Rask Lambertsen
Date: Tue, 28 Nov 1995 12:51
63 lines
2082 bytes
Hi,

I'm trying to set up two cslip interfaces with nullmodem.device so that
I can send data between the two cslip interfaces. I'm using AmiTCP 4.0 demo.
However, I get this error message:

add host 10.0.0.20: gateway localhost
ifconfig: ioctl (SIOCAIFADDR): Object exists
add host 10.0.0.21: gateway localhost: Object exists

I'm not really what the problem is (the documentation sucks).

This is my AmiTCP:bin/starnet:

AmiTCP:bin/umask 022
AmiTCP:AmiTCP
WaitForPort AMITCP
; Configure loop-back device
AmiTCP:bin/ifconfig lo0 localhost

; Configure cslip0
AmiTCP:bin/ifconfig cslip0 inet 10.0.0.20 10.0.0.21

; Add route to this host
AmiTCP:bin/route -v add 10.0.0.20 localhost

; Configure cslip1
AmiTCP:bin/ifconfig cslip1 inet 10.0.0.21 10.0.0.20

; Add route to this host
AmiTCP:bin/route -v add 10.0.0.21 localhost

setenv HOSTNAME `AmiTCP:bin/hostname`
Assign TCP: Exists > NIL:
IF Warn
  Mount TCP: from AmiTCP:devs/Inet-Mountlist
EndIf

Here is my cslip0.config:

nullmodem.device 0 38400 10.0.0.21 MTU=1500 7WIRE

Here is my cslip1.config:

nullmodem.device 1 38400 10.0.0.20 MTU=1500 7WIRE

Note: I've also tried swapping the IP numbers in these two config files.

Here is my AmiTCP:db/hosts (comments removed):

127.0.0.1 localhost
10.0.0.20 amiga0.rask.dk
10.0.0.21 amiga1.rask.dk

Any help will be appreciated. Thanks in advance.

--
Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen       | E-mail: gc948374@gbar.dtu.dk           |
| Amiga GNU CC README maintainer | WWW: http://www.gbar.dtu.dk/~gc948374/ |
| Keyboard error: <Ctrl> and <Alt> are stuck - press <Del> to continue    |
Technical Details
Message-ID: <49f0k8$t1o@unidhp.uni-c.dk>
Path: arc1-ca.pugleaf.net!lillep.gbar.dtu.dk!gc948374

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lillep.gbar.dtu.dk!gc948374
From: gc948374@lillep.gbar.dtu.dk (Rask Lambertsen)
Newsgroups: comp.sys.amiga.networking,comp.sys.amiga.datacomm
Subject: AmiTCP routing problem
Date: 28 Nov 1995 12:51:20 GMT
Organization: DTU
Message-ID: <49f0k8$t1o@unidhp.uni-c.dk>
NNTP-Posting-Host: lillep.gbar.dtu.dk
X-Newsreader: TIN [version 1.2 PL1]