로컬 네트워크 IP 주소를 통해 Windows 공유에 연결할 수 없지만 로컬 호스트를 통해 연결할 수 있습니다.

유진 D. 구벤 코프

공유를 노출하는 바로 그 컴퓨터에서도 내 로컬 네트워크 주소를 통해 Windows 공유 폴더에 액세스 할 수없는 이유를 파악하는 데 약간 갇혀 있습니다.

\\localhost모든 작업을 통해 공유 폴더를 보려고하면 파일을 볼 수 있습니다.

localhost-확인

그러나 로컬 네트워크 주소 (192.168.1.2)를 통해 동일한 컴퓨터에서 연결하려고하면 폴더 목록이 표시되지만 열지 못합니다.

여기에 이미지 설명 입력

192.168.1.2문제없이 내 주소 ( )를 ping 할 수 있습니다. 방화벽이 꺼져 있습니다. 바이러스 백신이 없습니다. "파일 및 프린터 공유"와 "네트워크 검색"을 모두 켰습니다.

Microsoft Windows [Version 10.0.15063]

내 ipconfig의 모습은 의심스럽지 않습니다.

C:\Users\nrj>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : EUGENE-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter local:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : <hidden>
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::c0cf:f044:74d2:c5ec%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, August 12, 2017 14:57:30
   Lease Expires . . . . . . . . . . : Sunday, August 13, 2017 14:57:30
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 190858699
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-9B-1E-0E-00-1F-C6-78-EC-28
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Disabled

445 포트 용 Netstat :

C:\Users\nrj>netstat -a | findstr /R /C:.*445.*
  TCP    0.0.0.0:445            EUGENE-PC:0            LISTENING
  TCP    [::]:445               EUGENE-PC:0            LISTENING

이것을 알아 내기 위해 또 무엇을 확인할 수 있습니까?

UPD . 네트워크 어댑터 속성은 "파일 및 프린터 공유"가 활성화되어 있음을 보여줍니다.

네트워크 어댑터 속성

다시 한 번 명확하게 말하면 192.168.1.2내 파일 공유에 액세스하려고하는데 작동하지 않는 내 컴퓨터의 주소입니다. 다음은 경로 테이블입니다.

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.2     35
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
      192.168.1.0    255.255.255.0         On-link       192.168.1.2    291
      192.168.1.2  255.255.255.255         On-link       192.168.1.2    291 <- see here
    192.168.1.255  255.255.255.255         On-link       192.168.1.2    291
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link       192.168.1.2    291
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link       192.168.1.2    291

UPD 2 . netcfg출력 : https://pastebin.com/zRa7wi1t .

Reinstate Monica라고합니다.

When you posted this question 6 months ago, in my efforts to reproduce your problem I disabled then later re-enabled NetBIOS over TCP/IP in the Advanced TCP/IP Settings of my network adapter. A few weeks later I discovered I was having the same problem described in the OP (except, I did it to myself). I ended up fixing the problem after hours of research which culminated in painstakingly comparing the Registries of a working computer with my non-working machine.

Here's the solution I discovered. (You might want to grab a beer first...)

Step A: Get the GUID of your network adapter

You will need your network adapter's GUID. It looks something like this:

{DED7C856-1234-5678-BA7E-FF9BF300F579}

Here are two ways to get it:

Via PowerShell:

  1. Run this:

    Get-NetAdapter | fl Name,Status,InterfaceDescription,Status,MacAddress,LinkSpeed,InterfaceGuid
    
  2. Make note of the adapter's InterfaceGuid value.

Via Command Prompt (source):

  1. If necessary, use the Services MMC snap-in (run services.msc) to start the Wired AutoConfig service (for wired network interfaces) or WLAN AutoConfig service (for wireless interfaces).

  2. Run the command corresponding to your type of interface:

    Wired:       netsh lan show interfaces
    Wireless:  netsh wlan show interfaces

  3. Make note of the GUID value (it will be displayed without the surrounding braces, which you need to add).

Step B: Edit the Registry

  1. Run regedit to open the Registry Editor.

  2. Navigate to the following key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Linkage

  3. For each of the three values in the table below (Bind, Export, and Route), double-click the value to open the Value data editor.

  4. Inspect the Value data for the strings shown in the Data column of the table below. When the table shows {GUID} replace that with the actual GUID of your network adapter, including the surrounding braces. For example, if your adapter's GUID is {DED7C856-1234-5678-BA7E-FF9BF300F579} according to the table below the Bind value in the Registry should have the following two entries:

    \Device\Tcpip_{DED7C856-1234-5678-BA7E-FF9BF300F579}
    \Device\Tcpip6_{DED7C856-1234-5678-BA7E-FF9BF300F579}
    
  5. Add any Data values that are missing as new lines at the end of the text box. Do this for each value shown in the table.

Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Linkage

+--------+-----------------------------+
| Value  | Data                        |
+--------+-----------------------------+
| Bind   | \Device\Tcpip_{GUID}        |
|        | \Device\Tcpip6_{GUID}       |
+--------+-----------------------------+
| Export | \Device\NetBt_Tcpip_{GUID}  |
|        | \Device\NetBt_Tcpip6_{GUID} |
+--------+-----------------------------+
| Route  | "Tcpip" "{GUID}"            |
|        | "Tcpip6" "{GUID}"           |
+--------+-----------------------------+
  1. Repeat steps 2 through 5 for each of the following tables (for this following table, you'll use the data table for both keys shown):
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Linkage
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Linkage

+-------+-----------------------------+
| Value | Data                        |
+-------+-----------------------------+
| Bind  | \Device\Tcpip_{GUID}        |
|       | \Device\Tcpip6_{GUID}       |
|       | \Device\NetBT_Tcpip_{GUID}  |
|       | \Device\NetBT_Tcpip6_{GUID} |
+-------+-----------------------------+
| Route | "Tcpip" "{GUID}"            |
|       | "Tcpip6" "{GUID}"           |
|       | "NetBT" "Tcpip" "{GUID}"    |
|       | "NetBT" "Tcpip6" "{GUID}"   |
+-------+-----------------------------+
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Linkage

+--------+------------------------------------------+
| Value  | Data                                     |
+--------+------------------------------------------+
| Export | \Device\LanmanServer_Tcpip_{GUID}        |
|        | \Device\LanmanServer_Tcpip6_{GUID}       |
|        | \Device\LanmanServer_NetBT_Tcpip_{GUID}  |
|        | \Device\LanmanServer_NetBT_Tcpip6_{GUID} |
+--------+------------------------------------------+
키 : HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanWorkstation \ Linkage 

+ -------- + --------------------------- -------------------- + 
| 가치 | 데이터 | 
+ -------- + ---------------------------------------- ------- + 
| 수출 | \ Device \ LanmanWorkstation_Tcpip_ {GUID} | 
| | \ Device \ LanmanWorkstation_Tcpip6_ {GUID} | 
| | \ Device \ LanmanWorkstation_NetBT_Tcpip_ {GUID} | 
| | \ Device \ LanmanWorkstation_NetBT_Tcpip6_ {GUID} | 
+ -------- + ---------------------------------------- ------- +

C 단계 : 재부팅

변경 사항을 적용하려면 컴퓨터를 재부팅하십시오.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Related 관련 기사

뜨겁다태그

보관