On Mon, Sep 26, 2011 at 08:44:28AM +0100, Wayne Stallwood wrote:
On 26/09/11 07:14, Chris G wrote:
The WiFi gives my PC a 192.168.1.x address. So I can set up my lan to use, say, 192.168.13.xxx. The printer should 'just work' as all it has to do is communicate with other devices on the LAN. I can tell the VOIP box that its default route is my PC (the 192.168.13.x address) and it should then be able to see the outside world shouldn't it?
Yes you can make that work, you'd have to turn on IP Masquerade on the PC so that it could route traffic between the subnets and then perhaps run local dhcp/dns and of course set up iptables as well.
I'm playing with it at the moment, rather unsuccessfully! :-)
The problem is that I can't get the wired LAN connection up without it taking over all the routing settings for the WiFi. I've tried setting the connection to 'Manual' in the network manager but it won't let me save when I do that. I'll persever.
Then the only disadvantage you have is that other devices on the network such as the VOIP box can only see the internet when the PC is powered up. I know from friends boats that shore power can be expensive at some moorings/marina's so maybe this is a problem. Although maybe you are on unmetered shorepower somewhere and don't care :)
Shore power is limited but unmetered so running PCs etc. isn't an issue. I even have a little old eeePc that I could dedicate to the task once I have worked out how to do it. Then the configuration can just live in the eeePc and not affect anything else.