[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-admin
Subject:    [HPADM] Re: Leading 0's in IP Address
From:       "HCL Engr, Century Enka Ltd." <hcl () centuryenka ! com>
Date:       2004-09-23 6:55:28
Message-ID: 002401c4a138$a4ac1cc0$3a020115 () cenkant ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Leading 0's in IP AddressIf you add a leading 0 to the ip address then that part is \
considered as an octet number instead of a decimal. But before doing the traceroute \
or ping command that will be converted to a decimal number . In your case the \
equivalent decimal number of the octet 055 is 45. So it will try to trace the route \
to 45.xx.xx.xx. If you want to use the leading zero try using the octet number 067 \
which is equivalent to decimal number 55. eg; traceroute 067.xx.xx.xx , this will \
actually trace the route to 55.xx.xx.xx.

rgds

bejoy
  ----- Original Message ----- 
  From: CTASC 
  To: CTASC - HPUX-Admin 
  Cc: 'ctasc' 
  Sent: Wednesday, September 22, 2004 7:46 PM
  Subject: [HPADM] Leading 0's in IP Address


  If I do a traceroute of 55.xxx.xxx.xxx 
  I see the following 

  55.xxx.xxx.xxx (55.xxx.xxx.xxx) 

  If I add a leading 0 to the ip address 055.xxx.xxx.xxx 
  I get the following results 

  055.xxx.xxx.xxx (45.xxx.xxx.xxx) 

  Why? 




  Lisa M. Taylor 
  CTASC-II Support Team 
  (703) 704-4078 or DSN 654 
  Lisa.Taylor@secbmail.belvoir.army.mil or 
  Lisa.Taylor1@us.army.mil 




-------------------------------------------------------
This message has been scanned for viruses and if any
dangerous content has been there, it has  cleared by
the Mailscanner.It doesn't ensures that the email is
Virus free or error free.CEL will not be responsible
for any of the above errors.
CEL-MAILSCANNER.


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Leading 0's in IP Address</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>If you add a leading 0 to the ip address then that 
part is considered as an octet number instead of a decimal. But before doing the 
traceroute or ping command that will be converted to a decimal number . In your 
case the equivalent decimal number of the octet 055 is 45. So it will try to 
trace the route to 45.xx.xx.xx.&nbsp;If you want to use the leading zero try 
using the octet number 067 which is equivalent to decimal number 55. eg; 
traceroute 067.xx.xx.xx , this will actually trace the route to 
55.xx.xx.xx.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>rgds</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>bejoy</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=ctasc@secbmail.belvoir.army.mil 
  href="mailto:ctasc@secbmail.belvoir.army.mil">CTASC</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=hpux-admin@dutchworks.nl 
  href="mailto:hpux-admin@dutchworks.nl">CTASC - HPUX-Admin</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A 
  title=ctasc@secbmail.belvoir.army.mil 
  href="mailto:ctasc@secbmail.belvoir.army.mil">'ctasc'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 22, 2004 7:46 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [HPADM] Leading 0's in IP 
  Address</DIV>
  <DIV><BR></DIV><!-- Converted from text/rtf format -->
  <P><FONT face=Tahoma color=#000080>If I do a traceroute of 55.xxx.xxx.xxx 
  </FONT><BR><FONT face=Tahoma color=#000080>I see the following </FONT></P>
  <P><FONT face=Tahoma color=#000080>55.xxx.xxx.xxx (55.xxx.xxx.xxx) </FONT></P>
  <P><FONT face=Tahoma color=#000080>If I add a leading 0 to the ip address 
  055.xxx.xxx.xxx</FONT> <BR><FONT face=Tahoma color=#000080>I get the following 
  results</FONT> </P>
  <P><FONT face=Tahoma color=#000080>055.xxx.xxx.xxx (45.xxx.xxx.xxx) 
</FONT></P>
  <P><FONT face=Tahoma color=#000080>Why? </FONT></P><BR><BR>
  <P><B><FONT face=Tahoma color=#993366 size=4>Lisa M. Taylor 
  </FONT></B><BR><B><FONT face=Tahoma color=#ff0000>CTASC-II Support 
  Team</FONT></B> <BR><B><FONT face=Tahoma color=#000080>(703) 704-4078 or DSN 
  654</FONT></B> <BR><FONT face=Tahoma color=#3366ff><A 
  href="mailto:Lisa.Taylor@secbmail.belvoir.army.mil">Lisa.Taylor@secbmail.belvoir.army.mil</A> \
  or </FONT><BR><FONT face=Tahoma color=#3366ff><A 
  href="mailto:Lisa.Taylor1@us.army.mil">Lisa.Taylor1@us.army.mil</A></FONT> 
  </P><BR></BLOCKQUOTE></BODY></HTML>


--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl

 Archives:  ftp.dutchworks.nl/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic