Subject: Re: IPNAT with only one interface?
To: None <netbsd-help@NetBSD.ORG>
From: Anders Dinsen <dinsen@danbbs.dk>
List: netbsd-help
Date: 07/20/1998 21:29:50
You might be able to give an alias IP address to the interface, thus
assigning it two different IP addresses.

You can try it on your Quadra, by connecting the cable modem to the
hub to see what is happening.

I don't know anything about cable modems. I assume that your host and
that the cable modem allows you to access some router on the internet
with an IP address. But how about the cable modem? Does it have an IP
address too?

If the cable modem is identified by an IP address itself (on the
Ethernet side that is), giving the interface two addresses and
inserting the cable modem as the default router should allow you
access to both networks from your NetBSD box.

But I'm unsure about IPNAT. The thing is that it must convert
addresses to and from the same interface but in different address
ranges.

Anders Dinsen


On Thu, 16 Jul 1998 22:19:03 -0400 (EDT), you wrote:
>Currently I'm running NetBSD/mac68k on a Quadra 650 with two ethernet
>interfaces, one of which is connected to a cable modem (getting the ip#
>via dhcp). The other is connected to my hub (and is 10.0.0.1). I've got
>IPNAT running so the (currently one) other machine on my lan can access
>the internet. However, I might buy a Sun IPX which would have only one
>ethernet interface. If I got that I'd want to use that as my UNIX box so=
 I
>wouldn't have to abuse my poor Quadra anymore. This leaves me wondering =
if
>it would be possible to run IPNAT on one ethernet interface (from what I
>hear sbus ethernet cards are hard to come by). I've never tried running =
a
>cable modem which isn't directly plugged in, but that doesn't mean it
>might not work (Does anyone have any info on this? It's a LanCity Model
>LCPET-2). If the modem did work when plugged into a hub, the IPX was =
also
>plugged into that hub, and my two Macs were also plugged in there, could
>the IPX do IPNAT for the Macs? Oh, I forgot to mention that the IPX =
would
>be running NetBSD (of course :).
>
>TIA
>-Simon Raahauge DeSantis