Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
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 leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #1 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 all replies
Re: AmiTCP: multiple interfaces?
« Reply #2 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 leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #3 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 leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #4 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 leofoeTopic starter

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

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #6 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.
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #7 on: March 02, 2006, 06:54:45 PM »
DEST is destination. This IP is always used as the destination of all outbound traffic via that interface.
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #8 on: March 02, 2006, 10:15:21 PM »
I have it now setup as follows:
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 NOGW

A2000:
bootpconfig magplip0 IP=192.168.2.2 GW=192.168.2.1

I cannot ping my router at 192.168.1.1.
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #9 on: March 03, 2006, 07:53:40 AM »
I don´t know if this applies to AmiTCP but I found this about multiple interfaces and default gateways. Look under `Using multiple gateways`.
That´s why I use only one but I´ll experiment further.
 

Offline leofoeTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 499
    • Show all replies
Re: AmiTCP: multiple interfaces?
« Reply #10 on: March 03, 2006, 10:00:45 AM »
Metric is probably the distance to the next hop. See here.
If I use 2 default gateways one of which is 192.168.1.2 I don't have internet on the A1200 because the browser doesn't which one to take or takes the wrong one.
The A2000 doesn't need to know anything about the 192.168.1 network because it has it's default gateway set to 192.168.2.1. So it sends anything there it doesn't know about.

I have tried all possible settings now and I cannot ping my router in any setting. Maybe AmiTCP cannot route between 2 interfaces after all?