On Fri, Apr 18, 2008 at 04:31:34PM +0100, Chris G wrote:
What's the easiest way to 'talk' (i.e. connect) to a device that's set up for a different subnet from the one that your local subnet is using?
This is a common recurring problem in two situations:-
You have a subnet that's *not* 192.168.1.x and you want to use a router (or whatever) that comes with its default address set to 192.168.1.1. You have set a router (or something) to a different subnet for some reason and want to 'get it back'.
ifconfig eth0:tmp 192.168.1.2 <do stuff to 192.168.1.1> ifconfig eth0:tmp down
J.