CINXE.COM
Autonomous System Number (ASN) - AFRINIC - Regional Internet Registry for Africa
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- head --> <base href="https://www.afrinic.net/asn-2" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="keywords" content="AS numbers, ASNs, afrinic resources, Autonomous System Numbers" /> <meta name="author" content="Webmaster" /> <meta name="description" content="Obtaining Autonomous System Number (ASN) from AFRINIC. Autonomous System Number (ASN) is a globally unique identifier that defines a group of one or more IP prefixes run by one or more network operators that maintain a single, clearly-defined routing policy. These groups of IP prefixes are known as autonomous systems. The ASN allows the autonomous systems to exchange routing information with other autonomous systems. Network operators across the world need Autonomous System Numbers to control routing within their networks as well as exchange routing information with other network operators - example; Internet Service providers." /> <title>Autonomous System Number (ASN) - AFRINIC - Regional Internet Registry for Africa</title> <link href="https://www.afrinic.net/asn-2/amp" rel="amphtml" /> <link href="/ast/img/afrinic-logo/afrinic-logo-a-favicon.png" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <link href="/templates/shaper_spectrum/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <link href="/plugins/system/jcemediabox/css/jcemediabox.min.css?0072da39200af2a5f0dbaf1a155242cd" rel="stylesheet" type="text/css" /> <link href="//fonts.googleapis.com/css?family=Quicksand:300,regular,500,700&subset=latin" rel="stylesheet" type="text/css" /> <link href="/templates/shaper_spectrum/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="/templates/shaper_spectrum/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="/templates/shaper_spectrum/css/legacy.css" rel="stylesheet" type="text/css" /> <link href="/templates/shaper_spectrum/css/template.css" rel="stylesheet" type="text/css" /> <link href="/templates/shaper_spectrum/css/presets/preset3.css" rel="stylesheet" type="text/css" class="preset" /> <link href="/templates/shaper_spectrum/css/custom.css" rel="stylesheet" type="text/css" /> <link href="/templates/shaper_spectrum/css/frontend-edit.css" rel="stylesheet" type="text/css" /> <link href="https://www.afrinic.net/modules/mod_datetime/tmpl/default.css" rel="stylesheet" type="text/css" /> <style type="text/css"> body{font-family:Quicksand, sans-serif; font-size:16px; font-weight:500; } h1{font-family:Quicksand, sans-serif; font-size:23px; font-weight:700; } h2{font-family:Quicksand, sans-serif; font-size:17px; font-weight:700; } h3{font-family:Quicksand, sans-serif; font-size:15px; font-weight:700; } h4{font-family:Quicksand, sans-serif; font-size:12px; font-weight:500; } h5{font-family:Quicksand, sans-serif; font-size:14px; font-weight:500; } h6{font-family:Quicksand, sans-serif; font-size:10px; font-weight:500; } .sp-megamenu-parent{font-family:Quicksand, sans-serif; font-size:15px; font-weight:500; } .card-cs { /* Add shadows to create the "card" effect */ box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); transition: 0.3s; width: 90%; } /* On mouse-over, add a deeper shadow */ .card-cs:hover { box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); } /* Add some padding inside the card container */ .container-cs { padding: 2px 16px; } .fa-bars:before { content: "\f0c9"; color: #d15e14; } CSS for Stats iframe on https://afrinic.net/ipv6-v2 .iframe-container { width: 100%; position: relative; overflow: hidden; padding-top: 100%; } .iframe-responsive { position: absolute; width: 100%; height: 100%; top: 0; right: 0; bottom: 0; left: 0; border: none; margin: 0px; padding: 0px; } .font9 { font-size: 12px; } .time { display: flex; justify-content: center; align-items: center; } #sp-utils-bar{ background-color:#000000;color:#ffffff;padding:0px 1.2em 0px 1.2em; } #sp-utils-bar a{color:#d15e14;} #sp-utils-bar a:hover{color:#ffffff;} #sp-header{ padding:0px auto 0px auto;margin:0px auto 5px auto; } #sp-main-body{ padding:0px 0px 10px 0px; } #sp-footer-menu{ background-color:#242e39;color:#ffffff;padding:20px 0px 5px 0px; } #sp-footer-menu a{color:#ffffff;} #sp-footer-menu a:hover{color:#d15e14;} #sp-bottom{ background-color:#242e39;color:#ffffff;padding:0px 0px 0px 0px;margin:0px; } #sp-bottom a{color:#ffffff;} #sp-bottom a:hover{color:#ffffff;} #sp-footer{ background-color:#242e39;color:#ffffff; } #sp-footer a{color:#d15e14;} a.flag {text-decoration:none;} a.flag img {vertical-align:middle;padding:0;margin:0;border:0;display:inline;height:16px;opacity:0.8;} a.flag:hover img {opacity:1;} a.flag span {margin-right:5px;font-size:15px;vertical-align:middle;} .time { display: flex; justify-content: center; align-items: center; } </style> <script type="application/json" class="joomla-script-options new">{"csrf.token":"ce24bde2518c7a15b45c217a3dca163a","system.paths":{"root":"","base":""}}</script> <script src="/media/jui/js/jquery.min.js?f5edda9a39a83880973f150b7d6459d2" type="text/javascript"></script> <script src="/media/jui/js/jquery-noconflict.js?f5edda9a39a83880973f150b7d6459d2" type="text/javascript"></script> <script src="/media/jui/js/jquery-migrate.min.js?f5edda9a39a83880973f150b7d6459d2" type="text/javascript"></script> <script src="https://cdn.printfriendly.com/printfriendly.js" type="text/javascript"></script> <script src="/media/system/js/caption.js?f5edda9a39a83880973f150b7d6459d2" type="text/javascript"></script> <script src="/plugins/system/jcemediabox/js/jcemediabox.min.js?d67233ea942db0e502a9d3ca48545fb9" type="text/javascript"></script> <script src="/media/system/js/core.js?f5edda9a39a83880973f150b7d6459d2" type="text/javascript"></script> <script src="/templates/shaper_spectrum/js/bootstrap.min.js" type="text/javascript"></script> <script src="/templates/shaper_spectrum/js/jquery.sticky.js" type="text/javascript"></script> <script src="/templates/shaper_spectrum/js/main.js" type="text/javascript"></script> <script src="/templates/shaper_spectrum/js/frontend-edit.js" type="text/javascript"></script> <script type="text/javascript"> var pfCustomCSS = ""; jQuery(window).on('load', function() { new JCaption('img.caption'); }); jQuery(document).ready(function(){WfMediabox.init({"base":"\/","theme":"standard","width":"","height":"","lightbox":0,"shadowbox":0,"icons":1,"overlay":1,"overlay_opacity":0.8,"overlay_color":"#000000","transition_speed":500,"close":2,"scrolling":"fixed","labels":{"close":"Close","next":"Next","previous":"Previous","cancel":"Cancel","numbers":"{{numbers}}","numbers_count":"{{current}} of {{total}}","download":"Download"}});}); jQuery(document).ready(function() { jQuery('#sp-left .nav.menu li.active.current > a ').css({"text-decoration":"underline","color":"black","background":"#cccccc"}); }); var sp_preloader = '0'; var sp_gotop = '1'; var sp_offanimation = 'slidetop'; </script> <meta property="og:url" content="https://www.afrinic.net/asn-2" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Autonomous System Number (ASN) from AFRINIC" /> <meta property="og:description" content="What is an Autonomous System Number (ASN) Autonomous System Number (ASN) is a globally unique identifier that defines a group of one or more IP prefixes ru..." /> <!-- Start: Google Structured Data --> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite", "url": "https://afrinic.net", "potentialAction": { "@type": "SearchAction", "target": "https://www.afrinic.net/index.php?option=com_finder&q={search_term}", "query-input": "required name=search_term" } } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Organization", "url": "https://afrinic.net", "logo": "https://www.afrinic.net/ast/img/afrinic-logo/afrinic_logo_mbl.png" } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Organization", "name": "AFRINIC", "url": "https://afrinic.net", "sameAs": [ "https://www.facebook.com/afrinic", "https://twitter.com/afrinic", "https://www.instagram.com/afrinic", "https://www.youtube.com/c/AFRINIC", "https://www.linkedin.com/company/afrinic", "https://www.pinterest.com/afrinic" ] } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "http://www.afrinic.net/", "name": "AFRINIC" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://www.afrinic.net/asn-2", "name": "Autonomous System Number (ASN)" } } ] } </script> <!-- End: Google Structured Data --> <link rel="canonical" href="https://afrinic.net/asn-2" /> <!-- OneTrust Cookies Consent Notice start for afrinic.net --> <script type="text/javascript" src="https://cdn.cookielaw.org/consent/ebd7abec-671f-4042-8ccd-8155e3b22dcb/OtAutoBlock.js" ></script> <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" data-document-language="true" type="text/javascript" charset="UTF-8" data-domain-script="ebd7abec-671f-4042-8ccd-8155e3b22dcb" ></script> <script type="text/javascript"> function OptanonWrapper() { } </script> <!-- OneTrust Cookies Consent Notice end for afrinic.net --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-H0GMQFDPXY"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-H0GMQFDPXY'); </script> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-50123650-5"></script> <script> window.dataLayer = window.dataLayer || [];https://afrinic.net/administrator/index.php?option=com_templates&view=style&layout=edit&id=9#attrib-custom_code function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-50123650-5'); </script> <script async src="https://www.googleoptimize.com/optimize.js?id=GTM-N8QGHBV"></script> <meta name="msvalidate.01" content="ACFB632BA93AC365F6D32DAD41ACB173" /> <!-- TrustBox script --> <script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script> <script> (function(w,d,s,r,n){w.TrustpilotObject=n;w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)}; a=d.createElement(s);a.async=1;a.src=r;a.type='text/java'+s;f=d.getElementsByTagName(s)[0]; f.parentNode.insertBefore(a,f)})(window,document,'script', 'https://invitejs.trustpilot.com/tp.min.js', 'tp'); tp('register', 'IfBqKpPqdeexJeZo'); </script> <!-- End TrustBox script --> <!-- AFRINIC Mailchimp Integration --> <script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/5c91ad679775a26d1a2515314/a2c2eac2bbf6515fe5fe29fa3.js");</script> <meta name="google-site-verification" content="QsahxC0Hqcdk6Q-bS24gFVtlveVJJCTkqXaoYeuL04s" /> </head> <body class="site com-content view-article no-layout no-task itemid-3698 en-gb ltr layout-fluid off-canvas-menu-init"> <div class="body-wrapper"> <div class="body-innerwrapper"> <section id="sp-utils-bar" class=" hidden-xs"><div class="row"><div id="sp-top1" class="col-sm-1 col-md-4 hidden-sm hidden-xs"><div class="sp-column time"><div class="sp-module "><div class="sp-module-content"><a href="https://www.afrinic.net/asn-2" onclick="doGTranslate('en|en');return false;" title="English" class="flag nturl notranslate">English</a> <a href="/ar/asn-2" onclick="doGTranslate('en|ar');return false;" title="العربية" class="flag nturl notranslate">العربية</a> <a href="/fr/asn-2" onclick="doGTranslate('en|fr');return false;" title="Français" class="flag nturl notranslate">Français</a> <a href="/pt/asn-2" onclick="doGTranslate('en|pt');return false;" title="Português" class="flag nturl notranslate">Português</a> </div></div></div></div><div id="sp-top-whois-faq" class="col-xs-6 col-sm-6 col-md-4"><div class="sp-column "><div class="sp-module "><div class="sp-module-content"> <div class="custom" > <p style="text-align: left;"><span style="color: #;"> <strong> <a class="jcepopup noicon" style="color: #;" title="AFRINIC Web WHOIS Interface" href="/whois?lang=en" data-mediabox="1" data-mediabox-title="AFRINIC Web WHOIS Interface">WHOIS SEARCH</a> <a class="jcepopup noicon" style="color: #;" title="MEMBERS PORTAL" href="https://my.afrinic.net/login" target="_blank" rel="noopener noreferrer" data-mediabox="1" data-mediabox-title="AFRINIC Web WHOIS Interface">LOGIN TO MYAFRINIC</a></strong></span></p></div> </div></div></div></div><div id="sp-top3" class="col-xs-3 col-sm-3 col-md-4"><div class="sp-column time"><div class="sp-module "><div class="sp-module-content"><div class="itp-gs"> <form action="/component/itpgooglesearch/search" method="get" accept-charset="utf-8"> <input name="gsquery" type="text" class="inputbox" placeholder="Search for..." value="" /> </form> </div></div></div></div></div></div></section><header id="sp-header"><div class="container"><div class="row"><div id="sp-logo" class="col-xs-4 col-sm-4 col-md-3"><div class="sp-column "><div class="logo"><a href="/"><img class="sp-default-logo hidden-xs" src="/ast/img/afrinic-logo/afrinic_logo.png" alt="AFRINIC - Regional Internet Registry for Africa"><img class="sp-retina-logo hidden-xs" src="/ast/img/afrinic-logo/afrinic_logo.png" alt="AFRINIC - Regional Internet Registry for Africa" width="202" height="85"><img class="sp-default-logo visible-xs" src="/ast/img/afrinic-logo/afrinic_logo.png" alt="AFRINIC - Regional Internet Registry for Africa"></a></div></div></div><div id="sp-menu" class="col-xs-8 col-sm-8 col-md-9"><div class="sp-column "> <div class='sp-megamenu-wrapper'> <a id="offcanvas-toggler" class="visible-sm visible-xs" href="#"><i class="fa fa-bars"></i></a> <ul class="sp-megamenu-parent menu-fade hidden-sm hidden-xs"><li class="sp-menu-item"></li><li class="sp-menu-item"></li><li class="sp-menu-item sp-has-child"><a href="/about" >About us</a><div class="sp-dropdown sp-dropdown-main sp-menu-right" style="width: 240px;"><div class="sp-dropdown-inner"><ul class="sp-dropdown-items"><li class="sp-menu-item"><a href="/history" >History</a></li><li class="sp-menu-item"><a href="/partners" >Our Partners</a></li><li class="sp-menu-item"><a href="/membership" >Membership</a></li><li class="sp-menu-item"><a href="/service-region" >Our Service Region</a></li><li class="sp-menu-item"><a href="/agmm" >AGMM</a></li><li class="sp-menu-item"><a href="/membership/cost" >Fees Schedule</a></li><li class="sp-menu-item"><a href="/governance" >Governance</a></li><li class="sp-menu-item"><a href="/stats" >Statistics</a></li><li class="sp-menu-item"><a href="/corporate-documents" >Corporate Documents</a></li><li class="sp-menu-item"><a href="/team" >Our Team</a></li><li class="sp-menu-item"><a href="/contact" >Contact us</a></li></ul></div></div></li><li class="sp-menu-item sp-has-child"><a href="/our-work" >Our Work</a><div class="sp-dropdown sp-dropdown-main sp-menu-right" style="width: 240px;"><div class="sp-dropdown-inner"><ul class="sp-dropdown-items"><li class="sp-menu-item"><a href="/membership" >Membership Services</a></li><li class="sp-menu-item"><a href="/resources" >Internet Number Resources Management</a></li><li class="sp-menu-item"><a href="/reverse-dns" >Reverse DNS</a></li><li class="sp-menu-item"><a href="/whois" >WHOIS</a></li><li class="sp-menu-item"><a href="/membership/cost" >Fees Schedule</a></li><li class="sp-menu-item"><a href="/internet-routing-registry" >Internet Routing Registry (IRR)</a></li><li class="sp-menu-item"><a href="/dnssec" >DNSSEC Program</a></li><li class="sp-menu-item"><a href="/resource-certification" >Resource Certification Program (RPKI)</a></li><li class="sp-menu-item"><a href="/corporate-documents" >Corporate Documents</a></li><li class="sp-menu-item"><a href="http://learn.afrinic.net/" rel="noopener noreferrer" target="_blank" >Training Services</a></li><li class="sp-menu-item"><a href="/support" >Support & FAQs</a></li><li class="sp-menu-item"><a href="/changelog" >Online Services Changelog</a></li><li class="sp-menu-item"><a href="/dns-support" >DNS Support Program</a></li><li class="sp-menu-item"><a href="/root-server-copy" >Root Server Copy Program</a></li><li class="sp-menu-item"><a href="/internet-development-programs" >Internet Development Programs</a></li></ul></div></div></li><li class="sp-menu-item sp-has-child"><a href="/participate" >Participate</a><div class="sp-dropdown sp-dropdown-main sp-menu-right" style="width: 240px;"><div class="sp-dropdown-inner"><ul class="sp-dropdown-items"><li class="sp-menu-item"><a href="/code" >Code of Conduct</a></li><li class="sp-menu-item"><a href="/email" >Email & Mailing Lists</a></li><li class="sp-menu-item"><a href="/policy" >Policy Development</a></li><li class="sp-menu-item"><a href="/committees/afgwg" >Governments</a></li><li class="sp-menu-item"><a href="/committees" >Committees</a></li><li class="sp-menu-item"><a href="/election-process" >Elections</a></li><li class="sp-menu-item"><a href="/exhaustion" >IPv4 Exhaustion</a></li><li class="sp-menu-item"><a href="/internet-governance" >Internet Governance</a></li><li class="sp-menu-item"><a href="/privacy" >Privacy</a></li></ul></div></div></li><li class="sp-menu-item sp-has-child"><a href="/events" >Events</a><div class="sp-dropdown sp-dropdown-main sp-menu-left" style="width: 240px;"><div class="sp-dropdown-inner"><ul class="sp-dropdown-items"><li class="sp-menu-item"><a href="https://meeting.afrinic.net" rel="noopener noreferrer" target="_blank" >Meetings</a></li><li class="sp-menu-item"><a href="/events/sponsorship" >Sponsorship Opportunities</a></li><li class="sp-menu-item"><a href="/events/hosting-guide" >Hosting Guide</a></li><li class="sp-menu-item"><a href="http://learn.afrinic.net/events" rel="noopener noreferrer" target="_blank" >Training Workshops</a></li><li class="sp-menu-item"><a href="/outreach" >Outreach</a></li><li class="sp-menu-item"><a href="/events/webinar-series" >Webinar Series</a></li></ul></div></div></li><li class="sp-menu-item sp-has-child"><a href="/news" >Media</a><div class="sp-dropdown sp-dropdown-main sp-menu-left" style="width: 240px;"><div class="sp-dropdown-inner"><ul class="sp-dropdown-items"><li class="sp-menu-item"><a href="/news" >News</a></li><li class="sp-menu-item"><a href="/press" >Press Releases</a></li><li class="sp-menu-item"><a href="/presentations" >Presentations</a></li><li class="sp-menu-item"><a href="/factsheets" >Factsheets</a></li><li class="sp-menu-item"><a href="/newsletter" >Newsletter</a></li><li class="sp-menu-item"><a href="/branding" >Branding</a></li><li class="sp-menu-item"><a href="/post-guidelines" >Contribution Guidelines</a></li></ul></div></div></li><li class="sp-menu-item"><a href="https://blog.iso.afrinic.net/" >Blog</a></li><li class="sp-menu-item"></li><li class="sp-menu-item"></li><li class="sp-menu-item"></li></ul> </div> </div></div></div></div></header><section id="sp-localisation-notice"><div class="row"><div id="sp-localisation-notice" class="col-sm-12 col-md-12"><div class="sp-column "><div class="sp-module "><div class="sp-module-content"> <div class="custom" > <div id="English-Notice"> <div class="alert alert-info" style="text-align: center;"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <strong>Info!</strong> Please note that this translation has been provided at best effort, for your convenience. The English page remains the official version.</div> </div></div> </div></div></div></div></div></section><section id="sp-main-body"><div class="row"><div id="sp-component" class="col-xs-12 col-sm-12 col-md-12"><div class="sp-column "><div id="system-message-container"> </div> <article class="item item-page" itemscope itemtype="http://schema.org/Article"> <meta itemprop="inLanguage" content="en-GB" /> <div class="entry-header"> <h1 itemprop="name"> Autonomous System Number (ASN) from AFRINIC </h1> </div> <div itemprop="articleBody"> <h2>What is an Autonomous System Number (ASN) </h2> <p>Autonomous System Number (ASN) is a globally unique identifier that defines a group of one or more IP prefixes run by one or more network operators that maintain a single, clearly-defined routing policy. These groups of IP prefixes are known as autonomous systems. The ASN allows the autonomous systems to exchange routing information with other autonomous systems.</p> <p>Network operators across the world need Autonomous System Numbers to control routing within their networks as well as exchange routing information with other network operators - example; Internet Service providers.</p> <p> </p> <h3>Types of ASNs</h3> <p>There are two types of ASNs, namely private and public ASN.</p> <ol> <li>A private ASN can be used for a system which is communicating via BGP (Border Gateway Protocol) with one provider</li> <li>A public ASN is needed to exchange information over the Internet.</li> </ol> <p> </p> <h3>ASN Formats</h3> <p>ASNs are available in two formats; 2-byte ASN and 4-byte ASN</p> <ol> <li>A 2-byte ASN is a 16-bit number which can provide up to 65,536 ASNs (0 to 65,535). The Internet Assigned Numbers Authority (IANA) has reserved 1,023 (64,512 to 65,534) from the mentioned range for private use. (<a href="https://tools.ietf.org/html/rfc6996" target="_blank" rel="noopener" rev="contents">RFC 6996</a> - Autonomous System (AS) Reservation for Private Use)</li> <li>A 4-byte ASN is a 32-bit number which provides 2<sup>32</sup>, that is 4,294,967,296 ASNs (0 to 4,294,967,295). IANA has reserved 4,200,000,000 to 4,294,967,294 for private use (94,967,295 ASNs). (<a href="https://tools.ietf.org/html/rfc6793" rev="contents">RFC 6793</a> – BGP Support for Four-Octet AS Number Space)</li> </ol> <p> </p> <p>IANA and the RIRs will cease to make any distinction between 2-byte only and 4-byte only ASNs and will operate ASN allocations from an undifferentiated 4-byte ASN allocation pool <a href="https://www.afrinic.net/amended-iana-policy-for-allocation-of-asn-blocks-to-rirs-afpub-2009-asn-001" rev="contents">as per the policy documented here</a>.</p> <p> </p> <h2>Benefits of having a public AS Number</h2> <ol> <li>Network operators can have their own network identity internally and externally</li> <li>The capability of establishing own Border Gateway Protocol with a public ASN</li> <li>Ability to directly peer with Internet Exchange Points</li> <li>Network operators can have better control of the traffic</li> <li>Flexible Network Management</li> <li>IP Address portability is one of the major benefits of using own IP address and ASN</li> </ol> <p> </p> <h2>Requesting Autonomous System Number (ASN) from AFRINIC</h2> <p> </p> <h3>1) Application Process</h3> <ol style="list-style-type: lower-roman;"> <li><strong>Case 1</strong>: Non-AFRINIC resource member requesting for an ASN - <br />Applicants who wish to become an AFRINIC member to request for an Autonomous System Number should go through the process as mentioned at '<a href="/become-member" rev="contents">How to become an AFRINIC Member</a>', the link provides guidance and detailed requirements as to how to become an AFRINIC Member to get IP resources.</li> <li><strong>Case 2</strong>: Existing AFRINIC resource member requesting for an ASN <br />AFRINIC members should go through the <a href="https://my.afrinic.net/login" target="_blank" rel="noopener" rev="contents">MYAFRINIC portal</a> to request for their first or additional AS Number(s) under Resources > AS Numbers</li> </ol> <p> </p> <p><strong>AFRINIC has three policies under which an AS Number can be requested:</strong></p> <p>Autonomous System Number can be used for varying use cases and AFRINIC has different policies that provide guidance on assignment of these ASN’s based on certain use cases. </p> <ol style="list-style-type: lower-roman;"> <li>Policy from ASN management in the AFRINIC region - AFRINIC assigns AS Numbers for Autonomous Systems located in the AFRINIC service region and accepts requests from Local Internet Registries (LIRs), non-LIR's members and non-members.<br />CPM Section 7.4: Eligibility for an AS Number Assignment - <a href="https://www.afrinic.net/policy/manual#ASN-Eligibility">https://www.afrinic.net/policy/manual#ASN-Eligibility</a></li> <li>Anycast resource assignments in the AFRINIC region. - This policy allows an organization to receive an AS Number purely for anycast or GPRS Roaming Exchange (GRX) usage. <br />CPM Section 12.0: Anycast Resource Assignments - <a href="https://www.afrinic.net/policy/manual#Anycast">https://www.afrinic.net/policy/manual#Anycast</a></li> <li>Resource Reservations from IXPs - AFRINIC has an existing policy to make allocations to IXPs which reserves a set of 2-byte ASNs between 0 - 65,535 for use by IXPs, for IXP BGP Route Servers. CPM Section 11.0: Resource Reservations for Internet Exchange Points - <a href="https://www.afrinic.net/policy/manual#Resource-Reservations-IXPa">https://www.afrinic.net/policy/manual#Resource-Reservations-IXPa</a> </li> </ol> <p> </p> <h3>2. Requirements</h3> <ol style="list-style-type: lower-roman;"> <li>AFRINIC has the Contractual Obligation Check (COC) which supervenes prior to evaluating a request, <a href="/ast/pdf/membership-agreement/Contractual_Obligations_Check-082018.pdf" rev="contents">more details can be found here</a>. </li> <li>ASNs requests are evaluated as per the above - mentioned sections of the Consolidated Policy Manual which are summarised below: <ul> <li>The requestor should interconnect (including peering) with more than one AS </li> <li>The AS Number should be used to implement a unique routing policy or demonstrate a technical need for a coordinated globally unique ASN. <br />An organization will also be eligible if it can demonstrate that it will meet the above criteria upon receiving an ASN (or within the following six months).</li> </ul> </li> </ol> <p>To help ease the evaluation process, we provide below several types of documentation that may be required.</p> <p> </p> <table class="table table-bordered"> <tbody> <tr> <td style="text-align: center;"><strong>Policy</strong></td> <td style="text-align: center;"><strong>Requirements for evaluation</strong></td> </tr> <tr> <td> <p><strong>Policy from AFRINIC management in the AFRINIC Region</strong></p> <p>Eligibility for an AS Number Assignment</p> <p><a href="https://www.afrinic.net/policy/manual#ASN-Eligibility">https://www.afrinic.net/policy/manual#ASN-Eligibility</a></p> </td> <td><ol> <li>AFRINIC will require the AS Numbers and authoritative corporate contact details for at least one upstream/transit provider who shall be contacted to confirm the peering confirmation/agreement. In case an applicant plan to connect at an Internet Exchange Point, AFRINIC will need a copy of the countersigned MoU (Memorandum of Understanding) with the IXP or contact details.</li> <li>A network topology diagram and information about the routing policy (route announcements)</li> </ol></td> </tr> <tr> <td> <p><strong>Anycast resource assignments in the AFRINIC Region </strong></p> <p>CPM Section 11.0: Resource Reservations for Internet Exchange Points</p> <p><a href="https://www.afrinic.net/policy/manual#Resource-Reservations-IXPa">https://www.afrinic.net/policy/manual#Resource-Reservations-IXPa</a></p> </td> <td><ol> <li>The ASN should be used for anycast or GRX purposes only</li> <li>AFRINIC will require the AS Numbers and authoritative corporate contact details for at least one upstream/transit provider who shall be contacted to confirm the peering agreement/negotiations.</li> <li>The geographical location of the ASN would be used.</li> </ol></td> </tr> <tr> <td> <p><strong>Resource Reservations from IXPs </strong></p> <p>CPM Section 12.0: Anycast Resource Assignments <a href="https://www.afrinic.net/policy/manual#Anycast">https://www.afrinic.net/policy/manual#Anycast</a></p> <p> </p> </td> <td><ol> <li>AFRINIC will require the AS Numbers and authoritative corporate contact details for at least three upstream/transit providers who shall be contacted to confirm the peering or copies of the countersigned MoUs the entity has with the peers.</li> </ol></td> </tr> </tbody> </table> <p> </p> <h3>3. Fees</h3> <p>Upon conclusion of the evaluation of ASN request(s) in accordance with the policies currently in place at AFRINIC, a one-off assignment fee of 400USD shall be invoiced per AS Number according to the fees schedule. More details about the billing schedule can be found at <a href="/membership/cost">https://afrinic.net/membership/cost</a></p> <p> </p> <p><strong>Note:</strong> An End User which is assigned an ASN and no other resource type shall pay USD 400 initial assignment fees in addition to a yearly membership of USD 50 which is referred to as maintenance fee in the Policy.</p> <p> </p> <h3>4. Discounts</h3> <p>AFRINIC offers discounts to its members based on the criteria below. The discounts are only attributed after AFRINIC Hostmasters have been able to confirm the member eligibility. In this regard, resource members may be requested to provide more documentation.</p> <p>Educational Institutions - As per the current fees structure, educational institutions such as universities and Research & Education Networks (RENs) may be eligible for a 50% discount on the one-off assignment fee exclusively for not-for-profit academic or research activities.</p> <p>Critical Infrastructure - AFRINIC offers a 100% discount to organisations requesting ASNs for the purpose of Critical Infrastructure.</p> <p> </p> <p><em><strong>Note:</strong> The AFRINIC membership fees schedule for these two categories <a href="/membership/cost" rev="contents">can be viewed under section 5 here</a>.</em></p> <p> </p> <p> </p> </div> <div class="article-footer-wrap"> <div class="article-footer-top"> <div class="helix-social-share"> <div class="helix-social-share-icon"> <ul> <li> <div class="facebook" data-toggle="tooltip" data-placement="top" title="Share On Facebook"> <a class="facebook" onClick="window.open('http://www.facebook.com/sharer.php?u=https://www.afrinic.net/asn-2','Facebook','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://www.facebook.com/sharer.php?u=https://www.afrinic.net/asn-2"> <i class="fa fa-facebook"></i> </a> </div> </li> <li> <div class="twitter" data-toggle="tooltip" data-placement="top" title="Share On Twitter"> <a class="twitter" onClick="window.open('http://twitter.com/share?url=https://www.afrinic.net/asn-2&text=Autonomous%20System%20Number%20(ASN)%20from%20AFRINIC','Twitter share','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://twitter.com/share?url=https://www.afrinic.net/asn-2&text=Autonomous%20System%20Number%20(ASN)%20from%20AFRINIC"> <i class="fa fa-twitter"></i> </a> </div> </li> <li> <div class="google-plus"> <a class="gplus" data-toggle="tooltip" data-placement="top" title="Share On Google Plus" onClick="window.open('https://plus.google.com/share?url=https://www.afrinic.net/asn-2','Google plus','width=585,height=666,left='+(screen.availWidth/2-292)+',top='+(screen.availHeight/2-333)+''); return false;" href="https://plus.google.com/share?url=https://www.afrinic.net/asn-2" > <i class="fa fa-google-plus"></i></a> </div> </li> <li> <div class="linkedin"> <a class="linkedin" data-toggle="tooltip" data-placement="top" title="Share On Linkedin" onClick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=https://www.afrinic.net/asn-2','Linkedin','width=585,height=666,left='+(screen.availWidth/2-292)+',top='+(screen.availHeight/2-333)+''); return false;" href="http://www.linkedin.com/shareArticle?mini=true&url=https://www.afrinic.net/asn-2" > <i class="fa fa-linkedin-square"></i></a> </div> </li> </ul> </div> </div> <!-- /.helix-social-share --> </div> </div> <div class="printfriendly-button-wrapper" style="text-align: right"><a class="printfriendly-button print-no" style="cursor: pointer" onclick="window.print(); return false;" title="Print Friendly, PDF & Email"><img style="border:none;-webkit-box-shadow:none; box-shadow:none;" src="https://cdn.printfriendly.com/buttons/printfriendly-button-lg.png" alt="Print Friendly, PDF & Email"></a></div> <dd class="modified"> <i class="fa fa-calendar-o"></i> Last Modified on - <time datetime="2020-10-18T10:01:12+04:00" itemprop="dateModified" title="Last Modified on - "> 18 October 2020 </time> </dd> </article></div></div></div></div></section><section id="sp-footer-menu" class=" hidden-xs"><div class="container"><div class="row"><div id="sp-position1" class="col-sm-3 col-md-3"><div class="sp-column font9"><div class="sp-module "><h3 class="sp-module-title">Member Services</h3><div class="sp-module-content"><ul class="nav menu"> <li class="item-3705"><a href="/membership" > Become a member</a></li><li class="item-3697"><a href="/resources-2" > Internet Number Resources Management</a></li><li class="item-3698 current active"><a href="/asn-2" > Autonomous System Number (ASN)</a></li><li class="item-3699"><a href="/ipv6-2" > Internet Protocol Version 6 (IPv6)</a></li><li class="item-3700"><a href="/transfers-2" > Resource Transfers</a></li><li class="item-3701"><a href="/management-2" > Resource Management</a></li></ul> </div></div></div></div><div id="sp-position2" class="col-sm-3 col-md-3"><div class="sp-column font9"><div class="sp-module "><h3 class="sp-module-title">Routing Security</h3><div class="sp-module-content"><ul class="nav menu"> <li class="item-3702"><a href="/resource-certification-2" > Resource Certification Program (RPKI)</a></li><li class="item-3703"><a href="/tal-2" > Trust Anchor Locator (TAL)</a></li><li class="item-3704"><a href="/internet-routing-registry-2" > Internet Routing Registry (IRR)</a></li></ul> </div></div><div class="sp-module "><h3 class="sp-module-title">DNS</h3><div class="sp-module-content"><ul class="nav menu"> <li class="item-3718"><a href="/reverse-dns-2" > Reverse DNS</a></li><li class="item-3716"><a href="/dnssec-2" > DNSSEC Program</a></li><li class="item-3717"><a href="/dns-support-2" > DNS Support Program</a></li></ul> </div></div></div></div><div id="sp-position3" class="col-sm-3 col-md-3"><div class="sp-column font9"><div class="sp-module "><h3 class="sp-module-title">WHOIS</h3><div class="sp-module-content"><ul class="nav menu"> <li class="item-3706"><a href="/whois-2" > WHOIS</a></li><li class="item-3707"><a href="/terms-2" > Terms of Use</a></li><li class="item-3708"><a href="/utilities-2" > WHOIS Crypt</a></li><li class="item-3709"><a href="/ip-tools-2" > IP Tools</a></li><li class="item-3710"><a href="/data-protection-2" > Your data protection</a></li><li class="item-3712"><a href="/lame-2" > Lame Tool</a></li><li class="item-3713"><a href="/whois/rdap" > RDAP`</a></li></ul> </div></div></div></div><div id="sp-position4" class="col-sm-3 col-md-3"><div class="sp-column font9"><div class="sp-module "><h3 class="sp-module-title">Training</h3><div class="sp-module-content"><ul class="nav menu"> <li class="item-3715"><a href="http://learn.afrinic.net/" target="_blank" > Training Services</a></li><li class="item-3714"><a href="http://learn.afrinic.net/events" target="_blank" > Training Workshops</a></li></ul> </div></div><div class="sp-module "><h3 class="sp-module-title">Events</h3><div class="sp-module-content"><ul class="nav menu"> <li class="item-3719"><a href="https://meeting.afrinic.net" > Our Meetings</a></li><li class="item-3720"><a href="/webinar-series-2" > Webinar Series</a></li><li class="item-3721"><a href="/past-webinars-2" > Past webinars</a></li></ul> </div></div></div></div></div></div></section><section id="sp-bottom" class="font9 hidden-xs"><div class="container"><div class="row"><div id="sp-bottom1" class="col-xs-6 col-sm-6 col-md-4"><div class="sp-column font9"><ul class="social-icons"><li><a target="_blank" href="https://www.facebook.com/afrinic"><i class="fa fa-facebook"></i></a></li><li><a target="_blank" href="https://twitter.com/afrinic"><i class="fa fa-twitter"></i></a></li><li><a target="_blank" href="https://www.youtube.com/c/AFRINIC"><i class="fa fa-youtube"></i></a></li><li><a target="_blank" href="https://twitter.com/afrinic"><i class="fa fa-linkedin"></i></a></li><li><a target="_blank" href="https://www.flickr.com/photos/afrinic/"><i class="fa fa-flickr"></i></a></li><li><a target="_blank" href="/news/feed?format=feed&type=rss"><i class="fa fa-rss"></i></a></li></ul></div></div><div id="sp-time" class="col-xs-6 col-sm-4 col-md-4"><div class="sp-column time"><div class="sp-module "><div class="sp-module-content"> <span class="mod_datetime">Date and time in Mauritius - <time datetime="2024-11-25T22:23:23+04:00">2024/11/25 <span id="mod_datetime_custom_time_301"></span> <script type="text/javascript"> <!-- zone=0 isitlocal=true; ampm=""; function mod_datetime_custom_time_301() { now=new Date(); ofst="04"; ofst_minutes="00"; ofst_sign="+"; now.setUTCHours(now.getUTCHours()+Math.abs(ofst), now.getUTCMinutes()+Math.abs(ofst_minutes)); timezone = now.getTimezoneOffset(); secs=now.getUTCSeconds(); sec=-1.57+Math.PI*secs/30; mins=now.getUTCMinutes(); min=-1.57+Math.PI*mins/30; hr=(isitlocal)? now.getUTCHours():(now.getUTCHours() + parseInt(ofst)) + parseInt(zone); hrs=-1.575+Math.PI*hr/6+Math.PI*parseInt(now.getMinutes())/360; if (hr < 0) hr+=24; if (hr > 23) hr-=24; ampm = (hr > 11)?"":""; statusampm = ampm; hr2 = hr; if (hr2 == 0) hr2=24;//24 or 12 (hr2 < 13)?hr2:hr2 %= 24;// 24 or 12 if (hr2<10) hr2="0"+hr2 var finaltime=hr2+":"+((mins < 10)?"0"+mins:mins)+" "+statusampm; document.getElementById("mod_datetime_custom_time_301").innerHTML=finaltime setTimeout("mod_datetime_custom_time_301()",1000) } mod_datetime_custom_time_301() //--> </script></time></span> </div></div></div></div><div id="sp-bottom2" class="col-xs-6 col-sm-6 col-md-4 hidden-xs"><div class="sp-column font9"><div class="sp-module "><div class="sp-module-content"> <div class="custom" > <p style="text-align: right;"><a title="AFRINIC Online Services Status" href="http://status.afrinic.net/" target="_blank" rel="help noopener noreferrer">Service Status</a> | <a href="/changelog" rev="contents">Changelog</a> | <a href="/support?lang=en" data-mce-empty="1"> </a><a href="/website-use-terms?lang=en-GB" target="_blank" rel="noopener noreferrer" rev="contents">Disclaimer</a> | <a href="/privacy" target="_blank" rel="noopener noreferrer">Privacy</a></p></div> </div></div></div></div></div></div></section><footer id="sp-footer" class=" affix-bottom"><div class="container"><div class="row"><div id="sp-footer1" class="col-sm-12 col-md-12"><div class="sp-column font9"><span class="sp-copyright"><div align="center">©Copyright <script>document.write( new Date().getFullYear() );</script>. All Rights Reserved - African Network Information Centre <a href="https://afrinic.net" target="_blank"> (AFRINIC)</a><br><img src="/ast/img/afrinic-logo/afrinic-iso.svg" alt="" width="60" height="40" /></div></span></div></div></div></div></footer> </div> <!-- /.body-innerwrapper --> </div> <!-- /.body-innerwrapper --> <!-- Off Canvas Menu --> <div class="offcanvas-menu"> <a href="#" class="close-offcanvas"><i class="fa fa-remove"></i></a> <div class="offcanvas-inner"> <div class="sp-module "><div class="sp-module-content"> <script type="text/javascript"> /* <![CDATA[ */ function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;var lang=lang_pair.split('|')[1];var plang=location.pathname.split('/')[1];if(plang.length !=2 && plang != 'zh-CN' && plang != 'zh-TW')plang='en';location.href=location.protocol+'//'+location.host+'/'+lang+'/asn-2';} /* ]]> */ </script> <a href="https://www.afrinic.net/asn-2" onclick="doGTranslate('en|en');return false;" title="English" class="flag nturl notranslate"><img src="/modules/mod_gtranslate/tmpl/lang/16/en.png" height="16" width="16" alt="en" /></a><a href="/ar/asn-2" onclick="doGTranslate('en|ar');return false;" title="Arabic" class="flag nturl notranslate"><img src="/modules/mod_gtranslate/tmpl/lang/16/ar.png" height="16" width="16" alt="ar" /></a><a href="/fr/asn-2" onclick="doGTranslate('en|fr');return false;" title="French" class="flag nturl notranslate"><img src="/modules/mod_gtranslate/tmpl/lang/16/fr.png" height="16" width="16" alt="fr" /></a><a href="/pt/asn-2" onclick="doGTranslate('en|pt');return false;" title="Portuguese" class="flag nturl notranslate"><img src="/modules/mod_gtranslate/tmpl/lang/16/pt.png" height="16" width="16" alt="pt" /></a></div></div><div class="sp-module "><div class="sp-module-content"><ul class="nav menu"> <li class="item-161 deeper parent"><a href="/about" > About us</a><span class="offcanvas-menu-toggler collapsed" data-toggle="collapse" data-target="#collapse-menu-161"><i class="open-icon fa fa-angle-down"></i><i class="close-icon fa fa-angle-up"></i></span><ul class="collapse" id="collapse-menu-161"><li class="item-880"><a href="/history" > History</a></li><li class="item-3490"><a href="/partners" > Our Partners</a></li><li class="item-332"><a href="/membership" > Membership</a></li><li class="item-3491"><a href="/service-region" > Our Service Region</a></li><li class="item-2627"><a href="/agmm" > AGMM</a></li><li class="item-1437"><a href="/membership/cost" > Fees Schedule</a></li><li class="item-808"><a href="/governance" > Governance</a></li><li class="item-809"><a href="/stats" > Statistics</a></li><li class="item-334"><a href="/corporate-documents" > Corporate Documents</a></li><li class="item-335"><a href="/team" > Our Team</a></li><li class="item-336"><a href="/contact" > Contact us</a></li></ul></li><li class="item-829 deeper parent"><a href="/our-work" > Our Work</a><span class="offcanvas-menu-toggler collapsed" data-toggle="collapse" data-target="#collapse-menu-829"><i class="open-icon fa fa-angle-down"></i><i class="close-icon fa fa-angle-up"></i></span><ul class="collapse" id="collapse-menu-829"><li class="item-520"><a href="/membership" > Membership Services</a></li><li class="item-518"><a href="/resources" > Internet Number Resources Management</a></li><li class="item-3685"><a href="/reverse-dns" > Reverse DNS</a></li><li class="item-517"><a href="/whois" > WHOIS</a></li><li class="item-1775"><a href="/membership/cost" > Fees Schedule</a></li><li class="item-674"><a href="/internet-routing-registry" > Internet Routing Registry (IRR)</a></li><li class="item-675"><a href="/dnssec" > DNSSEC Program</a></li><li class="item-677"><a href="/resource-certification" > Resource Certification Program (RPKI)</a></li><li class="item-521"><a href="/corporate-documents" > Corporate Documents</a></li><li class="item-522"><a href="http://learn.afrinic.net/" target="_blank" > Training Services</a></li><li class="item-730"><a href="/support" > Support & FAQs</a></li><li class="item-2794"><a href="/changelog" > Online Services Changelog</a></li><li class="item-672"><a href="/dns-support" > DNS Support Program</a></li><li class="item-678"><a href="/root-server-copy" > Root Server Copy Program</a></li><li class="item-3695"><a href="/internet-development-programs" > Internet Development Programs</a></li></ul></li><li class="item-163 deeper parent"><a href="/participate" > Participate</a><span class="offcanvas-menu-toggler collapsed" data-toggle="collapse" data-target="#collapse-menu-163"><i class="open-icon fa fa-angle-down"></i><i class="close-icon fa fa-angle-up"></i></span><ul class="collapse" id="collapse-menu-163"><li class="item-602"><a href="/code" > Code of Conduct</a></li><li class="item-603"><a href="/email" > Email & Mailing Lists</a></li><li class="item-604"><a href="/policy" > Policy Development</a></li><li class="item-3382"><a href="/committees/afgwg" > Governments</a></li><li class="item-605"><a href="/committees" > Committees</a></li><li class="item-606"><a href="/election-process" > Elections</a></li><li class="item-607"><a href="/exhaustion" > IPv4 Exhaustion</a></li><li class="item-608"><a href="/internet-governance" > Internet Governance</a></li><li class="item-2239"><a href="/privacy" > Privacy</a></li></ul></li><li class="item-164 deeper parent"><a href="/events" > Events</a><span class="offcanvas-menu-toggler collapsed" data-toggle="collapse" data-target="#collapse-menu-164"><i class="open-icon fa fa-angle-down"></i><i class="close-icon fa fa-angle-up"></i></span><ul class="collapse" id="collapse-menu-164"><li class="item-700"><a href="https://meeting.afrinic.net" target="_blank" > Meetings</a></li><li class="item-701"><a href="/events/sponsorship" > Sponsorship Opportunities</a></li><li class="item-802"><a href="/events/hosting-guide" > Hosting Guide</a></li><li class="item-703"><a href="http://learn.afrinic.net/events" target="_blank" > Training Workshops</a></li><li class="item-938"><a href="/outreach" > Outreach</a></li><li class="item-3673"><a href="/events/webinar-series" > Webinar Series</a></li></ul></li><li class="item-756 deeper parent"><a href="/news" > Media</a><span class="offcanvas-menu-toggler collapsed" data-toggle="collapse" data-target="#collapse-menu-756"><i class="open-icon fa fa-angle-down"></i><i class="close-icon fa fa-angle-up"></i></span><ul class="collapse" id="collapse-menu-756"><li class="item-757"><a href="/news" > News</a></li><li class="item-758"><a href="/press" > Press Releases</a></li><li class="item-759"><a href="/presentations" > Presentations</a></li><li class="item-761"><a href="/factsheets" > Factsheets</a></li><li class="item-947"><a href="/newsletter" > Newsletter</a></li><li class="item-2636"><a href="/branding" > Branding</a></li><li class="item-3377"><a href="/post-guidelines" > Contribution Guidelines</a></li></ul></li><li class="item-3734"><a href="https://blog.iso.afrinic.net/" > Blog</a></li></ul> </div></div> </div> <!-- /.offcanvas-inner --> </div> <!-- /.offcanvas-menu --> <!-- Gtranslate code to load website based on visitors system/browser language --> <script> function autoDetect() { var current_language = document.querySelector('html').getAttribute("lang") if(current_language == "*" || !current_language) current_language = 'en'; var accept_language = navigator.language.toLowerCase() || navigator.userLanguage.toLowerCase(); switch(accept_language) { case 'zh-cn': case 'zh': var preferred_language = 'zh-CN'; break; case 'zh-tw': case 'zh-hk': var preferred_language = 'zh-TW'; break; default: var preferred_language = accept_language.substr(0, 2); break; } var lg_flag = document.querySelector(".sp-module-content .notranslate option[onclick*='en|"+ preferred_language +"']"); var expiryDate = new Date(); expiryDate.setMonth(expiryDate.getMonth() + 1); if(preferred_language != current_language && lg_flag && document.cookie.match('gt_auto_switch') == null ) { document.cookie = 'gt_auto_switch=1; expires='+ expiryDate.toGMTString() +'; path=/;'; doGTranslate('en|'+preferred_language); } } autoDetect(); </script> <!-- Gtranslate code to load language selector dropdown with active language --> <script> var default_language = "en"; function switch_active_language(){ var current_lang = document.querySelector('html').getAttribute('lang') || default_language; if(current_lang == "en-gb") current_lang = "en"; var select_query = document.querySelector('#sp-top1 select option[value="en|'+ current_lang +'"]'); if(select_query) select_query.setAttribute("selected", "selected"); } //Change selected to current language jQuery(document).ready(function() { switch_active_language(); }); </script> <!-- OneTrust Cookies Settings button start --> <button id="ot-sdk-btn" class="ot-sdk-show-settings">Cookie Settings</button> <!-- OneTrust Cookies Settings button end --> <!-- Preloader --> <!-- Go to top --> <a href="javascript:void(0)" class="scrollup"> </a> <!-- Matomo --> <script type="text/javascript"> var _paq = _paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://analytics.afrinic.net/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '2']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src="https://analytics.afrinic.net/piwik.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript> <!-- End Matomo Code --></body> </html>