광섬유에서 인터넷을 얻는 TP-LINK 라우터가 있습니다. 라우터가 서버(Microsoft Windows Server 2008R2)에 연결되어 있습니다. 내 서버에는 2개의 이더넷 카드가 있는데, 첫 번째 카드는 라우터에서 인터넷(WAN)을 얻습니다. 두 번째는 인터넷을 다른 컴퓨터(LAN)에 배포하는 것입니다. 인터넷 배포를 위해 Windows Server R2 관리자의 라우팅 및 원격 제어를 사용하고 있습니다. 인터넷은 모든 PC에서 잘 작동합니다. 하지만 내가 원하는 것은 LAN 사용자의 프린터 중 하나를 사용하는 것입니다. 사용자 PC의 IP는 192.168.1.85입니다. 내 서버 IP는 192.168.1.2입니다. 라우터 IP는 192.168.1.1입니다. 192.168.1.85에 ping을 하면 호스트에 연결할 수 없습니다. 192.168.1.1로 ping을 하면 괜찮습니다. 모든 PC가 WORKGROUP에 있습니다. 무엇이 문제가 될 수 있습니까? 방향을 보여주세요. 미리 감사드립니다.
ipconfig /all 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" 어댑터를 사용하고 인터넷(공용 IP 할당 어댑터)을 다른 어댑터에 남겨두도록 지시합니다. 명령 프롬프트를 열어 경로를 추가할 수 있습니다.
경로는 다음과 같습니다: Route add 192.168.1.0 마스크 255.255.255.0 192.168.1.1 (이것은 가능한 한 환경에 최대한 가깝게 접근하기 위한 예일 뿐이지만 더 잘 이해하려면 아래 링크된 가이드를 읽으십시오. 내부 게이트웨이를 기반으로 이러한 경로에 사용되는 IP를 조정해야 할 가능성이 높습니다.)
여기 간단한 가이드가 있습니다정적 경로를 설정하고 이해하는 데 사용됩니다.