Home > Archive > CCNA > March 2003 > Printer on computer on different subnet ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Printer on computer on different subnet ?
Townsend

2003-03-18, 1:08 pm

I had two computers connected directly to each other sharing a printer. One was 98se and the other XP. Everything was working great. Now I connected two 2501 routers between them and finally have everyone able to ping everyone.
Here is the problem. Since they are now on different subnets they don't see each other and I am not able to use the printer from the other computer. How do I map this connection through the two routers?

Thanks in advance!
I find this forum to be full of knowlegable people.
Spides

2003-03-18, 4:15 pm

Not 100% on this but maybe the router isn't forwarding BOOTP requests.
darthfeces

2003-03-18, 9:37 pm

depends how you were previously printing
if it was printing via a broadcast medium
it won't work unless you're forwarding the broadcasts.
try creating a tcp/ip port and print over ip. network printing usually uses ip:9100
oh
is this a local or network printer ?
is it a shared one attached to one of the computers ? or does it have it's own ethernet ?
Townsend

2003-03-19, 7:18 am

Thanks for the replies!
In answer to your question, the printer is attached to one of the computers and is set to be shared.
davidbeecken

2003-03-19, 7:34 am

if you are using windows shareing, you need to use the ip-helper command and allow broadcasts to go through. If you setup the printer with an ip address(though you would need a print server for this, for the most part) you can just connect that way.
Townsend

2003-03-20, 8:05 am

Thanks again for replies. I'm still not having any luck. While the computers can ping each other they are on different subnets and therefor can not see each other for setting up the network printer that is attached to one of them. I'm sure in networks it is quite common to send print jobs to a printer on a different subnet. I just can't find how to do it. Any advice would be appreciated.
davidbeecken

2003-03-21, 10:15 am

you need to use the ip-helper command and enable broadcasts to go through the router
Townsend

2003-03-21, 10:21 am

davidbeecken,
Thank you for your help. Where would I find this ip-helper command?
Townsend

2003-03-21, 10:29 am

I have looked under config terminal and don't see any ip-helper. When set to config e0 I see something called ip helper-address. Could this be what you are refering to?
Nistis

2003-03-21, 10:44 am

Try setting up a WINS Server, and put static IP's with the WINS addy in the WINS part of the config. OH... but first, maybe you can check to see if your Internet Connection Firewall is enabled in your XP machine. If it is, it might just be that, so try disabling it.
davidbeecken

2003-03-21, 11:01 am

that should be it, you forward the boardcasts to the other network
darthfeces

2003-03-21, 7:59 pm

helper address is only designed to forward
specific broadcasts
see
http://routergod.com/trinity/
you could enable ip directed-broadcast
on the ethernet's
(which would be an awful practice)
can anyone say smurf ?
see ip forward-protocol
but you have to know what udp/port
windows shared printing uses ....
i don't
too lazy too look it up
any mcse 's know ?

you could also print over ip as i origially said. (best practice)

hhmmmmm
maybe even a gre tunnel or dlsw+ peer.

i hate bad design .......
sorry a feeble attempt at humor.....
Townsend

2003-03-22, 10:33 am

The ip helper didn't seem to work.

darthfeces,
Any ideas where I could find info on how to do this:
quote:
try creating a tcp/ip port and print over ip. network printing usually uses ip:9100

I've been searching and can't find how?
Thanks!
whytokayok

2003-03-25, 6:58 am

Are using IP addresses when you try to install your printer on the remote computer?

I have a couple 2501's setup in a frame-relay config and I can print across the simulated WAN. I don't believe netbios will cross a router. That's why you have to us IP addresses.
whytokayok

2003-03-25, 7:01 am

By the way, when you install the printer use the \\192.168.0.X format....
darronb

2003-03-25, 8:16 am

I think you need to set up a gateway on the PC you are printing from.

e.g.

PC1---->RouterA--------RouterB---->PC2-PRN
1.1.1.1- 1.1.1.2 1.1.2.1 1.1.2.2

On PC1 you will set a gateway up pointing to routerB (1.1.2.1)

Under win98 it is found in the proporties of network neighorhood, go to the properties of the TCP/IP and you will have a "Gateway"Tab

In the "New gateway" field put in the IP address of the router on the other subnet.

Hope this helps.
Townsend

2003-03-29, 8:45 am

Thanks whytokayok,
After taking your advice:
quote:
Are using IP addresses when you try to install your printer on the remote computer?
quote:
I have a couple 2501's setup in a frame-relay config and I can print across the simulated WAN. I don't believe netbios will cross a router. That's why you have to us IP addresses.


Now at least can see the data light come on, on the printer. So I believe I'm one step closer to solving the problem. It still wont print. I know the print driver is correct because all worked well before I inserted the two routers. Can you tell me more about how you did this:
quote:
I have a couple 2501's setup in a frame-relay config and I can print across the simulated WAN.


I've tried but must be doing something wrong because I lose conectivity.
Thanks All for the help!
pomerol82

2003-03-31, 2:09 am

You may edit the "lmhost" file of your M$ machine.

Just disband the extension "SAM" the original "lmhosts.sam" to "lmhosts" (inside windows's directory, you may check it out by issuing "c:\dir lmhosts.* /s" at DOS prompt. For W2K, it is located in c:\winnt\system32\DRIVERS\ETC)
and add this statement:-

ip_address computer_name

(by using c:\edit c:\<window_root>\lmhosts)

You may then use "NET USE" command to map the printer, e.g.

c:\net use lpt1 \\computer_name\printer_name

Wish it can help.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net