My proposed solution was to have a network cable between the Mac and one of the NICs in my Linux box (which is wireless enabled). Wiring this up wasn't a problem - the hard bit came when I needed to configure the system to route properly. Step by step here's what I did...
- Configure the Mac with an IP address, say 192.168.11.6
- Assign the NIC IP address in my Linux box to another address on the network, say 192.168.11.7
- Back on the Mac, set the router to point to the Linux NIC (192.168.11.7) and the netmask to 255.255.0.0. Set the gateway to your internet router gateway IP (ie 192.168.1.1)
- Set IP forwarding on the Linux box.
- Add an entry to your router table on the Linux box which will direct all packets targeted for the Mac to the NIC card to which the Mac is connected (netmask 255.255.255.255).
- Send all other IPs with address 192.168.11.x to your wirless NIC.
- Set the default Gateway to the internet router address (192.168.11.1).
- From the Mac you should now be able to ping your NICs on the Linux box but not 192.168.11.1 or anything outside.
- Finally, to solve this probem, use the ARP Proxy settings to make the Linux NICs forward messages from the Mac.