1.

Solve : Configuring ADSL modem from command prompt?

Answer»

Dear ipconfig masters , I want to configure my wire LAN connected ADSL modem from command prompt to access internet via wire connected broadband . I have to configure the IP address , gateway , DNS , enable DHCP . How can it be done from command prompt, please ?
With regards spdCHF.Quote from: spdCHF on January 28, 2010, 09:29:11 AM

I have to configure the IP address , gateway , DNS , enable DHCP .


C:\>ipconfig /?

USAGE:
ipconfig [/? | /all | /renew [adapter] | /release [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] ]

where
adapter Connection name
(wildcard characters * and ? allowed, see examples)

Options:
/? Display this help message
/all Display full configuration information.
/release Release the IP address for the specified adapter.
/renew Renew the IP address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS NAMES
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.

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"

C:\>IPCONFIG only allows you to obtail the IP address information. It also allows some control over an active TCP/IP connection.

To configure the IP settings mentioned in your post, you will need to use netsh.


Discussion

No Comment Found