cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
484
Views
0
Helpful
5
Replies

Internet Printing

I know this will be easy for most of you to answer.

I need to be able to print to a LAN IP printer from a WAN service that prints to a certain port. The lan print server is a HP JetDirect.

Ex.

External WAN Address 216.x.x.x  Port 9156 prints to 192.168.200.6 printer IP address. JetDirect is at all default except for the IP information.

Currently my ISP has it setup like this.  NAT: 216.x.x.x 9156 to 192.168.200.6 9156. The wan service cannot print. Is this because of the 192.168.200.6 9156, since the JetDirect is at its default, which I think is port 9100.

What should the translation command look like. Can it be NAT: 216.x.x.x 9156 to 192.168.200.6 with no internal port defined?

Thanks in advance.

1 Accepted Solution

Accepted Solutions

I think this won't work either you specify ports on both( static PAT) or none on both (static NAT) but you can't mix AFAIK.

Regards.

Alain.

Don't forget to rate helpful posts.

View solution in original post

5 Replies 5

cadet alain
VIP Alumni
VIP Alumni

Hi,

look out in the doc what is the default port and then change your static PAT with the correct port inside.

Regards.

Alain.

Don't forget to rate helpful posts.

So it would have to be like this?

216.x.x.x 9156 to 192.168.200.6 9100, since 9100 is the default port for JetDirects.

Yep but the other way around: the private side first then the public side

ip nat inside source static tcp 192.168.200.6 9100 216.x.x.x 9156

Regards.

Alain.

Don't forget to rate helpful posts.

What would happen if I did this.

ip nat inside source static tcp 192.168.200.6  216.x.x.x 9156

Did not define an inside port.

I think this won't work either you specify ports on both( static PAT) or none on both (static NAT) but you can't mix AFAIK.

Regards.

Alain.

Don't forget to rate helpful posts.
Review Cisco Networking for a $25 gift card