JustAGuy51 :
Actually, you can print from different subnet, whether or not private IP's are used.
[. . .]
There are 2 parts for answer: network part and setting up printer part.
[. . .]
I hope my post saves countless hours of people time. Have fun!!!
Justaguy51,
Your post was very helpful and I wound up solving my issue (wanting to share a printer across two subnets) primarily based upon the information you provided. I wanted to post briefly on how I solved it because it might provide a quicker/better solution in some instances.
My gateway router, which is behind a cable modem set up in bridge mode, is a SonicWALL TZ 105. The reason for this specific setup is to provide an "always on" Site-to-Site IPSec VPN bridge between my home office (Interface X0) and my business main office while separating the home network (and all of the associated dirty devices). There are three interfaces configured: X0, which is the "Clean" LAN (wired only, and bridged by IPSec VPN to my main office), X1 (WAN), and X2 (Dirty LAN, the home network with WAPs configured).
The printer I have set up in my home office is a Lexmark CX410de, a very nice color printer. My wife wants to be able to scan/print/etc. and to use the http/https web interface.
The X0 interface is configured as 10.1.1.0; the X2 interface is configured as 10.1.2.0. The printer host IP address is 10.1.1.11.
The solution I came up with was to add two static routes between the printer host IP and X2 subnet, and between the X2 subnet and the printer host IP. In SonicWall OS, it is set up as follows:
Source: X2 Subnet
Dest: 10.1.1.11
Service: Any
Gateway: 0.0.0.0
Interface: X0
Metric: 1
Source: 10.1.1.11
Dest: X2 Subnet
Service: Any
Gateway: 0.0.0.0
Interface: X2
Metric: 1
Once the static routes were set up, I was able to ping the printer and access the web server of the printer by entering the IP address of the printer in the browser or ping. However, at this point it was impossible to "add" the printer as a device using any of the methods described in your post. The printer just would not "take" as I believe the response packets were being dropped, for the reasons you describe.
At this point, what I did was create a NAT Translation policy, as follows:
Source:
---Original: X2 Subnet
---Translated: Original
Destination:
---Original: 10.1.2.11 (a "virtual" IP address for the Lexmark CX410de )
---Translated: 10.1.1.11 (the actual IP address for the Lexmark CX410de )
Service:
---Original: Any
---Translated: Any
Interface:
---Inbound: Any
---Outbound: Any
Once this NAT policy was set up, I dumped all of the non-permanent ARP entries in the SonicWall TZ 105 cache.
From my laptop, which has Windows 8.1 installed, and which was connected to the "Dirty" X2 subnet, I then went to "Add Printer". To my surprise, the Lexmark appeared as an available printer which was "discovered" by Windows, with the virtual IP address of 10.1.2.11. My theory as to how Windows discovered the printer is by sniffing all IP addresses in the home subnet and when it hit 10.1.2.11, the SonicWall translated and sent the packet to the printer.
Setup from here was as if the printer was installed on the local subnet. Great! For my wife's computer, running Windows 7, it did not immediately autodiscover the printer but setup went fine by entering the "virtual" IP address as a Network printer.
Thanks for your post and I hope what I've posted here helps others as well!
scorpio0679