Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

General question:

How to connect computers to an IP printer behind a router?

Particular question:

How to connect C-1 and C-2 to PRI?

What? Where?

              | -> IPs:200.X.X.X/other configs:DC
              | -> IPs:10.1.X.X locked by MAC,M:,G:
   |                    |
 [PRI] IP:    [R-2] IP:,MAC:A
                        | -> IPs:192.168.1.X,M:,G:
            |                      |
          [C-1] IP:   [C-2] IP:,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 and 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.


I want to print, to access Internet and to do it myself (no need to call network admin men in black people).

Pay attention to MAC clones and DNS info.

share|improve this question
what tcp port do you want to use for the printer? – Mike Pennington May 31 '12 at 16:24
It's not clear from your description/diagram whether R-2 and C-2 have different MAC addresses or not. – LawrenceC May 31 '12 at 16:27
@MikePennington, you choose the port :) – kokbira May 31 '12 at 16:32
@ultrasawblade, they have equal MAC addresses. I called that address only MAC:A, but in real it is something like 11-22-33-44-55-66 :) – kokbira May 31 '12 at 16:35
up vote 0 down vote accepted


After @MikePennington said something about the "port", I got to R-2 settings. There, I could see Virtual Servers config:

Virtual Servers config

On printer driver properties, I could see also that the port used for network connection was 9100:

port used for network connection

So it was too easy as configuring ports for game servers on computers with routed connection (hmmm... why I do not thought it before?):

Configure R-2:
- for C-1:
    - service port: 9100
    - IP address:
    - Protocol: ALL
- for C-2:
    - service port: 9101
    - IP address:
    - 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!)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.