Re: [Dorset] networking problem - can anyone help ?

2010-05-20 Thread Tim Allen
Hi Peter

On 20/05/10 07:50, Peter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I have a Draytec router connected to my ISP  : ip range 192.168.1.x
 Attached internally ie Lan, is a Linksys Wireless router - which reports that
 its IP address is 192.168.1.10
 
 When I connect any machine using wireless the IP address is 192.168.2.x
 
 So I have bought an HP wireless printer:
 Its assigned IP: is in the 192.168.2.x range
 
 Now if I use a computer connected via wireless - I can see this printer and 
 use it.
 BUT for the Lan machines I cannot - they are in range 192.168.1.x
 
 I have tried setting a route on the Lan machine -
 route add 192.168.2.x  gw 192.168.1.10
 
 BUT it does not appear
 
 So what have I missed here ?
 
 
 And finally - if I do get the route to work - what happens if one of the PCs
 gets moved from the Lan to Wireless or the reverse ?
 Will it still work ?


Can you not just change the printer to a fixed 192.168.1.x ip address?

Serve up dhcp (192.168.1.x block) from the Draytek for client PC's, away 
from your fixed ip range. This will serve out ip addresses for lan and 
wireless (through the Linksys) clients.

Linksys fixed 192.168.1.x ip address, DHCP server off.


Cheers

Tim



-- 
Next meeting: C4L and Bournemouth, Wednesday 2010-06-02 19:00
http://dorset.lug.org.uk/ http://www.linkedin.com/groups?gid=2645413
   Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset
   List info: https://mailman.lug.org.uk/mailman/listinfo/dorset


Re: [Dorset] networking problem - can anyone help ?

2010-05-20 Thread Peter Merchant
On Thu, 2010-05-20 at 07:50 +0100, Peter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I have a Draytec router connected to my ISP  : ip range 192.168.1.x
 Attached internally ie Lan, is a Linksys Wireless router - which reports that
 its IP address is 192.168.1.10
 
 When I connect any machine using wireless the IP address is 192.168.2.x
 
 So I have bought an HP wireless printer:
 Its assigned IP: is in the 192.168.2.x range
 
 Now if I use a computer connected via wireless - I can see this printer and 
 use it.
 BUT for the Lan machines I cannot - they are in range 192.168.1.x
 
 I have tried setting a route on the Lan machine -
 route add 192.168.2.x  gw 192.168.1.10
 
 BUT it does not appear
 
 So what have I missed here ?
 
 
 And finally - if I do get the route to work - what happens if one of the PCs
 gets moved from the Lan to Wireless or the reverse ?
 Will it still work ?
 
 thanks
 Peter Linehan
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkv027IACgkQ435jXaRMus6ylwCguedB7KSeUmf9eRtlpJMoD0SV
 ES8An34ZEBo1ZN1ke5Lc+L4mJWj/R0UU
 =Gu/z
 -END PGP SIGNATURE-
 -- 
 Next meeting: C4L and Bournemouth, Wednesday 2010-06-02 19:00
 http://dorset.lug.org.uk/ http://www.linkedin.com/groups?gid=2645413
Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset
List info: https://mailman.lug.org.uk/mailman/listinfo/dorset

1. Can you ping the printer from the wired Host? 

2. Can you set the default gateway on the Draytek-to-linksys port to the
IP address of the linksys port 192.168.1.10 ( Which should be a fixed IP
address, not DHCP obtained) and use the port on the linksys that can be
set to the default port for the printer-- Forget it - I forgot that it
was wireless. 

Maybe the first half of 2 will work, but then I would be concerned that
you lose all connection with the outside world.

Peter M. 


-- 
Next meeting: C4L and Bournemouth, Wednesday 2010-06-02 19:00
http://dorset.lug.org.uk/ http://www.linkedin.com/groups?gid=2645413
   Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset
   List info: https://mailman.lug.org.uk/mailman/listinfo/dorset


Re: [Dorset] networking problem - can anyone help ?

2010-05-20 Thread David Wilkinson
On 20/05/2010 07:50, Peter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I have a Draytec router connected to my ISP  : ip range 192.168.1.x
 Attached internally ie Lan, is a Linksys Wireless router - which reports that
 its IP address is 192.168.1.10

 When I connect any machine using wireless the IP address is 192.168.2.x

 So I have bought an HP wireless printer:
 Its assigned IP: is in the 192.168.2.x range

 Now if I use a computer connected via wireless - I can see this printer and 
 use it.
 BUT for the Lan machines I cannot - they are in range 192.168.1.x

 I have tried setting a route on the Lan machine -
 route add 192.168.2.x  gw 192.168.1.10

 BUT it does not appear

 So what have I missed here ?


When you say does not appear, do you mean in some sort of automated 
setup tool?, if so it wont work as I believe they work by sending out 
broadcast packets and seeing if the printer responds, however the 
broadcast packet will not transverse IP ranges (broadcast domains).

Are you able to ping the printer or get to the printers web panel if it 
has one?  if then the current setup isn't working and you be able to 
print even if you put the printers IP address in when setting up the 
printer on your machine.

You might be able to add static routes on the routers instead of the 
client machines to route between the 2 IP ranges. then this mean it 
wouldn't matter if the machine moved from wireless to lan as it should 
still be able to get to the printer

The best solution would be to disable DCHP on the linksys router and 
turn in to just an access point (I think you might also have make it act 
as bridge, I am not sure how this would be done on the linksys wireless 
router, but we have done it at work with some netgear wireless routers) 
then the linksys router will just pass the wireless traffic on to the 
lan and from the lan back to the wireless clients without modifying it. 
It would be a Layer 2 device if you know your OSI model
this would then allow both the wireless machines and lan machines to be 
on the same range (192.168.1.1)
While I am not sure of how to do this on a linksys router if you let me 
know the model number I could have a look at the manual and see if I can 
work it out.





-- 
Next meeting: C4L and Bournemouth, Wednesday 2010-06-02 19:00
http://dorset.lug.org.uk/ http://www.linkedin.com/groups?gid=2645413
   Chat: http://www.mibbit.com/?server=irc.blitzed.orgchannel=%23dorset
   List info: https://mailman.lug.org.uk/mailman/listinfo/dorset