Enabling network behind a router?

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

Locked
Wbdsgnr

Enabling network behind a router?

Post by Wbdsgnr »

I've got a bit of a problem. On my normal linux pc my ip is 192.168.2.100 and I'm behind a router (192.168.2.1). So in ifppc_up I used

PPC_NETMASK="255.255.255.0"
PPC_HOST_IP="192.168.2.105"
PPC_CLIENT_IP="192.168.2.100"

and in osx I set the gateway as 192.168.2.100(and I tried 192.168.2.1 too), but that doesn't seem to work. I'm quite confused, I tried many different configurations but they don't seem to work. In osx the network card is detected and listed under 'network configurations'. Setting the default gateway in linux as PPC_HOST_IP is useless, because that would disable internet even for my linux pc...

Does anyone know how to solve this?
jmm
Space Cadet
Posts: 2
Joined: Sun May 23, 2004 2:31 am

Enabling network behind a router?

Post by jmm »

I think you just have to set up your linux box as a gateway for your PPC.

Just do not to put the PPC box on the same network as your linux box,

for example, my ifppc_up is built this way :

PPC_NETMASK="255.255.255.248"
PPC_HOST_IP="10.1.1.1"
PPC_CLIENT_IP="10.1.1.2"

And in PPC, the gateway is 10.1.1.1

And it works like a charm...

This exact set up should work perfectly in your configuration, except if you have some 10.1.1.0/29 machines to access on your network....


JMM
Locked