0

Hi guys,

Can anyone tell me what to put in the command screen tp do an "ip release" and "ip renew"

I know you type "ipconfig" to get the network details but am always unsure what to type for the release and renew.

I have been told a few times but I keep forgetting so if you can help me, I will write it down LOL.

Thanks,

Shaun:cool:

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by NORGEMAN69
0

Hi.. In the command prompt type:

IPCONFIG /all Display full configuration information.

IPCONFIG /release [adapter]
Release the IP address for the specified adapter.

IPCONFIG /renew [adapter]
Renew the IP address for the specified adapter.

IPCONFIG /flushdns Purge the DNS Resolver cache. ##

IPCONFIG /registerdns Refresh all DHCP leases and re-register DNS names. ##

IPCONFIG /displaydns Display the contents of the DNS Resolver Cache. ##

IPCONFIG /showclassid adapter
Display all the DHCP class IDs allowed for adapter. ##

IPCONFIG /setclassid adapter [classid]
Modify the dhcp class id. ##

## = New option in Win 2K/XPIf the Adapter name contains spaces, use quotes: "Adapter Name"
wildcard characters * and ? allowed, see the examples below

The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.

For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.

For Setclassid, if no ClassId is specified, then the ClassId is removed.


Examples:
> ipconfig ... Show information.
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew any connection that has its
name starting with EL

> ipconfig /release *Con* ... release all matching connections,
eg. "Local Area Connection 1" or
"Local Area Connection 2"

> ipconfig /setclassid "Local Area Connection" TEST
... set the DHCP class ID for the
named adapter to = TEST

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.