How to find out IP address and default gateway in XP in cmd when DHCP is enabled?

0

When DHCP is disabled and network is setup manually, I can run

netsh interface ip show config

to see IP address and default gateway. However, when DHCP is enabled I can see only that DHCP is enabled and DNS server address.

Is there a way to see a client IP address and a default gateway in XP via command prompt and netsh when DHCP is enabled?

Hrvoje T

Posted 2018-04-11T07:11:43.157

Reputation: 1 809

1There's always ipconfig /release and ipconfig /renew – Raghu Ranganathan – 2018-04-11T07:15:41.960

Ok, I don't need to change a configuration, just to read the information. But, only ipconfig is what I need. Thanks. – Hrvoje T – 2018-04-11T07:20:55.097

Answers

1

ipconfig is the command that you need for this.

Raghu Ranganathan

Posted 2018-04-11T07:11:43.157

Reputation: 651