A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Weird behavior for ipconfig



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old August 20th 16, 02:14 PM posted to alt.comp.os.windows-10
Mr. Man-wai Chang
external usenet poster
 
Posts: 1,941
Default Weird behavior for ipconfig


I set up my network card to use a static IP address. But if I didn't
turn on the router, `ipconfig /all` would not report the static address.
`ping _static_IP_` also didn't work

Weird....

--
@~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!!
/ v \ Simplicity is Beauty!
/( _ )\ May the Force and farces be with you!
^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_...sub_addressesa
Ads
  #2  
Old August 20th 16, 02:54 PM posted to alt.comp.os.windows-10
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Weird behavior for ipconfig

Mr. Man-wai Chang wrote:

I set up my network card to use a static IP address. But if I didn't
turn on the router, `ipconfig /all` would not report the static address.
`ping _static_IP_` also didn't work


So you're saying the NIC was plugged in to a powered-off router? In
which case I'd expect ipconfig to say "media disconnected" and not
respond to ping to the NIC's address, even locally. Not weird at all.


  #3  
Old August 21st 16, 11:53 AM posted to alt.comp.os.windows-10
Mr. Man-wai Chang
external usenet poster
 
Posts: 1,941
Default Weird behavior for ipconfig

On 20/08/16 21:54, Andy Burns wrote:

So you're saying the NIC was plugged in to a powered-off router? In
which case I'd expect ipconfig to say "media disconnected" and not
respond to ping to the NIC's address, even locally. Not weird at all.


ipconfig should have still reported that static IP address, and pinging
the static IP address should not have failed.

--
@~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!!
/ v \ Simplicity is Beauty!
/( _ )\ May the Force and farces be with you!
^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3
不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA):
http://www.swd.gov.hk/tc/index/site_...sub_addressesa
  #4  
Old August 21st 16, 07:19 PM posted to alt.comp.os.windows-10
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Weird behavior for ipconfig

Mr. Man-wai Chang wrote:

ipconfig should have still reported that static IP address


static addresses on disconnected interfaces are temporarily non-existent.

and pinging the static IP address should not have failed.


static addresses on disconnected interfaces are temporarily non-existent.

  #5  
Old August 21st 16, 11:56 PM posted to alt.comp.os.windows-10
Char Jackson
external usenet poster
 
Posts: 10,449
Default Weird behavior for ipconfig

On Sun, 21 Aug 2016 18:53:12 +0800, "Mr. Man-wai Chang"
wrote:

On 20/08/16 21:54, Andy Burns wrote:

So you're saying the NIC was plugged in to a powered-off router? In
which case I'd expect ipconfig to say "media disconnected" and not
respond to ping to the NIC's address, even locally. Not weird at all.


ipconfig should have still reported that static IP address


I agree with Andy that a "Media disconnected" message takes display priority
over reporting the static IP, but I disagree in that as far as I can tell,
the static IP is still available and can be pinged locally, even when the
cable is disconnected.

and pinging the static IP address should not have failed.


It doesn't fail for me on 8.1 and 7. I haven't tried on 10.

Note that I'm assuming that you directly pinged the static IP, and not a
hostname that should resolve to the static IP.

  #6  
Old August 22nd 16, 06:35 AM posted to alt.comp.os.windows-10
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Weird behavior for ipconfig

Char Jackson wrote:

"Mr. Man-wai Chang" wrote:

pinging the static IP address should not have failed.


It doesn't fail for me on 8.1 and 7. I haven't tried on 10.


You're right it does, I hadn't checked

Maybe use "netsh interface ipv4 show ipaddresses" instead of ipconfig?

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 06:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 PCbanter.
The comments are property of their posters.