Board logo

標題: Windows Appication bind NIC/IP問題 [打印本頁]

作者: raywan    時間: 2021-4-21 12:28     標題: Windows Appication bind NIC/IP問題

我想請問下我部電腦有2個NIC, NIC1 IP:192.168.1.1~100    NIC2 IP:160.42.239.99 STATIC
有咩方法可以fix某一個 software 只會用NIC 2做連接,因為個application只會connect 去160.42.239.99 NIC,之後就timeout/error,會如把NIC 2 cable discount,就會馬上連到
上網找過一定要用application bind IP software,想請問仲有無其他方法去做到某app bind死一個NIC
作者: alanh999    時間: 2021-4-21 12:40

Not doable off-the-shelf at this moment.
作者: funfunhk    時間: 2021-4-21 13:05

好似這是os層面問題;而唔係軟件問題.
除非個軟件自己有埋管ip,connection功能.
作者: funfunhk    時間: 2021-4-21 13:14

一係google找找: 網絡卡的優先順序
看看合不合你心意.
作者: raywan    時間: 2021-4-21 19:53

一係google找找: 網絡卡的優先順序
看看合不合你心意.
funfunhk 發表於 2021-4-21 13:14



    microsoft technet都無找唔到solution,只有force BindIP software
作者: kuisa    時間: 2021-4-21 21:49

Hook socket....
作者: raywan    時間: 2021-4-22 09:04

Hook socket....
kuisa 發表於 2021-4-21 21:49


what is that? Can you tell me more ???
作者: Jip仔    時間: 2021-4-22 09:16

用個笨D嘅做法
首先要知APP會去邊度
NIC1做主力
SET條ROUTE比APP行NIC2
我曾經用過呢個方式
作者: kuisa    時間: 2021-4-22 18:57

Window use detour to bind socket to ip address.Need to Programming..If you not,then try disable interface A and open application A.At this time application A will binded to interface B.Only one choice..
作者: raywan    時間: 2021-4-23 13:35

Window use detour to bind socket to ip address.Need to Programming..If you not,then try disable inte ...
kuisa 發表於 2021-4-22 18:57


現在就係用緊呢個方法,但係唔知幾時user reboot左,又連唔返





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2