Notification

Icon
Error

Change IP ipv4 - Change the IP ipv4 of a remote host

Posted: Monday, December 14, 2020 9:21:14 AM(UTC)
RobertoP

RobertoP

Member Original PosterPosts: 8
1
Like
Modify the name of the Network interface controller ("Ethernet1" or "Ethernet")

Write the new IP, your Subnet mask, your Gateway


Example: netsh interface ipv4 set address name="Ethernet1" static 192.168.0.2 255.255.255.0 192.168.1.254



After this do a flushdns to see the new ip of the host
(cmd: ipconfig /flushdns )
Change IP ipv4Download Package
DescriptionModify the name of the Network interface controller ("Ethernet1" or "Ethernet")

Write the new IP, Subnet mask, Gateway
Final ActionNothing
Max. Duration5 min(s), 0 hour(s)
RescanYes
Steps
1. Change IP
TypeCommand
Return Codes 0,1641,3010
SuccessStop (Success)
FailureStop (Failure)
Command netsh interface ipv4 set address name="Ethernet" static yourIP yourSM yourGW

Active Discussions

Lansweeper LsAgent.ini
by  Orion Poplawski   Go to last post Go to first unread
Last post: Yesterday at 4:49:12 PM(UTC)
Lansweeper LsAgent for Windows command line options?
by  Orion Poplawski  
Go to last post Go to first unread
Last post: Yesterday at 4:47:53 PM(UTC)
Lansweeper LSagent force a scan
by  Orion Poplawski   Go to last post Go to first unread
Last post: Yesterday at 4:46:49 PM(UTC)
Lansweeper MS Edge Chromium LanSweeper Extension development
by  steveb  
Go to last post Go to first unread
Last post: 4/16/2021 10:59:56 PM(UTC)
Lansweeper Office 365 v2 Scanning Error
by  DJX   Go to last post Go to first unread
Last post: 4/16/2021 7:37:57 PM(UTC)
Lansweeper Database size growing too large
by  JTempleton  
Go to last post Go to first unread
Last post: 4/16/2021 5:19:22 PM(UTC)
Lansweeper Limit New Ticket Notifications
by  Jeff WP   Go to last post Go to first unread
Last post: 4/16/2021 4:40:43 PM(UTC)
Lansweeper Monitor as an asset
by  tman247  
Go to last post Go to first unread
Last post: 4/16/2021 4:04:19 PM(UTC)