Welcome, Guest. Please login or register.

Author Topic: AmiTCP: multiple interfaces?  (Read 3832 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
AmiTCP: multiple interfaces?
« on: March 01, 2006, 03:50:02 PM »
Is it possible to run AmiTCP 4.2 with 2 adapters at a time? I have an A1200 connected to my router. Then I have the A1200 connected to an A2000 through a parallel cable, via the magplip device (TCP/IP). I would like to connect to the internet from the A2000 through the A1200 and the router. Both machines have OS3.9 installed.
 

Offline pVC

Re: AmiTCP: multiple interfaces?
« Reply #1 on: March 01, 2006, 06:08:42 PM »
At least it's possible with AmiTCP/IP Genesis. I don't remember if I've used it with older AmiTCP's, but I'd guess it's possible. And if it isn't for some reason, you have OS3.9 which comes with Genesis, so why wouldn't you use it?
Daily MorphOS user and Amiga active.
 

Offline Thomas

Re: AmiTCP: multiple interfaces?
« Reply #2 on: March 01, 2006, 06:42:44 PM »

Genesis allows multiple interfaces, but there is no routing between them. AFAIK MiamiDx is the only IP stack which allows routing.

Bye,
Thomas

Offline patrik

Re: AmiTCP: multiple interfaces?
« Reply #3 on: March 01, 2006, 08:43:16 PM »
AmiTCP can use multiple interfaces and route between them - ie act as a gateway, but it cant do NAT, which nowadays often is what people mean when they talk about routing.


/Patrik
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
Re: AmiTCP: multiple interfaces?
« Reply #4 on: March 01, 2006, 09:47:16 PM »
Quote
patrik wrote:
AmiTCP can use multiple interfaces and route between them - ie act as a gateway, but it cant do NAT, which nowadays often is what people mean when they talk about routing.
/Patrik
Is it possible to shed some more light on this? If I use startnet, I can reference only 1 interface. How do I configure and start the extra interface?
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
Re: AmiTCP: multiple interfaces?
« Reply #5 on: March 02, 2006, 11:38:27 AM »
OK. I managed to get both interfaces run simultaniously with bootpconfig. With the A1200 I can connect to the internet and to the A2000. With the A2000 however I only can connect to the A1200, not the internet.  :-?
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #6 on: March 02, 2006, 11:42:13 AM »
Probably there is no routing between the two interfaces. You need a TCP/IP stack which supports routing.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
Re: AmiTCP: multiple interfaces?
« Reply #7 on: March 02, 2006, 12:16:01 PM »
Quote
motorollin wrote:
Probably there is no routing between the two interfaces. You need a TCP/IP stack which supports routing.


Quote
patrik wrote:
AmiTCP can use multiple interfaces and route between them - ie act as a gateway, but it cant do NAT, which nowadays often is what people mean when they talk about routing.


 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #8 on: March 02, 2006, 12:23:49 PM »
Sorry my mistake. I take it you have configured routing on the A1200's TCP/IP stack. Perhaps it would help if we could see your IP configuration for each interface.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
Re: AmiTCP: multiple interfaces?
« Reply #9 on: March 02, 2006, 01:02:28 PM »
A1200:
AmiTCP.config: GATEWAY=YES
interface1: bootpconfig Orinoco IP=192.168.1.15 GW=192.168.1.1 (this is my router)
interface2: bootpconfig magplip1 IP=192.168.1.17 DEST=192.168.1.16

A2000:
bootpconfig magplip0 IP=192.168.1.16 GW=192.168.1.17
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #10 on: March 02, 2006, 01:10:24 PM »
I think the two interfaces on the A1200 have to be on different networks, otherwise nothing will be routed.

E.g.

A1200:
AmiTCP.config: GATEWAY=YES
interface1: bootpconfig Orinoco IP=192.168.1.2 GW=192.168.1.1
interface2: bootpconfig magplip1 IP=192.168.2.1 DEST=192.168.1.2

A2000:
bootpconfig magplip0 IP=192.168.2.2 GW=192.168.2.1

Subnet mask on all of them should be 255.255.255.0

--
moto

--EDIT - various mistakes :roll:
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
Re: AmiTCP: multiple interfaces?
« Reply #11 on: March 02, 2006, 01:50:06 PM »
@motorollin:
This gives the following bootpconfig error on interface2 magplip1:
SIOCAFADDR "object exists"
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #12 on: March 02, 2006, 01:54:29 PM »
Hmmm not sure about that as I've never used AmiTCP. Maybe a duplicate IP address on the network?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #13 on: March 02, 2006, 02:06:22 PM »
Don't know if this helps at all:



--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show only replies by leofoe
Re: AmiTCP: multiple interfaces?
« Reply #14 on: March 02, 2006, 05:43:44 PM »
Thanks for the drawing.
The duplicate is probably the DEST of the magplip1 and the IP of the Orinoco. That's the only possiblity.