brief IP address question (quiz?)

  • Thread starter Thread starter George
  • Start date Start date
G

George

Hello,
An using an Win XP-pro computer and was looking at some internet connection
things. Could I get a few opinions on IP addresses in general, particularly
the last set of digits...

BACKGROUND

PC
I did c:\ipconfig, and it brings something back like...
IP Address 190.188.1.400
Default gateway 190.188.1.4

ROUTER
The router has some settings where it has a fill-in box (default=0) to allow
you to ONLY fill in the last 2 digits, like this 190.188.1.4 [ 0 ]
(it has a default of 0)


QUESTIONS

OK so questions are...
Is the router IP address of 190.188.1.4
the same as 190.188.1.40? _________
the same as 190.188.1.400? _________
the same as 190.188.1.004? _________

And, when the "ipconfi" brings back 190.188.1.400, is that the same as
190.188.1.40? _________
the same as 190.188.1.4? _________
the same as 190.188.1.004? _________

And, is the default gateways always the same (or a variation of ) the OP
address, i.e. is the
default gateway of 190.188.1.4
the same as 190.188.1.400? ___ (if so, why don't they put the 2 zero's here
too?) ____

Thanks,
George
 
Hello,
An using an Win XP-pro computer and was looking at some internet connection
things.  Could I get a few opinions on IP addresses in general, particularly
the last set of digits...

BACKGROUND

PC
I did c:\ipconfig, and it brings something back like...
IP Address        190.188.1.400
Default gateway  190.188.1.4

ROUTER
The router has some settings where it has a fill-in box (default=0) to allow
you to ONLY fill in the last 2 digits, like this  190.188.1.4 [    0   ]
(it has a default of 0)

QUESTIONS

OK so questions are...
Is the router IP address of 190.188.1.4
the same as 190.188.1.40? _________
the same as 190.188.1.400? _________
the same as 190.188.1.004? _________

And, when the "ipconfi" brings back 190.188.1.400, is that the same as
190.188.1.40? _________
the same as 190.188.1.4? _________
the same as 190.188.1.004? _________

And, is the default gateways always the same (or a variation of ) the OP
address, i.e. is the
default gateway of  190.188.1.4
the same as 190.188.1.400?  ___ (if so, why don't they put the 2 zero's here
too?) ____

Thanks,
George

190.188.1.4 is not the as 190.188.1.40.

190.188.1.400 is not possible since the upper limit is 255.

190.188.1.4 is the same as .004.
 
George said:
Hello,
An using an Win XP-pro computer and was looking at some internet
connection things. Could I get a few opinions on IP addresses in general,
particularly the last set of digits...

BACKGROUND

PC
I did c:\ipconfig, and it brings something back like...
IP Address 190.188.1.400
Default gateway 190.188.1.4

ROUTER
The router has some settings where it has a fill-in box (default=0) to
allow you to ONLY fill in the last 2 digits, like this 190.188.1.4 [
0 ] (it has a default of 0)


QUESTIONS

OK so questions are...
Is the router IP address of 190.188.1.4
the same as 190.188.1.40? _________
the same as 190.188.1.400? _________
the same as 190.188.1.004? _________

And, when the "ipconfi" brings back 190.188.1.400, is that the same as
190.188.1.40? _________
the same as 190.188.1.4? _________
the same as 190.188.1.004? _________

And, is the default gateways always the same (or a variation of ) the OP
address, i.e. is the
default gateway of 190.188.1.4
the same as 190.188.1.400? ___ (if so, why don't they put the 2 zero's
here too?) ____

Thanks,
George
George:

Leading zeroes are not significant in IP addresses. Trailing zeroes are.
As the reported addresses are just the decimal equivalent of a byte, 400 is
not possible.
Jim
 
Leading zeroes are not significant in IP addresses. Trailing zeroes are.
As the reported addresses are just the decimal equivalent of a byte, 400 is
not possible.

There are some contexts in which leading zeros ARE significant in an
IP address. For example, these commands product different results:

ping 192.168.0.40
ping 192.168.0.040

Windows XP interprets the leading zero as signifiying an octal number,
so the second command is equivalent to:

ping 192.168.0.32
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Back
Top