我有 TP-LINK 路由器,可以透過光纖連接網路。路由器連接到伺服器(Microsoft Windows Server 2008R2)。我的伺服器有 2 個乙太網路卡,第一個是從路由器取得網際網路(WAN)。第二個是將網際網路指派給其他電腦(LAN)。我正在使用 Windows Server R2 管理員的路由和遠端控制來指派網際網路。所有 PC 上的互聯網都運作良好。但我想要的是使用區域網路用戶的印表機之一。用戶PC的IP為192.168.1.85。我的伺服器IP是192.168.1.2。路由器IP是192.168.1.1。當我 ping 192.168.1.85 時,主機無法存取。當我 ping 192.168.1.1 時,一切正常。所有電腦都在工作小組中。可能是什麼問題。請給我指示方向。提前致謝。
編輯 ipconfig /所有 Windows IP 配置
Host Name . . . . . . . . . . . . : KURBONOV1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8057 PCI-E Gigabit Ether
net Controller
Physical Address. . . . . . . . . : 00-1D-BA-EF-47-7B
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Physical Address. . . . . . . . . : 00-22-FB-69-27-E6
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.1.123(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 91.200.216.2
91.200.216.7
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter Local Area Connection* 6:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 7:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:2046:2217:3f57:fe84(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::2046:2217:3f57:fe84%12(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{CA5BAAC0-79D3-4DBA-838D-481359920
C71}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 13:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 20:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{C1121A84-3E64-4076-93C4-3FECC1337
64B}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 21:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 6TO4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 22:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 23:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 24:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 26:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 27:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 28:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 30:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 31:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 32:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 33:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 34:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 35:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 36:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{1C73FE11-C907-4519-B95C-B17DCF400
1E2}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 38:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 6TO4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
路線列印
Interface List
10 ...00 1d ba ef 47 7b ...... Marvell Yukon 88E8057 PCI-E Gigabit Ethernet Con
troller
11 ...00 22 fb 69 27 e6 ...... Intel(R) WiFi Link 5100 AGN
1 ........................... Software Loopback Interface 1
20 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
12 ...02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
31 ...00 00 00 00 00 00 00 e0 isatap.{CA5BAAC0-79D3-4DBA-838D-481359920C71}
24 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
29 ...00 00 00 00 00 00 00 e0 isatap.{C1121A84-3E64-4076-93C4-3FECC133764B}
25 ...00 00 00 00 00 00 00 e0 6TO4 Adapter
26 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
27 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
28 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
32 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
18 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
33 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
35 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
36 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
37 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
38 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
39 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
40 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
41 ...00 00 00 00 00 00 00 e0 isatap.{1C73FE11-C907-4519-B95C-B17DCF4001E2}
42 ...00 00 00 00 00 00 00 e0 6TO4 Adapter
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.123 281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.123 281
192.168.1.123 255.255.255.255 On-link 192.168.1.123 281
192.168.1.255 255.255.255.255 On-link 192.168.1.123 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.123 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.123 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.1.1 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
12 38 ::/0 On-link
1 306 ::1/128 On-link
12 38 2001::/32 On-link
12 286 2001:0:5ef5:79fd:2046:2217:3f57:fe84/128
On-link
12 286 fe80::/64 On-link
12 286 fe80::2046:2217:3f57:fe84/128
On-link
1 306 ff00::/8 On-link
12 286 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
答案1
根據我透過評論從您那裡得到的故事的其餘部分,您將需要在伺服器上為您的第二個適配器所在的 192.168.1.0/24 LAN 網路新增靜態路由。此路由將告知發送至 192.168.1.0/24 主機的流量使用「LAN」適配器,並將 Internet(公用 IP 分配的適配器)留給其他適配器。您可以開啟命令提示字元來新增路由。
您的路線將類似於:route add 192.168.1.0 mask 255.255.255.0 192.168.1.1(這只是一個盡可能接近您的環境的示例,但請閱讀下面鏈接的指南以更好地理解。您將更多可能需要根據您的內部網關調整用於這些路由的IP。
這是一個簡單的指南用於設定和理解靜態路由。