Welcome, Guest. Please login or register.

Author Topic: Routing in Genesis  (Read 2418 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Routing in Genesis
« on: June 06, 2006, 09:01:44 AM »
I have asked about this before, but I didn't fully understand the answer, and this is a different situation so I suspect the answer will be different :-) My Amiga is connected via Ethernet and can access the Internet. I am trying to configure vlink.device to give ShapeShifter access to the Internet. My IP configuration is as follows:

Router
10.0.0.1 Ethernet

Amiga
10.0.0.178 fastethernet.device 0
192.168.1.1 vlink.device 0

Shapeshifter
192.168.1.2 vlinkmirror.device 0

The Amiga can access the Internet, ping the router, and ping ShapeShifter. ShapeShifter can ping both addresses on the Amiga. It cannot, however, ping the router, or access the Internet. I guess I need to set up a route between fastethernet.device and vlink.device. This is detailed in the documentation for vlink, but if focuses on Miami, and I can't work out how to do it in Genesis.

Assitance would be appreciated :-)

--
moto

--Edit
Oops, "routing" not "rouring" :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 buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: Routing in Genesis
« Reply #1 on: June 06, 2006, 11:30:21 AM »
You can't do this on genesis. Well you could set up a socks server, and use that, but genesis cannot act as a gateway. You will need MiamiDx.
 

Offline patrik

Re: Routing in Genesis
« Reply #2 on: June 06, 2006, 11:35:03 AM »
@motorollin:

You first need to enable Genesis to forward packages so the packages can get to the router, then you have to add a route-entry in your router, so the router knows that the 192.168.1.0 network is behing your A1200 (10.0.0.178).

I believe the answer is quite the same, or? :D

Anyhow, the basic rule is that all parties that are communicating need to know how to get packages to the other. In this case, if Genesis on your A1200 has package-forwarding enabled (acts as a gateway), your Shapeshifter Mac has the AmigaOS/Genesis side set as the default gateway, which knows how to get to the router, but when a package arrives at your router from the Shapeshifter Mac, your router doesn't know that the 192.168.1.x network is beside your A1200, so it will just send the reply to its default gateway which is your ISP :D. This is why the routing-entry is needed on the router.


@buzz:

Genesis is able to act as a normal gateway, but you are talking about NAT which is used by gateways make several hosts share the gateway's ip-address externally, which isn't needed in this case as it is on his own network, where he has full control over the ip-addresses.


/Patrik
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Routing in Genesis
« Reply #3 on: June 06, 2006, 01:07:35 PM »
@patrik
So are you saying that Genesis is working as I need it to, but I need to configure the route back to the 192.168.1.0 network in to my router?

That would make sense, as I can ping 10.0.0.178 from Shapeshifter and get replies, which suggests that Genesis is passing the packet from 192.168.1.1 to 10.0.0.178, which then replies through Genesis acting as a gateway, but the router doesn't know how to contact the 192.168.1.0 network so sends the packet to the Internet.

I will play with my router tonight. Cheers! :-)

--
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 motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Routing in Genesis
« Reply #4 on: June 06, 2006, 07:00:53 PM »
Well you were right, I needed to add a static route to the 192.168.1.0 network. I'm typing this reply in iCab browser within ShapeShifter :-)

It's very slow though. I might try it connected directly to the Ethernet (not through vlink) and see if that's faster. If it is then I will buy a second network card for my Amiga.

Thanks again!

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

Re: Routing in Genesis
« Reply #5 on: June 06, 2006, 09:50:58 PM »
@motorollin:

Why not just run both Genesis and the Mac TCP/IP stack on the same network card? This will remove the overhead of vlink. The only issue is that you will have two IPs, but as you have a local network with the same router, that shouldn't matter to you.

Still, the classic Mac TCP/IP stack is very slow and should be the absolute biggest bottleneck.


/Patrik
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Routing in Genesis
« Reply #6 on: June 06, 2006, 09:55:46 PM »
@patrik
You can't use the same NIC in AmiTCP and ShapeShifter, which is why you either have to bridge the emulator on your physical card with vlink, or use a separate physical NIC.

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

Re: Routing in Genesis
« Reply #7 on: June 06, 2006, 10:04:41 PM »
@motorollin:

Yes you can. The Sana2 standard supports that several network-stacks use the same device.


/Patrik
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Routing in Genesis
« Reply #8 on: June 06, 2006, 10:20:03 PM »
Hmmmm intriguing :-) Will try this tomorrow. Thanks!

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

Re: Routing in Genesis
« Reply #9 on: June 06, 2006, 10:45:19 PM »
It works fine here with an Ariadne card.

The only thing which could make it not work is if the Sana2-device for your card isn't implemented by the standard and lacks support for more than one network-stack.


/Patrik
 

Offline Thematic

  • Jr. Member
  • **
  • Join Date: Aug 2003
  • Posts: 69
    • Show only replies by Thematic
Re: Routing in Genesis
« Reply #10 on: February 14, 2007, 06:50:05 PM »
Quote

It's very slow though. I might try it connected directly to the Ethernet (not through vlink) and see if that's faster.
How slow? I wish to do this same thing, for apparently the same reason - iCab - but I expect it to be considerably faster than Shapeshifter with modem? If not, I don't think I'll bother. I have 512 kbps ADSL.
So you have the strings in your palm. Do you know what they are for?
 

Offline Thematic

  • Jr. Member
  • **
  • Join Date: Aug 2003
  • Posts: 69
    • Show only replies by Thematic
Re: Routing in Genesis
« Reply #11 on: February 15, 2007, 09:42:22 PM »
(Posting with iCab)
I didn't want to change the router settings, for that is just about impossible with the browsers I use - which means I didn't test iCab with it either - so instead I run a native webproxy. vlink slows down transfers a lot but the browser isn't very fast either. Even if it is a 1994 CPU pushing the bits.

I had to hunt the web for 'InternetConfig' to be able to use the proxy, since I use an old version of the OS.
So you have the strings in your palm. Do you know what they are for?