Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to other LAN

Status
Not open for further replies.

JULIORUIZ2600

Technical User
Jul 22, 2005
78
CA
Hi,

maybe someboday can help me,

we to LAN NETWORKS, one the lan connect to the internet throug a router that i assigned an ip address of the other LAN, this net work has printer that i would like to print from the other LAN,

the gateway of one is, like: 10.6.6.99 and other
gateway is : 192.168.1.1 how can i connect to the 10.6.6. to to be able to print?

thank you

 
You'll need a device (router, layer 3 switch, multi-homed computer) to route between the 2 networks.
 
Hi,

We have 2 networks, one gate way is: 192.168.1 and the other is: 10.6.187.99

there is hub in 192.168.1 and in the 10.6.187.99 connect to the through a router connected to our 192.168.1.1 gateway, how can i route both lans to communicate each other?
somebody told me to use route add command to access both networks, is that true?


Thank you
 
Yes it's connected to both

what happen the router from 10 go to switch that go to 10 sever and also go to our office router or hub.

from 10 i can ping 192.168.1.1
but from 192 i can not ping 10.6.187.99

Thank you for your help
 
we have two LAN NETWORKS, one the lan connect to the internet throug a router that i assigned an ip address of the other LAN, this net work has printer that i would like to print from the other LAN,

the gateway of one is, like: 10.6.6.99 and other
gateway is : 192.168.1.1 how can i connect to the 10.6.6. to to be able to print?
 
What do you have set up on the router? Ie...static routes or Dynamic?

What is the config on the router?


 
i set up static on the 192.168 and the 10.6 is dynamic,

thanks

 
You need to set a static route for the 192.168.1.x network on the 10. network's default gateway. That way packets from the 10. network will go to the 192.168.1 network instead of out to the Internet.


pansophic
 
Thank you,

How do you to set a static route for the 192.168.1.x network on the 10. network's default gateway?


do i have to go on the 10.x.x. router?

Thank you so much for your help
 
Yes, you need to go onto what ever device is the default route for the 10. network, probably the router. You said that its IP address is 10.6.187.99.

How you set the route depends on what kind of device it is. With a Windows machine you can just do "route add 192.168.1.0 mask 255.255.255.0 192.168.1.1" to add the static route, or you may want to add the "/p" option to the end to make it persistent.

If you can't figure out how to add a static route to your router, you can add a static route through DHCP (if you have a great deal of control over the DHCP server) or you can simply add a persistent route to each of the hosts on the 10. network.


pansophic
 
Hi,

I tried the following in one of terminal 10.x.x:

I typed,

route add 192.168.1.113 mask 255.255.255.0 192.168.1.1 /p

and i get the following message:

the route addition failed: the specified mask parameter is invalid. <Destination & Mask>!=Destination.

where 192.168.1.113 is my pc on the 192.168.1.1 gateway

thanks for your help

 
Try

route add 192.168.1.0 mask 255.255.255.0 192.168.1.1 /p

You are attempting to add a route to a specific host and providing a network sized netmask.

Alternately you could try

route add 192.168.1.113 mask 255.255.255.255 192.1681.1.1

to add a host only route. I did not add the '/p' because I don't think that you will want a persistent route to a single host.


pansophic
 
THANK YOU SO MUCH

I ADD THE ROUTE TO 192.198.1.1

NOW CAN I CONNECT FROM 192.168.1.1 GATEWAY TO 10.6.187.99 GATEWAY THROUGH PCANYWHERE?

OR CAN I MAP A DRIVE FROM 10.6.187.9 TERMINAL IN MY 192.168.1.113 TERMINAL?

THANKS
 
You should be able to use any application between the two subnets now, unless the gateway at 192.168.1.1 has a firewall that blocks access. Typically it is not necessary to firewall between subnets in your LAN, but it might be necessary if the two networks are different security domains.

Is you original problem resolved now?


pansophic
 
Yes it is, thanks so much

i guess you are right, i have norton internet security on the 192.168.1.1 gateway.

i guess i have to add the 10.6.187.99 and the ip's of terminals that i want to connect to on 10.x.x.

So, i can connect now to 10.x using pcanywhere, right?


Thanks again for your help
 
If you can ping a remote machine from the pcAnywhere client, then you should be able to remote control it as well. If you have trouble running pcAnywhere to a machine that you can ping, the first place that I would start looking is the 192.168.1.1 Gateway's firewall. You could disable the firewall long enough to run a test and verify that pcAnywhere can work. The firewall configuration I would have to leave up to people who know Norton.

Here is a link to let you know which ports to open on the firewall:


Good luck!


pansophic
 
Thanks for the last reply.

Sorry to bother you again,

i add the route 10.6.187.3 to 192.168.1.1 gateway and work
and also my ip 192.168.1.113 to 10.6.187.99 gateway (vice versa) and work too it shows in the routing table of both

but when i ping either 10.6.187.3 or 192.168.1.1 from each pc wont work, time out comes on

do you know why?

Thanks again
 
First, can you ping from each gateway to the end host? If not, there is probably something blocking the ping, like a firewall.

Next I would try to ping from each end to both gateways.

If all of that works, then I would try from end-point to end-point.

If you have firewalls on either gateway, it is possible that they are blocking ping. They may block ping for hosts that use them for access to the network, but not for themselves as well.


pansophic
 
Thank you

I disable the router firewall on 192.168.1.1 and also norton internet security add the gateway and ip's terminals so i won't block them.

I pinged the the gateway on each end and works.

what else could it be?

i know that on 192.168.1.1 there's not block cuase i disable both firewalls.

Thank you

by the way maybe the way i add the route it's not right,

This is what i did, to add the an ip's from 10.6.187.99 gateway to 192.168.1.1 gateway:

add route 10.6.187.3 mask 255.255.255.255 192.168.1.1

10.6.187.3 it's the terminal from 10.6.187.99 gateway

is this right?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top