Methods for printer sharing between different network segments

Source: Internet
Author: User

The following are some methods for sharing printers between different subnets (network segments:
First (experiment passed ):

This method allows two users in different subnets to share a printer. If possible, they can even share a printer over the Internet. 1. Set a firewall for the machine on which the printer is installed-except --> file and printer sharing (double-click) =, 445,137,138 change range --> "any computer" 2. Add method my computer enter // ip address of the machine associated with the printer in the address bar/printer sharing full name press enter to prompt installation. Example: // 192.168.0.8/hp5550

Second:

One organization has two local networks, one for internal office work and the other for Internet access. The two networks are connected through switches. Now, a network printer is connected to the Internet, can an intranet workstation share printers on the Internet?
A: Obviously, the two LAN networks are in different CIDR blocks. Therefore, we are not able to use our network neighbors on the Intranet workstation to directly access the Internet shared printer. However, considering that the two networks are still associated with each other through a vswitch on the physical connection, you can set the printer to network sharing based on the IPX/SPX protocol. When setting the sharing, you must first connect directly to obtain some technical parameters of the printer under the IPX/SPX protocol, for example, IPX address, IPX name, hardware address, and printer name (note that these parameters are not provided by every printer, the printer must support IPX/SPX network sharing.) Of course, you can also view these technical parameters through web browsing, log on to the printer server as the super administrator and enter a URL in the format of "http: // printer Server IP Address: Port Number" in the IE Address Bar, you can obtain the technical parameters under the IPX/SPX protocol. In the workstation where you want to install a network printer, click the "Add Printer" command to open the Network Printer Installation Wizard interface. When the screen prompts you to install a type of printer, you must select the "local printer" option and use LPT1 port as the default printing port. Then, go to the properties page of the local printer and find the "print to the following port" option, add a port and select "IPX/SPX printer" in the pop-up "protocol" box. Then, enter the collected IPX/SPX technical parameters. After completing the preceding settings, the workstation in the Intranet will automatically create a network printer icon, and then set the network printer to the default state, so that you can complete the sharing print between different network segments.

Third:

Assume that the internal lan has two subnets: "192.200.240. *" and "21.55.8 .*". Computers in the "21.55.8. *" subnet want to use printers in the "192.200.240. *" subnet. However, because the IP addresses are in different network segments, computers in the two network segments cannot share the printer.
So how to achieve cross-network shared printer? Assume that the computer IP address of the shared printer is "192.200.240.10", the name is lsswhp, and the name of the shared printer is HP. The IP address of the computer on which you want to use the printer in the "21.55.8. *" subnet is "21.55.8.10". The following two steps are performed on this computer (Windows2000.
Step 1: in Windows 2000, open the "command prompt" window and go to the "C:/winnt/system32/Drivers/etc/" directory. Enter "Edit hosts" to edit the hosts file, start another line at the end of the file, add "192.200.240.10 lsswhp", save and exit.
Step 2: Click Start> Settings> printer. In the printer window, double-click Add Printer ". In the "Add Printer wizard" window, click "Next. On the "local or network printer" selection page, select "Network Printer" and click "Next. In the "Find printer" window, click "Next. Enter the "Browse printer" window, enter "// lsswhp/HP" in the "Printer" column, and then click "Next". The Wizard will automatically install the printer driver. Then, on the "default printer" Page, select "yes ". On the "adding a printer in progress" page, click "finish" to share the printer across network segments.

Others:

Method 1: The ROs server uses two network cards to connect two local areas. One IP address is 192.168.0.1 and 192.168.0.0 is disconnected. The other IP address is 192.168.1.1 and 192.168.1.0 is disconnected.

Method 2: set two IP addresses for one NIC: 192.168.0.1: 192.168.1.1/IP addressadd address = 192.168.0.1 interface = lanadd address = 192.168.1.1 interface = lanros

Method 3: The Mask Length is set to 23, that is, 192.168.0.0/23 and 192.168.1.0/23 are disconnected from the same network.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.