O
O
Orbb2019-11-19 15:22:11
Windows
Orbb, 2019-11-19 15:22:11

Is able ipconfig as ifconfig to break and lift connection?

I skimmed through the documentation and didn't see such a possibility.
ifconfig en0 down && sleep 3 && ifconfig en0 up
to test some functionality, it is required to simulate network breaks, but standard windows tools (connection-disconnection) fail to do this.
Or you need other ways to interfere with the network for a specified number of seconds under Windows. In Linux/Ios everything is very clear :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2019-11-20
@humiliation

if it is ipdynamic, you can also ipconfig-th (it seems necessary under the admin):

ipconfig [interface] /release
rem паузу любым удобным способом
ipconfig [interface] /renew
rem interface имеет смысл указывать если их более одного физического
rem хотя в мане написано, если не указать interface - передернет всех
rem кроме статики. я так думаю

M
Mikhail Vasilyev, 2019-11-19
@vasilyevmn

powershell:

netsh interface show interface
netsh interface set interface "YOUR-ADAPTER-NAME" disable
netsh interface set interface "YOUR-ADAPTER-NAME" enable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question