Wie verbinde ich Computer hinter einem Router mit einem Netzwerkdrucker?

Wie verbinde ich Computer hinter einem Router mit einem Netzwerkdrucker?

Allgemeine Frage:

Wie verbinde ich Computer mit einem IP-Drucker hinter einem Router?

Spezielle Frage:

Wie verbinde ich C-1 und C-2 mit PRI?

Was wo?

            [ISP]
              |
              | -> IPs:200.X.X.X/other configs:DC
              |
            [R-1]
              |
              | -> IPs:10.1.X.X locked by MAC,M:255.0.0.0,G:10.1.0.1
   |¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
   |                    |
 [PRI] IP:10.1.7.7    [R-2] IP: 10.1.0.1,MAC:A
                        |
                        | -> IPs:192.168.1.X,M:255.255.255.0,G:192.168.1.1
            |¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
            |                      |
          [C-1] IP:192.168.1.2   [C-2] IP:192.168.1.3,MAC:A

Glossary and details:
------------------------------------------------------------------------------------
- IP: IP.
- IPs: Some IP range.
- M: Mask.
- G: Gateway.
- MAC:A: A MAC address that I will not inform you :)
- DC: Don't care.

- ISP: Internet Service Provider (not so much details about it on that case).
- R-1: A real router or some concatenated so IP range bellow that block is 10.1.X.X
       and above is ISP. The provided IPs are provided by MAC. As all available
       addresses are in use, you must clone an existing one to join with a new
       device (and to disconnect the cloned one).
- PRI: An network printer (some people here call that IP printer).
- R-2: A TP-LINK TL-WR340G, mine wireless router (since my computer does not have
       ethernet input, it is my ethernet-wifi adapter :), admin access, MAC address
       cloned from C-2 (MAC:A). I've to configure 10.0.1.1 and 10.0.1.2 as DNS
       addresses, other wise I cannot connect C-1 and C-2 to Internet.
- C-1: My computer, a CCE XLE-425 (remember: no ethernet input), with Windows 7,
       admin access.
- C-2: another computer with better configs than mine, MAC:A, Windows XP.

Anforderungen:

Ich möchte drucken, auf das Internet zugreifen und die Dinge selbst erledigen (kein Bedarf, Netzwerkadministratoren in Schwarz anzurufen).

Achten Sie auf MAC-Klone und DNS-Informationen.

Antwort1

Erledigt!

Nachdem @MikePennington etwas über den „Port“ gesagt hatte, gelangte ich zu den R-2-Einstellungen. Dort konnte ich die Konfiguration der virtuellen Server sehen:

Konfiguration virtueller Server

In den Eigenschaften des Druckertreibers konnte ich auch sehen, dass der für die Netzwerkverbindung verwendete Port 9100 war:

Für die Netzwerkverbindung verwendeter Port

Es war also so einfach wie das Konfigurieren von Ports für Spieleserver auf Computern mit gerouteter Verbindung (hmmm ... warum bin ich nicht früher darauf gekommen?):

Configure R-2:
- for C-1:
    - service port: 9100
    - IP address: 192.168.1.2
    - Protocol: ALL
- for C-2:
    - service port: 9101
    - IP address: 192.168.1.3
    - Protocol: ALL

- Configure C-1:
    - none

- Configure C-2:
    - printer TCP/IP RAW port: 9101

- Reboot R-2 (I forget it on first time and did not see any result. In another try,
              I succeeded!)

verwandte Informationen