
一般問題:
如何將電腦連接到路由器後面的IP印表機?
具體問題:
如何將C-1和C-2連結到PRI?
什麼?在哪裡?
[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.
要求:
我想列印,上網並自己做(不需要打電話給黑人網路管理員)。
注意 MAC 克隆和 DNS 資訊。
答案1
完畢!
在 @MikePennington 說了一些關於“端口”的事情之後,我進入了 R-2 設定。在那裡,我可以看到虛擬伺服器配置:
在印表機驅動程式屬性上,我還可以看到用於網路連接的連接埠是 9100:
因此,在具有路由連接的電腦上配置遊戲伺服器連接埠太簡單了(嗯......為什麼我以前沒有想到這一點?):
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!)