שימוש בשתי רשתות במקביל
-
שלום וברכה
אני גולש באינטרנט באמצעות נטסטיק ובמקביל משתמש ברשת מקומית (ללא אינטרנט) לצרכי הדפסה וגישה לקבצים ברשת הבעיה שהמחשב לפעמים מחליט להעביר את הגלישה לרשת המקומית מה שכמובן חוסם את הגלישה וכן להפך
האם נתן להגדיר שהגישה לרשת המקומית תעשה רק דרך הוייפי והגישה לאינטרנט רק דרך הנטסטיק
תודה רבה -
כן. בשביל לכתוב לך בדיוק מה לעשות תיכנס לשורת פקודה (תקליד CMD בתפריט ההתחלה), שם תכתוב:
ipconfig |clip
תחזור לפה ותעשה הדבק בהודעה.
-
השאלה היתה האם ניתן לחבר את המחשב לשתי רשתות בו זמנית פנימית לצורך הדפסה וחיצונית לצורך גלישה?
-
@dovid אמר בשימוש בשתי רשתות במקביל:
כן.
-
שכחתי לציין שאת הפקודה יש לכתוב כששתי הרשתות מחוברות.
-
@dovid אמר בשימוש בשתי רשתות במקביל:
ipconfig |clip
Microsoft Windows [Version 10.0.17134.407] (c) 2018 Microsoft Corporation. כל הזכויות שמורות. C:\Users\אבי> C:\Users\אבי>Windows IP Configuration 'Windows' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי> C:\Users\אבי>Wireless LAN adapter ??חיבור מקומי* 9: 'Wireless' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי> Media State . . . . . . . . . . . : Media disconnected 'Media' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Connection-specific DNS Suffix . : 'Connection-specific' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי>Wireless LAN adapter ??חיבור מקומי* 13: 'Wireless' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי> Media State . . . . . . . . . . . : Media disconnected 'Media' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Connection-specific DNS Suffix . : 'Connection-specific' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי>Wireless LAN adapter ??Wi-Fi: 'Wireless' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי> Connection-specific DNS Suffix . : 'Connection-specific' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Link-local IPv6 Address . . . . . : fe80::79d2:1ae2:6270:128e%17 'Link-local' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> IPv4 Address. . . . . . . . . . . : 192.168.0.101 'IPv4' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Subnet Mask . . . . . . . . . . . : 255.255.255.0 'Subnet' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Default Gateway . . . . . . . . . : 192.168.0.1 'Default' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי>Ethernet adapter ??חיבור רשת של Bluetooth: 'Ethernet' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי> Media State . . . . . . . . . . . : Media disconnected 'Media' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Connection-specific DNS Suffix . : 'Connection-specific' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי>Ethernet adapter ??Ethernet 2: 'Ethernet' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> C:\Users\אבי> Connection-specific DNS Suffix . : 'Connection-specific' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Link-local IPv6 Address . . . . . : fe80::407f:def0:e17:a73b%14 'Link-local' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> IPv4 Address. . . . . . . . . . . : 192.168.8.100 'IPv4' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Subnet Mask . . . . . . . . . . . : 255.255.255.0 'Subnet' is not recognized as an internal or external command, operable program or batch file. C:\Users\אבי> Default Gateway . . . . . . . . . : 192.168.8.1 'Default' is not recognized as an internal or external command, operable program or batch file.
-
הפלט לא טוב, תעשה שוב. בלי להוסיף ולגרוע:
תכתובipconfig |clip
בשורת פקודה, אנטר, ותלחץ על הדבק פה בהודעה.
-
פוסט זה נמחק! -
פוסט זה נמחק! -
@dovid עשיתי העתק הדבק ולא כתבתי משמעותי??
-
ההדבקה אתה אמור לעשות פה לא להדביק בחלון cmd
@dovid אמר בשימוש בשתי רשתות במקביל:
בשורת פקודה, אנטר, ותלחץ על הדבק פה בהודעה.
-
@dovid אולי בכ"ז תוכל לעזור??
-
לא עשית מה שאמרתי. לא ביקשתי לעשות העתק. רק לעשות אנטר ואז לבוא לפה להדביק, בלי להעתיק!
-
-
@dovid כיון שכותב הפוסט לא כתב עדין את שתשובתו אני מנצל זאת להעלות את התוצאה שלי
כיון שיש לי את אותו בעיהWindows IP Configuration Ethernet adapter Local Area Connection 2: Connection-specific DNS Suffix . : hi.link Link-local IPv6 Address . . . . . : fe80::54f2:8b25:afa1:edbd%16 IPv4 Address. . . . . . . . . . . : 192.168.8.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.8.1 Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Dlink Link-local IPv6 Address . . . . . : fe80::7006:6514:cbc0:e509%11 IPv4 Address. . . . . . . . . . . : 192.168.0.93 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Tunnel adapter isatap.Dlink: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Dlink Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Tunnel adapter isatap.hi.link: Connection-specific DNS Suffix . : hi.link Link-local IPv6 Address . . . . . : fe80::5efe:192.168.8.100%41 Default Gateway . . . . . . . . . :
בסליחה מבעל הפוסט על התפרצותי לשאלתו
נ.ב. רשת מס' 1 היא הסטיק ורשת מס' 2 היא הרשת הפנימית -
לכאורה הפקודה הוא:netsh interface ipv4 set address name="Local Area Connection" gateway=none
(להריץ כמנהל)עריכה: זה לא עובד עיין כאן
-
@yossiz אמר בשימוש בשתי רשתות במקביל:
netsh interface ipv4 set address name="Local Area Connection" gateway=none
עובד
תודה רבה -
Windows IP Configuration Wireless LAN adapter ??חיבור מקומי* 9: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter ??חיבור מקומי* 12: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter ??Wi-Fi: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::79d2:1ae2:6270:128e%18 IPv4 Address. . . . . . . . . . . : 192.168.0.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Ethernet adapter ??חיבור רשת של Bluetooth: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter ??Ethernet 2: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::407f:def0:e17:a73b%15 IPv4 Address. . . . . . . . . . . : 192.168.8.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.8.1
-
קופץ גם כן.....
Windows IP Configuration Ethernet adapter Ethernet: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Local Area Connection* 3: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Local Area Connection* 4: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wi-Fi: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::60b7:551b:c527:322%12 IPv4 Address. . . . . . . . . . . : 192.168.0.147 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Ethernet adapter Bluetooth Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . :
תודה מראש
-
-
Windows IP Configuration Ethernet adapter Ethernet: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Local Area Connection* 3: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Local Area Connection* 4: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wi-Fi: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::60b7:551b:c527:322%12 IPv4 Address. . . . . . . . . . . : 192.168.0.147 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Ethernet adapter Bluetooth Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . :
-
@dovid הרשת המקומית וייפי
והחיבור לאינטרנט נטסטיק -
@avi12 אמר בשימוש בשתי רשתות במקביל:
תנסה את הפתרון המצויין של @yossiz, תדביק את זה בשורת הפקודה:
netsh interface ipv4 set address name="??Wi-Fi" gateway=none
-
@dovid אמר בשימוש בשתי רשתות במקביל:
netsh interface ipv4 set address name="??Wi-Fi" gateway=none
זה התגובה שהתקבלה
C:\Users\אבי>netsh interface ipv4 set address name="??Wi-Fi" gateway=none
The filename, directory name, or volume label syntax is incorrect. -
@נרו-יאיר לא חיברת את שתי הרשתות בעת ביצוע הפקודה.
ואל תגיב פה אלא פתח אשכול חדש, זה בחינם. -
@AVI12 תלחץ על מקש הWindows במקלדת עם R, ובתיבה הנפתחת הדבק את זה ncpa.cpl, והעלה צילום מסך של החלון שנפתח.
-
-
נסה את הקוד דלעיל אבל ללא שתי הסימני שאלה.
-
@dovid שניתי את השם של המתאם ונתתי את הפקודה לפי השם שכתבתי
ב"ה עובד
תודה רבה על העזרה
(נראה לי שיותר פשוט למצוא את השם מהחלון של חיבורי רשת) -
@avi12 אמר בשימוש בשתי רשתות במקביל:
@dovid שניתי את השם של המתאם ונתתי את הפקודה לפי השם שכתבתי
ב"ה עובד
תודה רבה על העזרה
(נראה לי שיותר פשוט למצוא את השם מהחלון של חיבורי רשת)@dovid האמת שאחרי כמה ימים של ניסוי לא עובד חלק אעלה את התוצאה של הפקודה
C:\Windows\system32>netsh interface ipv4 set address name="Wi-Fi" gateway=none
The syntax supplied for this command is not valid. Check help for the correct syntax.Usage: set address [name=]<string>
[[source=]dhcp|static]
[[address=]<IPv4 address>[/<integer>] [[mask=]<IPv4 mask>]
[[gateway=]<IPv4 address>|none [gwmetric=]<integer>]
[[type=]unicast|anycast]
[[subinterface=]<string>]
[[store=]active|persistent]Parameters:
Tag Value name - Interface name or index. source - One of the following values: dhcp: Enables DHCP for configuring IP addresses for the specified interface. static: Disables DHCP for configuring IP addresses for the specified interface. This value must be specified if an address or a gateway is being configured. address - IPv4 address to add or modify, optionally followed by the subnet prefix length. mask - The IP subnet mask for the specified IP address. gateway - One of the following values: <IPv4 address>: A specific default gateway for the static IP address you are setting. none: No default gateways are set. This is the default. gwmetric - The metric for the default gateway. This field should be set only if gateway is specified. type - One of the following values: unicast: Marks the address as a unicast address. This is the default. anycast: Marks the address as an anycast address. subinterface - LUID of the subinterface on which the default gateway exists. This parameter is only needed on interfaces with multiple subinterfaces. store - One of the following values: active: Set only lasts until next boot. persistent: Set is persistent. This is the default.
Remarks: Used to enable or disable DHCP for IP address configuration.
Also removes any previous static IP addresses and default gateways,
and can add a new static IP address and default gateway.Examples:
set address name="Wired Ethernet Connection" source=dhcp set address "Wired Ethernet Connection" static 10.0.0.9 255.0.0.0 10.0.0.1 1