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

Re: brief IP address question (quiz?) by smlunatick

smlunatick
Mon Mar 17 08:17:42 PDT 2008

On Mar 17, 9:46=A0am, "George" <a...@bellsouth.net> wrote:
> Hello,
> An using an Win XP-pro computer and was looking at some internet connectio=
n
> things. =A0Could I get a few opinions on IP addresses in general, particul=
arly
> the last set of digits...
>
> BACKGROUND
>
> PC
> I did c:\ipconfig, and it brings something back like...
> IP Address =A0 =A0 =A0 =A0190.188.1.400
> Default gateway =A0190.188.1.4
>
> ROUTER
> The router has some settings where it has a fill-in box (default=3D0) to a=
llow
> you to ONLY fill in the last 2 digits, like this =A0190.188.1.4 [ =A0 =A00=
=A0 =A0]
> (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 =A0190.188.1.4
> the same as 190.188.1.400? =A0___ (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.

Re: brief IP address question (quiz?) by Jim

Jim
Mon Mar 17 09:14:28 PDT 2008


"George" <air1@bellsouth.net> wrote in message
news:eTHyt2DiIHA.3556@TK2MSFTNGP04.phx.gbl...
> 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



Re: brief IP address question (quiz?) by Steve

Steve
Mon Mar 17 17:06:50 PDT 2008

On Mon, 17 Mar 2008 16:14:28 GMT, "Jim" <j.n@nospam.com> wrote:

>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