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 across subnets 1

Status
Not open for further replies.

winnipeg

Technical User
Aug 23, 2002
2
CA
I have 2 Netgear RT314 routers connected through a hub and the the hub to a DSL modem. Router A 192.168.1.1 and router B 192.168.2.1. Both submasks 255.255.255.0 How can I print to a printer connected to a computer on the other subnet.

Any help greatly appreciated.
 
it would be easy if the two subnets were connected before the routers, just use a subnet mask of 255.255.253.0 it will be more challenging if the only connection is after the routers. Why use two routers to talk to a single DSL modem? I tried to remain child-like, all I acheived was childish.
 
jimbopalmer; We have two IP addresses coming from the DSL modem and I need to separate the two nets. ( One is a teaching net, I don't want any students fooling around with my office machines.)
 
You need to have your router do what it is supposed to, route. If both subnets are defined on the router, and the router is the default route for both subnets, it should route the packets from one subnet to the other without issue.

Another option is to put a secondary address on one of your computers and set up IP forwarding on this machine. Then implement a static route on all other computers pointing to this computer as the gateway to the other network (sloppy but functional). The gateway simply receives the packet using the subnet mask that allows it to "hear" that subnet, and sends the packet back out with a source address that can be "heard" by the destination. It does double your network traffic for each packet that must travel between nets, but if you are switching your network, it won't be that bad.

If you are having trouble browsing for the computers on the other network, try putting in the printserver's IP address, rather than its name. If that works, then you just need to work out the DNS or WINS resolution.

pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top