Welcome, Guest. Please login or register.

Author Topic: AmiTCP: multiple interfaces?  (Read 3833 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
Re: AmiTCP: multiple interfaces?
« Reply #14 from previous page: 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #15 on: March 02, 2006, 06:38:32 PM »
What is DEST? Do you mean default gateway? If so then this should be configured as in the diagram I drew.

--
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 #16 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #17 on: March 02, 2006, 07:26:22 PM »
In your configuration the dest was set to 1.16, but I couldn't see that address anywhere else. Maybe that is why the A2000 can't see the Internet?

--
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 ncafferkey

  • Sr. Member
  • ****
  • Join Date: Feb 2003
  • Posts: 387
    • Show only replies by ncafferkey
Re: AmiTCP: multiple interfaces?
« Reply #18 on: March 02, 2006, 07:42:27 PM »
I think your router also needs a route added to its configuration so that it knows it needs to go through the A1200 to get to the A2000 (because the router's default route will be out to the internet). You might also need to use the route command on the A1200.
 

Offline leofoeTopic starter

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

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #20 on: March 03, 2006, 07:11:16 AM »
Interface 2 on the A1200 needs a gateway of 192.168.1.2.

--
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 #21 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #22 on: March 03, 2006, 08:01:26 AM »
I don't understand the term "Interface metric". What I do know is that each interface must have a default gateway otherwise it does not know how to contact other networks. You may also need to enter static routes in the A2000 to tell that it can reach the 192.168.1.x network through its 192.168.2.x 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 #23 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?
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: AmiTCP: multiple interfaces?
« Reply #24 on: March 03, 2006, 10:22:43 AM »
You need to set up some static routes on the A1200. Anything that is destined for the 192.168.2.x network (magplip interface) needs to route to 192.168.2.3. You also need a route for 0.0.0.0 to route to 192.168.1.1. This will ensure all traffic not intended for 192.168.2.x will go via the Orinoco interface not the Magplip. So here is the routing table you need:

0.0.0.0 / 0.0.0.0 / 192.168.1.1
IP dest / IP Mask / IP of router

 

192.168.2.0 / 255.255.255.0 / 192.168.2.3
IP dest / IP Mask / IP of A2000


--
moto

--EDIT
Corrected more mistakes :lol:
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 orange

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
Re: AmiTCP: multiple interfaces?
« Reply #25 on: February 01, 2014, 01:47:02 PM »
um, sorry to resurrect this one.

I've just managed to get magplip and ariadne working in Amitcp.
I think settings were fine, but you probably forgot to configure GW ruter ( GW=192.168.1.1 ) in its web interface.
need to add a route so that all traffic for 192.168.2.2 goes to 192.168.1.2
Better sorry than worry.