<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<a class="moz-txt-link-freetext" href="http://whois.arin.net/rest/net/NET-65-127-10-168-1/pft">http://whois.arin.net/rest/net/NET-65-127-10-168-1/pft</a><br>
<br>
Checking the start IP and end IP is not sufficient.<br>
<br>
I've been down the path you're going. The best solution I found is:<br>
<br>
* Use /rest/report/reassignment/ROOT to get a list of all the
reassignments for a particular network (it'll be in xls format, you
need to convert it to something you can parse).<br>
* Go through the list, issue DELETE's for any subnets that are not
in your database<br>
* Wait awhile (5-10 minutes)<br>
* Go through and issue reassignments for any subnets that are new or
that ARIN doesn't know about.<br>
<br>
It's a large pain to get all the logic working correctly here, but
if you don't do it you'll be running into overlaps and other errors
forever.<br>
<br>
I get the distinct feeling that not many people are actually working
with the API at this point, so it's a pretty painful process.<br>
<br>
<div class="moz-cite-prefix">On 11/25/2014 12:25 PM, Zhao, Sean
wrote:<br>
</div>
<blockquote
cite="mid:C4D5F96B55BE8B43AB4BBB7EACB706ED64A6673C@PDDCWMBXEX504.ctl.intranet"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi, Andy,<o:p></o:p></p>
<p class="MsoNormal"> I sent the previous email
in the wrong email chain. Thanks for the response.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Yes, I finally got the
error response from Arin now. It is below. IP range overlaps?
Why? I am assigning 65.127.10.160/27.<o:p></o:p></p>
<p class="MsoNormal"> So start ip and end ip are
all clean. <o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><a
moz-do-not-send="true"
href="http://whois.ote.arin.net/rest/ip/65.127.10.160">http://whois.ote.arin.net/rest/ip/65.127.10.160</a>
and
<a moz-do-not-send="true"
href="http://whois.ote.arin.net/rest/ip/65.127.10.191">http://whois.ote.arin.net/rest/ip/65.127.10.191</a><o:p></o:p></p>
<p class="MsoNormal">in case you don’t have my request xml. Here
is my request xml and error returned from Arin.
<o:p></o:p></p>
<p class="MsoNormal"><net
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.arin.net/regrws/core/v1">"http://www.arin.net/regrws/core/v1"</a>><o:p></o:p></p>
<p class="MsoNormal"> <netBlocks><o:p></o:p></p>
<p class="MsoNormal"> <netBlock><o:p></o:p></p>
<p class="MsoNormal">
<cidrLength>27</cidrLength><o:p></o:p></p>
<p class="MsoNormal">
<startAddress>65.127.10.160</startAddress><o:p></o:p></p>
<p class="MsoNormal"> <type>S</type><o:p></o:p></p>
<p class="MsoNormal"> </netBlock><o:p></o:p></p>
<p class="MsoNormal"> </netBlocks><o:p></o:p></p>
<p class="MsoNormal">
<netName>Q1125-65-127-10-160</netName><o:p></o:p></p>
<p class="MsoNormal">
<orgHandle>CBC-208</orgHandle><o:p></o:p></p>
<p class="MsoNormal"> <originASes><o:p></o:p></p>
<p class="MsoNormal"> <originAS>209</originAS><o:p></o:p></p>
<p class="MsoNormal"> </originASes><o:p></o:p></p>
<p class="MsoNormal">
<parentNetHandle>NET-65-112-0-0-1</parentNetHandle><o:p></o:p></p>
<p class="MsoNormal"> <version>4</version><o:p></o:p></p>
<p class="MsoNormal"></net><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><?xml version="1.0" encoding="UTF-8"
standalone="yes"?><o:p></o:p></p>
<p class="MsoNormal"><error
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.arin.net/regrws/core/v1">"http://www.arin.net/regrws/core/v1"</a>><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><additionalInfo/><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><code>E_ENTITY_VALIDATION</code><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><components><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><component><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in;text-indent:.5in"><span
style="background:yellow;mso-highlight:yellow"><message>IP
range overlaps with existing network(s).</message></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in;text-indent:.5in"><name>startAddress</name><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"></component><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"></components><o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><message>Payload
entity failed to validate; see component messages for
details.</message><o:p></o:p></p>
<p class="MsoNormal"></error><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Thanks<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>Sean Zhao<o:p></o:p></b></p>
<p class="MsoNormal"><b><a class="moz-txt-link-abbreviated" href="mailto:sean.zhao@centurylink.com">sean.zhao@centurylink.com</a><o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<center>This communication is the property of CenturyLink and may
contain confidential or privileged information. Unauthorized use
of this communication is strictly prohibited and may be
unlawful. If you have received this communication in error,
please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.</center>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
arin-tech-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:arin-tech-discuss@arin.net">arin-tech-discuss@arin.net</a>
<a class="moz-txt-link-freetext" href="http://lists.arin.net/mailman/listinfo/arin-tech-discuss">http://lists.arin.net/mailman/listinfo/arin-tech-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>