On 2006.04.27 21:45, Adam Bower wrote:
On Thu, Apr 27, 2006 at 01:14:09PM +0000, Barry Samuels wrote:
To say that I'm not a network expert would be the understatement of
the year so could I have some suggestions please regarding what I should do to get this working?
The simplest suggestion would be to connect everything on the same network, what is your reason for not doing this?
Because there is physically no room on the eth0 network to connect anything else and my main machine has a spare network interface socket - eth1 so I have connected the printer directly to that.
The reason that B can't see the printer on the network attached to A is that it doesn't know that the network is there, you will need to tell it (at this point I still suggest you put everything on the same network)
Otherwise you will need to setup machine A to do ip fowarding (from memory the magic is echo 1 > /proc/sys/net/ip_forward)
That is set to 1.
Then you will need to add a static route to machine B so it knows how to find the printer (i'm assuming linux so something like...)
route add 192.168.2.0 gw 192.168.1.blah (ip address of the other machine)
should do it.
Yes I managed to work that out but I still cannot ping the printer so I've assumed I must be doing something wrong or there is something obvious I haven't though of doing.
Thanks Adam