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?
Enabling network behind a router?
Moderators: Cat_7, Ronald P. Regensburg
Enabling network behind a router?
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
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