Download presentation
Presentation is loading. Please wait.
Published byJennifer Garrett Modified over 9 years ago
1
Welcome! APNIC Members Training Course Internet Resource Management Essentials 13-14 November 2003, Beijing, China Sponsored by CNNIC
2
Acknowledgement APNIC would like to thank CERNET staff for translating the training materials into Chinese. Chinese version can be downloaded from http://www.apnic.net/training
3
Introduction Presenters –John H’ng Training Manager –Champika Wijayatunga Senior Training Specialist –Miwa Fuji Training Officer –Guangliang Pan Internet Resource Analyst For any training queries
4
Assumptions & Objectives Assumptions –Are current or prospective APNIC member –Have not submitted many requests –Are not familiar / up-to-date with policies –Are not familiar with procedures Objectives –Teach members how to request resources from APNIC –Keep membership up-to-date with latest policies –Liaise with members Faces behind the e-mails
5
Schedule – Day 1 Introduction to APNIC Introduction to APNIC Internet Registry Policies Internet Registry Policies TEA BREAK (10:30 – 11:00) Addressing Plan Addressing Plan Requesting an allocation Requesting an allocation LUNCH (12:30 – 13:30) Sub-allocations & Assignments – Second opinion request Sub-allocations & Assignments – Second opinion request TEA BREAK (15:30 – 16:00) APNIC Database APNIC Database Reverse DNS Reverse DNS Summary Summary
6
Introduction to APNIC Asia Pacific Network Information Centre
7
Overview What is APNIC? Regional Internet Registry APNIC structure What Does APNIC do ? APNIC Membership services Why APNIC ? APNIC resources APNIC environment APNIC responsibilities Intro
8
What is APNIC? RIR for the Asia Pacific Regional Internet Registry –Regional authority for Internet Resource distribution –IPv4 & IPv6 addresses, ASNs, reverse dns delegation Industry self-regulatory body – Non-profit, neutral and independent Open membership-based structure Intro
9
APNIC Membership Intro Last Update Oct 2003
10
APNIC is not… Not a network operator –Does not provide networking services Works closely with APRICOT forum Not a standards body –Does not develop technical standards Works within IETF in relevant areas (IPv6 etc) Not a domain name registry or registrar Will refer queries to relevant parties Intro
11
APNIC structure Industry self-regulatory structure – Participation by those who use Internet resources – Consensus-based decision making Eg. Policy changes, db requirements etc – Open and transparent Meetings and mailing lists –Open to anyone Intro
12
APNIC region Intro
13
Internet Registry structure ICANN ASO APNICARINRIPE NCCLACNIC IANA NIRLIR ISP LIR ISP Intro
14
APNIC Services & Activities Resources Services IPv4, IPv6, ASN, reverse DNS Policy development –Approved and implemented by membership APNIC whois db –whois.apnic.net –Registration of resources Information dissemination APNIC meetings Web and ftp site Mailing lists –Open for anyone! Training Courses –Subsidised for members Co-ordination & liaison –With membership, other RIRs & other Internet Orgs. Intro
15
Definition – “Internet Community” Global Internet Community APNIC Internet Community IETF ISOC Individuals APNIC Members APAN SANOG ISP Associations
16
Questions ?
17
Internet Registry Policy Development
18
Overview of APNIC policies –Principles of policy development –Definitions –Background –Objectives –Environment –Allocation & Assignment Policies –Summary Policies
19
Principles of policy development ‘Bottom up’, consensus based decision making –Community proposes and approves policy –No policies implemented without consensus of community Open and transparent –Anyone can attend –All decisions archived Policy dev
20
Participation in policy development Why should I bother? –Responsibility as an APNIC member To be aware of the current policies for managing address space allocated to you –Business reasons Policies affect your business operating environment and are constantly changing Ensure your ‘needs’ are met –Educational Learn and share experiences Stay abreast with ‘best practices’ in the Internet Policy dev
21
Principles of policy development process TRANSPARENT‘BOTTOM UP’ All decisions & policies documented & freely available to anyone Anyone can participate Internet community proposes & approves policy OPEN Consensus based Policy dev
22
Elements of the process Member Meeting Working Groups Birds of a Feather Special Interest Groups Open Policy Meeting & Mailing Lists SIGs: Formal groups which discuss broad areas of policy relevant to the APNIC internet community BOFs: Informal meetings to exchange ideas eg. CA BOF, Network Abuse BOF, Training Need to hold at least one to form new SIG WGs: semi formal, volunteer group tasked by a SIG to work on a particular project until completed eg. ‘Broadband’ MM: forum specific to APNIC business eg. fee structure, election of executive council & endorsement of policy decisions Policy dev
23
How does it work? Self regulation in practice New policy or amendment proposed Endorsement by MM? Report of consensus in SIG to MM Consensus? Implementation 3 months Posted to SIG ML for discussion Face to face discussions in public open forum (SIGs) YES NO Policy dev
24
How to get your voice heard Contribute on the public mailing lists –http://www.apnic.net/community/lists/index.html Attend meetings –Or send a representative –Gather input at forums like SANOG Give feedback –Training or seminar events APNIC17, Kuala Lumpur MY, 18-27 February 2004 –Listen to multicast, stay informed –http://www.apnic.net/meetings Policy dev
25
Definitions
26
RFC 1519 Classful and Classless Classful (Obsolete) –Wasteful address architecture network boundaries are fixed at 8, 16 or 24 bits (class A, B, and C) Classless –Efficient architecture network boundaries may occur at any bit (e.g. /12, /16, /19, /24 etc) CIDR Classless Inter Domain Routing architecture –Allows aggregation of routes within ISPs infrastructure Policies Best Current Practice RFC 1518 RFC 1517
27
Policies * See back of slide booklet for complete chart Network boundaries may occur at any bit Classless & Classful addressing 16K networks x 64K hosts 128 networks x 16M hosts A B 2M networks x 256 hosts C Obsolete inefficient depletion of B space too many routes from C space Classful Classless Best Current Practice AddressesPrefixClassfulNet Mask... 8 /29 255.255.255.248 16/28255.255.255.240 32/27255.255.255.224 64/26255.255.255.192 128/25255.255.255.128 256/241 C255.255.255.0... 4096/2016 C’s255.255.240.0 8192/1932 C’s255.255.224 16384 32768 65536 /18 /17 /16 64 C’s 128 C’s 1 B 255.255.192 255.255.128 255.255.0.0...... *
28
Allocation and Assignment Allocation “A block of address space held by an IR (or downstream ISP) for subsequent allocation or assignment” Not yet used to address any networks Assignment “A block of address space used to address an operational network” May be provided to LIR customers, or used for an LIR’s infrastructure (‘self-assignment’) Policies
29
Sub- Allocation /22 /8 APNIC Allocation Allocation and Assignment /24 /20 Member Allocation Customer Assignments /25 Policies /26 /27 /26 APNIC Allocates to APNIC Member APNIC Member Customer / End User Assigns to end-user Allocates to downstream Downstream Assigns to end-user
30
Portable & non-portable Portable Assignments –Customer addresses independent from ISP Keeps addresses when changing ISP –Bad for size of routing tables –Bad for QoS: routes may be filtered, flap- dampened Non-portable Assignments –Customer uses ISP’s address space Must renumber if changing ISP –Only way to effectively scale the Internet Policies
31
Allocation & assignment terms Policies Terms used in ‘status’ field in the APNIC database Describes “portability” of the address space /8 /25 Assignment Assigned Non-Portable /8 /26 APNIC Allocation Assigned Portable Assignment APNIC Allocation /26 Assignment Assigned Non-Portable Sub-allocation /22 /20 Member Allocation Allocated Portable Allocated Non-Portable
32
Aggregation and “portability” Aggregation (Non-portable Assignments) (Portable Assignments) No Aggregation BGP Announcement (1) BGP Announcements (4) ISP Allocation Customer Assignments ISP Policies
33
Objectives
34
APNIC Policies - objectives Conservation Ensuring efficient use and conservation of resources Aggregation Limiting growth of routable prefixes Registration Registering the Internet resources in a public db Uniqueness Global visibility Fairness and consistency Equal consideration irrespective of external factors Policies
35
Why do we need policies ? - Global IPv4 Delegations Policies
36
Growth of global routing table last updated 29 Sep 2003 http://bgp.potaroo.net/as1221/bgp-active.html Deployment Period of CIDR CIDR made it work for a while But they cannot be relied on forever Projected routing table growth without CIDR ISPs tend to filter longer prefixes Policies
37
Routing table prefix distribution Last updated 29 Nov 2002 Policies
38
APNIC policy environment “IP addresses not freehold property” –Assignments & allocations on license basis Addresses cannot be bought or sold Internet resources are public resources ‘Ownership’ is contrary to management goals “Confidentiality & security” –APNIC to observe and protect trust relationship Non-disclosure agreement signed by staff Policies
39
APNIC allocation policies Aggregation of allocation –Provider responsible for aggregation –Customer assignments /sub-allocations must be non-portable Allocations based on demonstrated need –Detailed documentation required All address space held to be declared –Address space to be obtained from one source routing considerations may apply –Stockpiling not permitted Policies
40
APNIC allocation policies Transfer of address space –Not automatically recognised Return unused address space to appropriate IR Effects of mergers, acquisitions & take-overs –Will require contact with IR (APNIC) contact details may change new agreement may be required –May require re-examination of allocations requirement depends on new network structure Policies
41
Address assignment policies Assignments based on requirements Demonstrated through detailed documentation Assignment should maximise utilisation –minimise wastage Classless assignments showing use of VLSM Size of allocation –Sufficient for up to 12 months requirement Policies
42
Questions ?
43
Internet Registry Procedures Addressing Plan
44
Addressing plan To complete documentation –First need a technical PLAN Documenting the architecture of the present and eventual goal –IP addressing is fundamental part of network design –IP addressing ‘planning’ example to follow.. Addressing Plan
45
Some icons Router (layer 3, IP datagram forwarding) Network Access Server (layer 3, IP datagram forwarding ) Ethernet switch (layer 2, packet forwarding) Addressing Plan
46
Addressing plan Identify components of network –Customer services –ISP internal infrastructure Identify phases of deployment –Starting off, 6 months, 12 months Identify equipment and topology changes –Need for redundancy –Need for increased scale Addressing Plan
47
Network plan Starting off ’ Leased line services 5-8 customers Dialup services 16 modems Interconnected resilience Upstream ISP 15 hosts NOC operations 10 hosts Internal DNS,Web Mail servers ISP Infrastructure Customer services 5 hosts Virtual web (name based) Addressing Plan
48
Network plan WAN point to point /30 5 hosts 15 hosts 10 hosts Upstream ISP 16 dialup modems 5-8 leased line customers ‘ip unnumbered’ to customers one loopback interface per assigned router /32 ‘ip unnumbered’ to upstream ISP Addressing Plan
49
Addressing plan network-plan: analogue dialup modems, vendor ‘x’ LAN -web hosting (Name-based hosting) 5-8 leased line customers (/28) network-plan: LAN -NOC and Ops management LAN -mail,DNS, web servers internal loopback router interfaces router WAN ports (x 5 lines) Initial addressing plan 16 5 128 15 10 4 2 - numbers of host addresses (interfaces) Addressing Plan
50
Network plan 60 dialup modems (2PRI) 30 leased line customers 11 hosts name- based 8 hosts- 2ndary Servers 25 hosts- NOC 16 hosts- Servers 60 dialup modems (2PRI) Upstream ISP added new router and LAN for redundancy added new dial up equipment replaced original modem increased number of leased line customers increased number of hosts on all LANs 6 months later –scale increased –redundancy Addressing Plan
51
Addressing plan Network plan at 6 months 60 11 512 25 16 6 2 - increases in hosts (interfaces) New hardware 2 PRI dialup modems LAN-secondary servers network-plan: 0/ 60 8 network-plan: 2 PRI dialup modems, vendor ‘y’ LAN -web hosting (Name-based hosting) 30 leased line customers (pool) 16/ 5/ 128/ 15/ 10/ 4/ 2/ network-plan: LAN -NOC and Ops management LAN -mail,DNS, web servers internal loopback router interfaces router WAN ports (x 8 lines) Changed description Addressing Plan
52
Network plan 12 months total –site redundancy –greater complexity –efficiency 60 leased line customers ip unnumbered 11 hosts 8 hosts 35 host 240 dialup modems (8PRI) Upstream ISP A 240 dialup modems (8PRI) 40 hosts Upstream ISP B added new customer router redundancy of WAN connections now numbered links for BGP4 two pieces of essential equipment Addressing Plan
53
Addressing plan network-plan: 8 PRI dialup modems, vendor x 8 PRI dialup modems, vendor y LAN -web hosting (Name-based hosting) 60 leased line customers (pool) 16/60/ 0/60/ 5/11/ 128/512/ 15/25/ 10/16/ 0/8/ 2/2/ 4/6 network-plan: LAN -NOC and Ops management LAN -mail,DNS, web servers internal LAN-secondary servers router WAN ports (x 8 lines) loopback router interfaces Network plan at 12 months 240 11 1020 40 35 8 2 12 -increases in hosts (interfaces) -one year total Addressing Plan
54
Addressing plan network-plan: 8 PRI dialup modems, vendor x 8 PRI dialup modems, vendor y LAN -web hosting (Name-based hosting) 60 leased line customers (pool) 16/60/240 0/60/240 5/11/11 128/512/1020 15/25/40 10/16/35 0/8/8 2/2/2 4/6/12 network-plan: LAN -NOC and Ops management LAN -mail,DNS, web servers internal LAN-secondary servers router WAN ports (x 8 lines) loopback router interfaces 256 16 1024 64 8 4 16 Can now determine subnet sizes Addressing Plan
55
Addressing plan –Addressing plan for network-plan –re-ordered large to small according to relative subnet size –determination of relative subnet addresses network-plan: 0.0.0.01024128/512/1020 60 leased line customers (pool) network-plan:0.0.4.025616/60/240 8 PRI dial up modems, vendor x network-plan:0.0.5.02560/60/240 8 PRI dial up modems, vendor y network-plan:0.0.6.06410/16/35 LAN -mail,DNS, web internal network-plan:0.0.6.646415/25/40 LAN -NOC and Ops management network-plan:0.0.6.128165/11/11 LAN -web hosting (Name-based hosting) network-plan:0.0.6.144160/8/8 LAN -secondary servers network-plan:0.0.6.160164/6/12 loopback router interfaces network-plan:0.0.6.17642/2/2 router WAN ports (x8) –cumulative total 0.0.6.208 Addressing Plan
56
Addressing plan – Addressing plan for network-plan – connect to the Internet (full-time, part-time)? network-plan: 0.0.0.0255.255.252.0 YES 1024 128/512/1020 60 leased customers network-plan:0.0.4.0255.255.255.0 PART 256 16/60/240 8 PRI dial up modems.. network-plan:0.0.5.0255.255.255.0PART 256 0/60/240 8 PRI dial up modems.. network-plan:0.0.6.0255.255.255.192YES 6410/16/35 LAN -mail,DNS, web internal network-plan:0.0.6.64255.255.255.192YES 6415/25/40 LAN -NOC & Ops mgmt network-plan:0.0.6.128255.255.255.240YES 165/11/11 LAN -web hosting (Name-based) network-plan:0.0.6.144255.255.255.240 YES 16 0/8/8 LAN -secondary servers network-plan:0.0.6.160255.255.255.240YES 16 4/6/12 loopback router interfaces network-plan:0.0.6.176255.255.255.252YES 42/2/2 router WAN ports (x 8 ) Addressing Plan
57
–Addressing plan complete –total planned for customer assignments /22 –total planned for ISP infrastructure /24 + /23 network-plan: 0.0.0.0255.255.252.0 YES 1024 128/512/1020 60 leased line customers network-plan:0.0.4.0255.255.255.0 PART 256 16/60/2408 PRI dial up modems.. network-plan:0.0.5.0255.255.255.0PART 256 0/60/2408 PRI dial up modems.. network-plan:0.0.6.0255.255.255.192YES 6410/16/35LAN -mail,DNS, web internal network-plan:0.0.6.64255.255.255.192YES 6415/25/40 LAN -NOC & Ops mgmnt network-plan:0.0.6.128255.255.255.240YES 165/11/11 LAN -web hosting (Name-based) network-plan:0.0.6.144255.255.255.240 YES 16 0/8/8LAN -secondary servers network-plan:0.0.6.160255.255.255.240YES 16 4/6/12loopback router interfaces network-plan:0.0.6.176255.255.255.252YES 42/2/2router WAN ports (x 8 lines ) –detailed, efficient and accurate Addressing plan Addressing Plan
58
Questions ?
59
Internet Registry Polices & Procedures ISP Request
60
IP Growth in Asia Pacific Last Update 26 Sep 2003 IP Req
61
Initial IPv4 allocation criteria 1a.Have used a /22 from upstream provider –Demonstrated efficient previous address usage OR 1b.Show immediate need for /22 Can include customer projections & infrastructure equipment 2.Detailed plan for use of /21 within a year 3.Renumber to new space within 1 year –Meet all policy requirements Applicants may be required to show purchase receipts Policies
62
Small multihoming assignment policy 1a. Applicants currently multihomed OR 1b. Demonstrate a plan to multihome within 1 month 2. Agree to renumber out of previously assigned space –Demonstrate need to use 25% of requested space immediately and 50% within 1 year –Meet all policy requirements or have the assignment revoked Policies
63
IPv4 assignment policy for IXPs Criteria –3 or more peers –Demonstrate “open peering policy” –Not announce assignment to global routing table APNIC has a reserved block of space from which to make IXP assignments Policies IXPs can apply for an assignment of /24 for Transit LAN
64
ISP address request Hostmaster Administrivia – mailbox filtered Requires member account name –Subject: IP Address Request [CONNECT-AU] Ticketing system –Every request is assigned a ticket Please keep # in subject line of email eg. –[APNIC #14122] [CHINANET-CN] New staff at ISP –Require an ‘introduction’ to APNIC To ensure confidentiality members only ISP Req
65
ISP address request More documentation and clarification by Member no Member has completed documentation? Step 1 yes Evaluation of request by APNIC - OK? Step 2 yes update local records update APNIC database Notify Member Step 3 Allocation by APNIC no Life Cycle ISP Req
66
ISP address request - Overview Contact Details Network Information Existing Customer Network Information Existing Infrastructure Network Information Future Network Plan Additional Information –Topology diagrams, Equipment details ISP Req
67
ISP address request instructions Complete the documentation –ISP Address Request Form Web Form: –http://www.apnic.net/services/ipv4/ Plain text –http://ftp.apnic.net/apnic/docs/isp-address-request The more detailed and precise –Fewer iterations with APNIC Quicker resolution time Read the quick tips! http://www.apnic.net/faq/isp-request-tips.html ISP Req APNIC- 084
68
Additional info - renumbering & return policy Renumbering? one-for-one exchange to assist renumbering needs confirmation from upstream ISP to confirm renumbering will take place ‘No Questions Asked’ return prefix policy swap 3 or more discontiguous prefixes (ISP or customers) for single prefix, no charge –ftp://ftp.apnic.net/apnic/docs/no-questions-policy –Form for returning addresses –ftp://ftp.apnic.net/apnic/docs/address-return-request ISP Req
69
Guidelines - Virtual web hosting Name based hosting –‘Strongly recommended’ Use ‘infrastructure’ field to describe web servers IP based hosting –Permitted on technical grounds –SSL, virtual ftp.. –Use ‘infrastructure’ field to describe web servers –Special verification for IP based –If more than /22 used for this purpose –Requestor must send list of URLs of virtual domain and corresponding IP address ISP Req - Eval
70
Guidelines - Cable, DSL services 1:1 contention ratio Can be either statically or dynamically assigned Means 1 IP address per customer Greater than 1:1 contention ratio Preferred because conserves address space Choice of addressing is optional for members dynamic addressing is encouraged Verification for DSL Services –Equipment details Ex: BRAS, Number of ports –Purchase receipts ISP Req - Eval
71
Guidelines - New cable services Bootstrapping criteria for new cable service Applies to startup providers commencing new cable service –Allocation size based on assumption that requestor will assign a /24 to each CMTS in their network –Complete additional information with make, model & quantity information –Purchase receipts for equipments may be asked ISP Req - Eval
72
Guidelines - New cable services Through ‘infrastructure’ description –Additional information needed Head-end location, # Homes passed, Devices(CMTS), Capacity of CMR per CMTS, # Current Users # Assigned IP’s for each CMTS, Additional CMTS in 6 months time, Growth rate/month Example: Headend | Homespassed | Device | Capacity | Brisbane 15000 Motorola 1000 Current Users | IP | Device-Added | G-rate/Month 750 800 1 1254 ISP Req - Eval
73
Customer assignments Customer growth estimation –The invoice for the additional CMTS purchased for the expansion Required to report customer assignments greater than /30 –Through second opinion process –Register the assignment in APNIC whois database ISP Req - Eval
74
Residential networks For residential networks –Do not need to register on-site tech-c, ISP tech-c can be used Cable, DSL services –Special verification for 1:1 (permanently on-line) For anything over a /22 in total, verification through customer list for random head-ends or other alternative ISP Req - Eval
75
GPRS –Infrastructure Agreed to use public addresses to support roaming and use private addresses where possible Business as usual for RIRs –Mobile phones Draft document prepared by GSM Association Recommends using private addresses where possible ISP Req - Eval
76
Evaluation by APNIC - Summary All address space held should be documented Check other RIR, NIR databases for historical allocations ‘No reservations’ policy Reservations may never be claimed Fragments address space Customers may need more or less address space than is actually reserved ISP Req - Eval
77
First allocation Must meet criteria (discussed in policy section) Requires clear detailed and accurate request Implementation of ‘Best Current Practice’ Efficient assignments planned Always a /20 ‘slow start’ Exceptions made for very large networks but not common ISP Req - Eval
78
Subsequent allocations 80% overall utilisation Unless large assignment pending Demonstrated conservative assignments Correct customer registrations in db Need to fix inconsistencies before next allocation Allocation size to cover 1 year need Based on previous utilisation rate Contiguous allocation not guaranteed But every effort made ISP Req - Eval
79
APNIC approval ISP Req - Eval Dear xxxx I am pleased to advise you that in response to your request for Internet resources, APNIC has allocated the following range of IPv4 addresses to the organisation below. ** IMPORTANT THINGS TO KNOW ** 1. The address range allocated to your organisation is portable If you change transit providers, the address range remains with your organisation. 2. Assignments and sub-allocations from this address range to customers are non-portable Customers who cease connectivity with your organisation must return any addresses your organisation has assigned or sub-allocated to them. 3. Assignment Window (AW) If the amount of address space your organisation wishes to assign or sub-allocate to a customer is greater than your assignment window then please email for approval. For more information on APNIC's new policy on sub-allocating space to customers, see: http://www.apnic.net/meetings/14/results.html 4. Aggregation This new allocation should, wherever technically possible, be aggregated with any other address ranges the organisation announces to its upstream or transit ISP. 5. No guarantee of routability APNIC cannot guarantee that any address space will be globally routable. APNIC expectation: Announce allocation as single aggregate Assignments & sub- allocations are non- portable
80
Allocation object & contacts person: Santosh Desai address: Rolta Center II, MIDC, Andheri, address: Mumbai-400 093 country: IN phone: +91-22-832 7708 fax-no: +91-22-836 5992 e-mail: santosh@rolta.com nic-hdl: SD34-AP mnt-by: MAINT-IN-SANTOSHDESAI changed: santosh@rolta.com 20000526 source: APNIC person: Vinay Sawarkar address:Rolta Center II, MIDC, Andheri, address:Mumbai-400 093 country: IN phone: +91-22-832 7708 fax-no: +91-22-836 5992 e-mail: vinay@rolta.com nic-hdl: VS9-AP mnt-by: MAINT-IN-SANTOSHDESAI changed:vinay@rolta.com 20000526 source: APNIC inetnum: 202.60.128.0 - 202.60.159.255 netname: ROLTANET descr: Rolta India Limited descr: Rolta Center II descr: MIDC Marol descr: Andheri(East)- Mumbai-400 093 country: IN admin-c: VS9-AP tech-c: SD34-AP mnt-by: APNIC-HM mnt-lower: MAINT-IN-SANTOSHDESAI changed: hostmaster@apnic.net 19990323 status: ALLOCATED PORTABLE source: APNIC Contacts for network ISP Req - Eval
81
Questions ?
82
Second opinion request Assignment Window Second Opinion Request Form Evaluation
83
What is an Assignment Window? “The amount of address space a member may assign without a ‘second opinion’” All members have an AW –Starts at zero, increases as member gains experience in address management Second opinion process –Customer assignments require a ‘second-opinion’ when proposed assignment size is larger than members AW 2 nd Opinion
84
Assignment Window Size of assignment window –Evaluated after about 5 2nd-opinion requests –Increased as member gains experience and demonstrates understanding of policies Prefix length normally reduced by 1 bit at a time Assignment window may be reduced, in rare cases Why an assignment window? –Monitoring ongoing progress and adherence to policies –Mechanism for member education 2 nd Opinion
85
Request < AW? APNICapprovesrequest? Member updates DB & local records & makes assignment Yes Member adds comments & recommendations & sends to hostmaster@apnic.net No Step 1 - Member and customer complete 2nd Opinion Request form Step 3 - Assignment Window procedure Step 2 - Member evaluates customers requirements iteration No Yes Assignment window process 2 nd Op
86
Second opinion request form Used to seek approval for: –IPv4 assignments & sub-allocations –Multiple/additional IPv6 /48s to a single customer Before you start: –Separate form for each request –Help buttons available –Form can be saved by use of password 2 nd Opinion
87
Overview of 2nd opinion form Applicant information Type of request Network name Future network plan Customer’s existing network Customer assignments to end-sites Sub-allocation infrastructure Additional information Confirm details Contact details, password IPv6 / IPv4, Assignment / Sub-allocation Network name, description, country Planned IP usage IPs held by customer IPs held by customer & customer’s customers IPv4 Sub-allocations IPv4/IPv6 Assignments Any additional info that may aid the evaluation Check your details 2 nd Opinion
88
2 nd opinion evaluation (policy) Efficiency –More than 50% used in any one subnet? –Can different subnet sizes be used? –More than 80% used for previous assignment? Stockpiling –Is all address space held declared on form? –Has organisation obtained address space from more than one member/ISP? Registration –Is previous assignment in APNIC database and are they correct and up to date? 2 nd Opinion
89
Customer assignment Member updates internal records –Select address range to be assigned –Archive original documents sent to APNIC –Update APNIC database Clarify status of address space –APNIC requirement is ‘Non portable’ –‘Portable’ assignments are made by APNIC only with the end-user request form Organisation must have technical requirement 2 nd Opinion
90
Questions ?
91
The APNIC Database Usage, Protection and Updating
92
Overview Database Objects Queries & updates Protection Authentication DB Intro
93
What is the APNIC database? Public network management database Operated by IRs Tracks network resources IP addresses, ASNs, Reverse Domains, Routing policies Records administrative information Contact information (persons/roles) Authorisation DB Intro
94
Object types OBJECT PURPOSE personcontact persons rolecontact groups/roles inetnumIPv4 addresses inet6numIPv6 addresses aut-numAutonomous System number domainreverse domains routeprefixes being announced mntner(maintainer) data protection DB Intro http://www.apnic.net/db/
95
Object templates whois -t person: [mandatory] [single] [primary/look-up key] address: [mandatory] [multiple] [ ] country: [optional] [single] [ ] phone: [mandatory] [multiple] [ ] fax-no: [optional] [multiple] [ ] e-mail: [mandatory] [multiple] [look-up key] nic-hdl: [mandatory] [single] [primary/look-up key] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ] % whois -h whois.apnic.net -t person To obtain template structure*, use : DB Intro *Recognised by the RIPE whois client/server
96
Person object example –Person objects contain contact information person: address:address: country: phone: fax-no: e-mail: nic-hdl: mnt-by: changed: source: Attributes Values Ky Xander ExampleNet Service Provider 2 Pandora St Boxville Wallis and Futuna Islands WF +680-368-0844 +680-367-1797 kxander@example.com KX17-AP MAINT-WF-EX kxander@example.com 20020731 APNIC DB Intro
97
What is a nic-hdl? Unique identifier for a person Represents a person object –Referenced in objects for contact details (inetnum, aut-num, domain…) –format: Eg: KX17-AP DB Intro person: Ky Xander address: ExampleNet Service Provider address: 2 Pandora St Boxville address: Wallis and Futuna Islands country: WF phone: +680-368-0844 fax-no: +680-367-1797 e-mail: kxander@example.com nic-hdl: KX17-AP mnt-by: MAINT-WF-EX changed: kxander@example.com 20020731 source: APNIC
98
Inetnum object example –Contain IP address allocations / assignments inetnum: netname: descr: country: admin-c: tech-c: status: mnt-by: mnt-lower: changed: source: 202.51.64.0 - 202.51.95.255 CCNEP-NP-AP Communication & Communicate Nepal Ltd VSAT Service Provider, Kathmandu NP AS75 -AP AS75-AP ALLOCATED PORTABLE APNIC-HM MAINT-NP-ARUN hostmaster@apnic.net 20010205 APNIC Attributes Values DB Intro
99
Inter-related objects inetnum: 202.64.10.0 – 202.64.10.255 … admin-c: KX17-AP tech-c: ZU3-AP … mnt-by: MAINT-WF-EX … IPv4 addresses person: … nic-hdl: ZU3-AP … Contact info person: … nic-hdl: KX17-AP … Contact info mntner: MAINT-WF-EX… Data protection DB Intro
100
Database query - clients Standard whois client Included with many Unix distributions –RIPE extended whois client http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase- client.tar.gz Query via the APNIC website http://www.apnic.net/apnic-bin/whois2.pl Query clients - MS-Windows etc –Many available DB Intro
101
Database query (unix)- inetnum Note Incomplete addresses padded with “.0” Address without prefix interpreted as “/32” % whois 203.127.128.0 - 203.127.159.255 % whois SINGNET-SG % whois 203.127.128.0/19 inetnum: 203.127.128.0 - 203.127.159.255 netname: SINGNET-SG descr: Singapore Telecommunications Ltd descr: 31, Exeter Road, #02-00, Podium Block descr: Comcentre, 0923 country: SG admin-c: CWL3-AP tech-c: CWL3-AP mnt-by: APNIC-HM changed: hostmaster@apnic.net 19990803 source: APNIC DB Intro
102
Database query (web) - role Query the APNIC Whois Database http://www.apnic.net/apnic-bin/whois2.pl 2.Search options (flags) 1.Type in search key 3. ‘Search Whois’ DB Intro
103
Database query (web) - role DB Intro Need help? General search help Help tracking spam and hacking % [whois.apnic.net node-1] % How to use this server http://www.apnic.net/db/ % Whois data copyright termshttp://www.apnic.net/db/dbcopyright.html role: OPTUS IP ADMINISTRATORS address: Optus Communications address: 101 Miller Street address: North Sydney NSW 2060 country: AU phone: +61-2-93427681 phone: +61-2-93420848 phone: +61-2-93420983 phone: +61-2-93420813 phone: +61-2-93420717 fax-no: +61-2-9342-0998 fax-no: +61-2-9342-6122 e-mail: ipadmin@optus.net.au trouble: send spam/abuse reports to abuse@optus.net.au trouble: please use http://www.apnic.net/db/spam.html trouble: to identify networks before sending reports and trouble: always include full headers/logs. admin-c: NC8-AP tech-c:NC8-AP tech-c:CN39-AP tech-c:GE7-AP tech-c:PS176-AP nic-hdl: OA3-AP notify: hostmaster@optus.net.au mnt-by: MAINT-OPTUSCOM-AP changed: ipadmin@optus.net.au 20021120 source: APNIC Query the APNIC Whois Database Result of search on nic-hdl “OA3-AP” (‘Optus IP administrators’ role object)
104
Advanced database queries –Flags used for inetnum queries None find exact match - l find one level less specific matches - L find all less specific matches - m find first level more specific matches - M find all More specific matches - x find exact match (if no match, nothing) - d enables use of flags for reverse domains - r turn off recursive lookups
105
inetnum: 202.64.0.0/20 inetnum: 202.0.0.0 – 202.255.255.255 202.0.0.0/8 Database query - inetnum whois -L 202.64.0.0 /20 (all less specific) whois 202.64.0.0 /20 whois –m 202.64.0.0 /20 (1 level more specific) inetnum: 202.64.10.0/24 inetnum: 202.64.10.192/26 inetnum: whois -l 202.64.0.0 /20 (1 level less specific) whois –M 202.64.0.0 /20 (all more specific) 202.64.0.0/16
106
‘-M’ will find all assignments in a range in the database inetnum:202.64.10.0 - 202.64.10.255 netname:SILNET-AP descr: Satyam Infoway Pvt.Ltd.,..... inetnum: 202.64.12.128 - 202.64.12.255 netname: SOFTCOMNET descr: SOFTCOM LAN (Internet)IP...... inetnum:202.64.15.192 – 202.64.15.255 descr: SILNET descr: Satyam Infoway's Chennai LAN..... % whois -M 202.64.0.0/20 Database query - inetnum
107
IP address queries -x –Only an exact match on a prefix If no exact match is found, no objects are returned whois -x [IP range] -d –Enables use of the "-m", "-M", "-l" and “- L" flags for lookups on reverse delegation domains.
108
Recursive lookups whois 202.12.29.0 –whois -r 202.12.29.0 –whois -T inetnum 202.12.29.0 –whois -r -T inetnum 202.12.29.0 person inetnum route inetnum route person inetnum recursion enabled by default recursion turned off ‘type’ of object specified ‘type’ of object specified & recursion turned off, & & & DB query
109
Recursion is enabled by default % whois 203.113.0.0/19 inetnum: 203.113.0.0 - 203.113.31.255 netname: TOTNET-AP descr: Telephone Organization of THAILAND(TOT) descr: Telephone and IP Network Service Provider descr: State Enterprise Thailand Government country: TH admin-c: NM18-AP tech-c: RC80-AP ……. person: Nopparat Maythaveekulchai address: YTEL-1234 Office address: Telephone Organization of THAILAND(TOT) person: Rungsun Channarukul address: YTEL-1234 OfficeP address: Telephone Organization of THAILAND(TOT) ……. Database query - recursion
110
Turn off recursion ‘-r’ no nic-handle lookup % whois -r 203.113.0.0/19 inetnum: 203.113.0.0 - 203.113.31.255 netname: TOTNET-AP descr: Telephone Organization of THAILAND(TOT) descr: Telephone and IP Network Service Provider descr: State Enterprise Thailand Government country: TH admin-c: NM18-AP tech-c: RC80-AP mnt-by: APNIC-HM mnt-lower: MAINT-TH-SS163-AP changed: hostmaster@apnic.net 19990922 source: APNIC Database query – no recursion
111
Inverse queries Inverse queries are performed on inverse keys See object template (whois –t) Returns all objects that reference the object with the key specified as a query argument Practical when searching for objects in which a particular value is referenced, such as your nic-hdl Syntax: whois -i
112
Inverse queries - examples What objects are referencing my nic-hdl? –whois -ipn KX17-AP In what objects am I registered as tech-c? –whois –i tech-c KX17-AP Return all domain objects where I am registered as admin-c, tech-c or zone-c –whois -i admin-c,tech-c,zone-c -T domain KX17-AP What objects are protected by my maintainer? –whois -i mnt-by MAINT-WF-EX no space! DB query
113
Database query - inverse inetnum: 202.101.128.0 - 202.101.159.255 netname: CHINANET-FJ descr: chinanet fujian province network country: CN admin-c: DK26-AP …… domain: 128.103.202.in-addr.arpa descr: in-addr.arpa zone for 128.103.202.in-addr.arpa admin-c: DK26-AP ……. aut-num: AS4811 as-name: CHINANET-CORE-WAN-EAST descr: CHINANET core WAN EAST descr: connect to AT&T,OPTUS country: CN admin-c: DK26-AP …… person: Dongmei Kou address: A12,Xin-Jie-Kou-Wai Street, address: Beijing,100088 country: CN phone: +86-10-62370437 nic-hdl: DK26-AP % whois -i person DK26-AP Inverse lookup with ‘-i ‘ DB query
114
Database query - options –Summary of other flags: - iinverse lookup on given attribute - tgive template for given type - vverbose information for given type - hspecify database server site –For more information try... whois -h whois.apnic.net HELP
115
Creating a person object Whois Database Guide: http://www.apnic.net/services/whois_guide.html 1.Fill out person object form on web Name, e-mail, phone, address etc Tick ‘MNT-NEW’ for temporary protection 2. Completed template is sent to you 3. Forward template to 4. Person object created and nic-hdl is generated DB Intro
116
LIR registration responsibilities 1.Create person objects for contacts To provide contact info in other objects 2.Create mntner object To provide protection of objects –(To be discussed later) 3.Create inetnum objects for all customer address assignments (Allocation object created by APNIC) DB Intro
117
inetnum : Allocation (Created by APNIC) 3 Using the db – step by step Customer Assignments (Created by LIR) person: nic-hdl: KX17-AP Contact info 1 Data Protection mntner: 2 inetnum:... KX17-AP... mnt-by:... 4 inetnum:... KX17-AP... mnt-by:... 5 inetnum:... KX17-AP... mnt-by:... 6 DB Intro
118
Database auto-responses Successful update SUCCEEDED Objects accepted Warnings Objects accepted but ambiguous Objects corrected and accepted Errors FAILED Objects NOT accepted Don’t understand the error message? 1.Help documentation http://www.apnic.net/docs/database-update-info.html 2. Contact Include the error message ?
119
Parse Database mailboxes Automatic request processing –Automatic “robot” for all db updates –Email template for create/update/delete Database service support –E-mails answered by APNIC staff –1 day response time DB 2
120
Database protection - maintainer object mntner:MAINT-WF-EX descr: Maintainer for ExampleNet Service Provider country: WF admin-c: ZU3-AP tech-c: KX17-AP upd-to: kxander@example.com mnt-nfy: kxander@example.com auth: CRYPT-PW apHJ9zF3o mnt-by: MAINT-WF-EX referral-by: MAINT-APNIC-AP changed: kxander@example.com 20020731 source: APNIC DB 2 protects other objects in the APNIC database
121
Creating a maintainer object 1.Fill out webform –Provide: Admin-c & tech-c password email address etc 2.Completed form will be sent to you 3.Forward request to maint-request@apnic.net 4.Maintainer will be created manually Manual verification by APNIC Hostmasters 5.Update your person object with mntner http://www.apnic.net/services/whois_guide.html
122
Database protection Authorisation –“mnt-by” references a mntner object Can be found in all database objects “mnt-by” should be used with every object! Authentication –Updates to an object must pass authentication rule specified by its maintainer object DB 2
123
Authorisation mechanism mntner:MAINT-WF-EX descr: Maintainer for ExampleNet Service Provider country: WF admin-c: ZU3-AP tech-c: KX17-AP upd-to: kxander@example.com mnt-nfy: kxander@example.com auth: CRYPT-PW apHJ9zF3o mnt-by: MAINT-WF-EX changed: kxander@example.com 20020731 source: APNIC inetnum:202.137.181.0 – 202.137.185.255 netname: EXAMPLENET-WF descr: ExampleNet Service Provider ………. mnt-by: MAINT-WF-EX DB 2
124
Maintainer specific attributes mnt-nfy: Sends notification of any changes to maintained objects to email address specified mnt-by: Maintainers must also be protected! (Normally by themselves) auth: Authentication method for this maintainer DB 2
125
Authentication methods ‘auth’ attribute – Strongly discouraged! –Crypt-PW Crypt (Unix) password encryption Use web page to create your maintainer –PGP – GNUPG Strong authentication Requires PGP keys –MD5 Soon available DB 2
126
Mnt-by & mnt-lower ‘mnt-by’ attribute Can be used to protect any object Changes to protected object must satisfy authentication rules of ‘mntner’ object. ‘mnt-lower’ attribute Also references mntner object Hierarchical authorisation for inetnum & domain objects The creation of child objects must satisfy this mntner Protects against unauthorised updates to an allocated range - highly recommended! DB 2
127
Inetnum: 203.146.96.0 - 203.146.127.255 netname: LOXINFO-TH descr: Loxley Information Company Ltd. Descr: 304 Suapah Rd, Promprab,Bangkok country: TH admin-c: KS32-AP tech-c: CT2-AP mnt-by: APNIC-HM mnt-lower: LOXINFO-IS changed: hostmaster@apnic.net 19990714 source: APNIC Authentication/Authorisation –APNIC allocation to member Created and maintained by APNIC 1. Only APNIC can change this object 2. Only Loxinfo can create assignments within this allocation 1 2 DB 2
128
Inetnum: 203.146.113.64 - 203.146.113.127 netname: SCC-TH descr: Sukhothai Commercial College Country: TH admin-c: SI10-AP tech-c: VP5-AP mnt-by: LOXINFO-IS changed: voraluck@loxinfo.co.th 19990930 source: APNIC Authentication/Authorisation –Member assignment to customer Created and maintained by APNIC member Only LOXINFO-IS can change this object DB 2
129
Role object Represents a group of contact persons for an organisation –Eases administration –Can be referenced in other objects instead of the person objects for individuals Also has a nic-hdl Eg. HM20-AP http://www.apnic.net/db/role.html
130
Role object - example – Contains contact info for several contacts role: address: country: phone: fax-no: e-mail: admin-c: tech-c: nic-hdl: mnt-by: source: OPTUS IP ADMINISTRATORS 101 Miller Street North Sydney AU +61-2-93427681 +61-2-93420813 +61-2-9342-0998 +61-2-9342-6122 noc@optus.net.au NC8-AP SC120-AP OA3-AP MAINT-OPTUSCOM-AP APNIC Values Attributes
131
Creating a role object Email –Whois –t role Gives role object template –Complete all fields With the nic-hdls of all contacts in your organisation –Send to
132
Replacing contacts in the db - using person objects inetnum: 202.0.10.0 … KX17-AP person: … KX17-AP inetnum: 202.0.15.192 … KX17-AP inetnum: 202.0.12.127 … KX17-AP person: … ZU3-AP K. Xander is leaving my organisation. Z. Ulrich is replacing him. ZU3-AP 1. Create a person object for new contact (Z. Ulrich). 2. Find all objects containing old contact (K. Xander). 3. Update all objects, replacing old contact (KX17-AP) with new contact (ZU3-AP). 4. Delete old contact’s (KX17-AP) person object.
133
Replacing contacts in the db – using a role object inetnum: 202.0.10.0 … EIPA91-AP person: … KX17-AP inetnum: 202.0.15.192 … EIPA91-AP inetnum: 202.0.12.127 … EIPA91-AP K. Xander is leaving my organisation. Z. Ulrich is replacing him. I am using a role object containing all contact persons, which is referenced in all my objects. 1. Create a person object for new contact (Z. Ulrich). 2. Replace old contact (KX17-AP) with new contact (ZU3-AP) in role object 3. Delete old contact’s person object. role: … EIPA-91-AP KX17-AP AB1-AP CD2-AP ZU3-AP person: … ZU3-AP No need to update any other objects!
134
Database update process –Email requests to –Each request contains an object template Update Request Template Parse Warnings/Errors returned Error Auth. Data Base Whois Server DB 2
135
Template Database update - web Creates a template through the web form Template will be sent to you by email This should be forwarded to: –Common error to reply to the email –(Adds extra character in front of each line) http://www.apnic.net/services/whois_guide.html DB 2
136
Deleting an object –Copy object as-is in database into email –Add your maintainer password –Leave the changed attribute inetnum: 202.182.224.0 - 202.182.225.255 netname: SONY-HK... mnt-by: MAINT-CNS-AP changed: ph@macroview.com 19990617 source: APNIC password: x34zky delete: no longer required me@company.com Note: Referenced objects cannot be deleted (02/99) DB 2
137
Forgotten the password ? We do not recommend using personal names for maintainer objects Requires legal documentation DB 2 Unfortunately we cannot change the password for the maintainer until we have received a fax with your company’s letterhead confirming the request to modify the password. In the fax, please include the following: 0. Attention: APNIC Database Administration Department 1.The APNIC Account name of your company and your personal nic handle. If you do not have an APNIC account, then please state ‘NON-MEM’. 2.The current maintainer object which is to be modified, as obtained from ‘whois –h whois.apnic.net MAINTAINER- OBJECT’ 3.The new password/authorisation for the maintainer. 4.The signature of a contact for the maintainer. Confirmatio n by fax required on company letter head
138
Database authentication PGP, CRYPT-PW and MD5
139
Authentication methods CRYPT-PW –Can be cracked, simple to use PGP –Considered secure MD5 (soon available) –Considered secure and very simple to use (None) –Offers no protection Should not be used as auth method!
140
CRYPT-PW Use webform APNIC Maintainer Object Request
141
Maintainer using CRYPT-PW mntner:MAINT-WF-SPARKYNET descr: Sparkynet ISP auth: CRYPT-PW aptHONzHrLHzQ admin-c: KX17-ap tech-c: ZU3-AP country: WF mnt-nfy: kxander@sparkynet.com changed: kxander@sparkynet.com 20030701 mnt-by: MAINT-WF-SPARKYNET referral-by: APNIC-HM source: APNIC
142
Using PGP in the APNIC DB 1.Create a PGP key 2.Register public key in Database Create key-cert object 3.Insert name of PGP key object in mntner ‘auth’ attribute
143
Outlook GnuPG plugin Download from –http://www3.gdata.de/gpg/download.htmlhttp://www3.gdata.de/gpg/download.html Install and follow the instructions
144
1. Public key created -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.4e (MingW32) Comment: For info see http://www.gnupg.org mQGiBD5BwbgRBACxLMukZVrtyLrso3EZ1nPWSUPilfn9aVWoJqDjRUoLaJ0gZ1tk k+DjEvuBE3tSmoCDhypvBQl886dRwtpCm45e90iwYfyalJ51e5ymmUfTa7w4OqSg D9YYO7/TDurQA3ezksBsyV5HWBoliamjLtT+mPFNYZTz+fZIii3JMD69nwCg+IzI UhTDj5lh8SKJLo3yaeU5yPMD/1H9dP3bicXq53FSuOCQhRDkgFZaf86k0UQImWnq pJIh4tKhecAvCaomU3zmTtpMECBIR3bJOvMQl2BsStNE/nt7A/2HYX9ek4ztBJj0 F2/NPyyf0I2dmiVhdJaZilM7qS4hWEsjPxFJd1IV61eVJch14gWb61cp0yALlFtz 30UjA/4tevEOBnf/cvvENb+veRGOSKjEj08Ohfxnd7KKA1D1nlqCHGWHFQLnCD0n A/3dYQHcxJypL09MFrKgVtjDun6QD9B4pO54LU9VyjKspBW/uFH18PYu7Ie0nuUo ms2M7gvSdkIH5OiE26tLpSvwmi/U/GSOfG6YtJqn7RbHWrO/pbQkQXJ0aCBQYXVs aXRlIChAcnRoKSA8YXJ0aEBhcG5pYy5uZXQ+iFcEExECABcFAj5Bw5kFCwcKAwQD FQMCAxYCAQIXgAAKCRBFfeEvVCI2Iq7RAKCijMpB8eMcGB6b51kDaM8Cz7iBewCg yRNLMcERSSLoyB49mfKxlm0g4xS5AQ0EPkHBuxAEALTT6YLX8x86ZwTQx+aSwqbv QHPlqfPqzrZp9u82OPH/PnHUvDsmyS/TEzVzmAPF4LbJxSFYH/Rt4XVwZCSpAbDu a661fLUuTiBN5fcwPIDSQYr3Lwh8YRkK23wEyxYpyoqjZQyJJaWaOMPnDpM3BeON dMmRSlWtHdfDjTIwdaCnAAMFA/0c59wwF9FuVSs6oARYbdyE6Aum1ITXG12UsDUv 1r5TniR1y/xOmOZ6CQk5eNPHvIwi0Ohnqm9Sgl2o4mHq32vikVOvrhZq5IfLGMhG UQMO9nDeA3DjLVtS1laStUkC6UoizbQxsdrUQDgm3Oha6FhfGCYZ9cxPkIU+ZLXo pifMEohGBBgRAgAGBQI+QcG7AAoJEEV94S9UIjYiyl8AoKSLnWlwZhXjWtgJlX4I Gpurqs3tAKDLH27XqiFdnswcd4HILPCr4eTb4g== =rUbp -----END PGP PUBLIC KEY BLOCK-----
145
2. Register public key key-cert:[mandatory] - 8 digit PGP key ID without "0x" prefix method: [generated] - System generated owner: [generated] - System generated fingerpr: [generated] - System generated certif: [mandatory] - exported public key in armored ASCII remarks: [optional] - same meaning with other object notify: [optional] - same meaning with other object mnt-by: [mandatory] - same meaning with other object changed: [mandatory] - same meaning with other object source: [mandatory] - same meaning with other object
146
Putting it all together Key-cert:PGPKEY-54223622 certif: -----BEGIN PGP PUBLIC KEY BLOCK----- certif: Version: GnuPG v1.0.4e (MingW32) certif: Comment: For info see http://www.gnupg.org certif: certif: mQGiBD5BwbgRBACxLMukZVrtyLrso3EZ1nPWSUPilfn9aVWoJqDjRUoLaJ0gZ1tk certif: k+DjEvuBE3tSmoCDhypvBQl886dRwtpCm45e90iwYfyalJ51e5ymmUfTa7w4OqSg certif: D9YYO7/TDurQA3ezksBsyV5HWBoliamjLtT+mPFNYZTz+fZIii3JMD69nwCg+IzI certif: UhTDj5lh8SKJLo3yaeU5yPMD/1H9dP3bicXq53FSuOCQhRDkgFZaf86k0UQImWnq certif: pJIh4tKhecAvCaomU3zmTtpMECBIR3bJOvMQl2BsStNE/nt7A/2HYX9ek4ztBJj0 certif: F2/NPyyf0I2dmiVhdJaZilM7qS4hWEsjPxFJd1IV61eVJch14gWb61cp0yALlFtz certif: QHPlqfPqzrZp9u82OPH/PnHUvDsmyS/TEzVzmAPF4LbJxSFYH/Rt4XVwZCSpAbDu certif: a661fLUuTiBN5fcwPIDSQYr3Lwh8YRkK23wEyxYpyoqjZQyJJaWaOMPnDpM3BeON certif: dMmRSlWtHdfDjTIwdaCnAAMFA/0c59wwF9FuVSs6oARYbdyE6Aum1ITXG12UsDUv certif: Gpurqs3tAKDLH27XqiFdnswcd4HILPCr4eTb4g== certif: =rUbp certif: -----END PGP PUBLIC KEY BLOCK----- remarks: Mydigital ID notify: Arth@apnic.net mnt-by: MAINT-AU-BLUETOOTH changed: arth@apnic.net 20030206 source: APNIC Password:my-crypt-password Send template to
147
Key-cert object in APNIC DB key-cert: PGPKEY-FEB0C9ED Method: PGP owner: Ky Xander fingerpr: A0C2 4EFC 5983 8606 A8AC 0C39 CC44 BEDB FEB0 C9ED certif: -----BEGIN PGP PUBLIC KEY BLOCK----- certif: PGPfreeware 7.0.3 certif: … certif: kRBADZ32LpvNQenzoNdttqJyrVOcA1qYjr/2/inm1Cp2DEF certif: dsZ/pLA23lqGSgsi5dfbvF5ktZSWUmTxcNqTeaushAHNtIk certif: … certif: -----END PGP PUBLIC KEY BLOCK----- remarks: Mydigital ID notify: kxander@sparkynet.com mnt-by: MAINT-WF-SPARKYNET changed: kxander@sparkynet.com 20030701 source: APNIC
148
3. Updating the maintainer object mntner:MAINT-WF-SPARKYNET descr: Sparkynet ISP auth: CRYPT-PW aptHONzHrLHzQ admin-c: KX17-ap tech-c: ZU3-AP country: WF mnt-nfy: kxander@sparkynet.com changed: kxander@sparkynet.com 20030701 mnt-by: MAINT-WF-SPARKYNET referral-by: APNIC-HM source: APNIC PGPKEY-54223622 Send template to
149
Inetnum Objects – What is the correct format ? inetnum:211.92.184.0 - 211.92.215.255 netname:SXXA descr: xa city,Shan Xi province POP, China.P.R country: CN admin-c: XL31-AP tech-c: XL31-AP mnt-by: MAINT-CNNIC-AP changed: wangch@cnnic.net.cn 20000401 source: APNIC NOT good Netname NOT meaningful Customer assignment ? What is the type of business?
150
Inetnum Objects – What is the correct format ? inetnum:202.102.19.160 - 202.102.19.175 netname: MLDCO descr: MAINLAND CO. SUZHOU country: CN admin-c: TC11-AP tech-c: XS9-AP changed: zhengch@public1.ptt.js.cn 971019 source: APNIC NOT good Netname NOT meaningful SUZHOU ? Province or Company name? What is the type of business?
151
Inetnum Objects – What is the correct format ? inetnum:202.102.237.192 - 202.102.237.207 netname: YUFENG-CORP descr: zhengzhou city telecom bureau,yufeng branch company, descr: no.98 zhongyuan road, descr: zhengzhou city,henan province. country: CN admin-c: LZ33-AP tech-c: LZ33-AP mnt-by: MAINT-CHINANET-HA changed: zhail@email.online.ha.cn 20010226 source: APNIC Good Netname is meaningful Description is clear
152
Inetnum Objects – What is the correct format ? inetnum:202.102.242.144 - 202.102.242.151 netname: ORIGINSOFT-LTD descr: Origin Software Co.Ltd., descr: Zhengzhou, descr: Henan Province. country: CN admin-c: LZ33-AP tech-c: LZ33-AP mnt-by: MAINT-CHINANET-HA changed: zhail@email.online.ha.cn 20010301 source: APNIC Good Netname is meaningful Description is clear
153
Questions ?
154
Reverse DNS Delegation Registry Procedures Rev. DNS
155
Overview Reverse DNS Delegation APNIC & Member responsibilities Reverse network delegations (/16) Reverse network delegations (/24) Subnet delegations Delegation procedures Rev. DNS
156
What is ‘Reverse DNS’? ‘Forward DNS’ maps names to numbers –svc00.apnic.net -> 202.12.28.131 ‘Reverse DNS’ maps numbers to names –202.12.28.131 -> svc00.apnic.net Rev. DNS
157
In-addr.arpa Hierarchy of IP addresses –Uses ‘in-addr.arpa’ domain INverse ADDRess IP addresses: –Less specific to More specific 210.56.14.1 Domain names: –More specific to Less specific delhi.vsnl.net.in –Reversed in in-addr.arpa hierarchy 14.56.210.in-addr.arpa Rev. DNS
158
whois Root DNS Reverse DNS delegation net edu com au whois apnic 202 203 210 211.. 202 22 in-addr arpa 64 22.64.in-addr.202.arpa Rev. DNS - Mapping numbers to names - ‘reverse DNS’
159
Reverse DNS - why bother? Service denial That only allow access when fully reverse delegated eg. anonymous ftp Diagnostics Assisting in trace routes etc Registration Responsibility as a member and Local IR Rev. DNS
160
APNIC & Member responsibilities APNIC –Manage reverse delegations of address block distributed by APNIC –Process members requests for reverse delegations of network allocations Members –Be familiar with APNIC procedures –Ensure that addresses are reverse-mapped –Maintain nameservers for allocations Minimise pollution of DNS
161
Reverse delegation requirements /24 Delegations Address blocks should be assigned/allocated At least two name servers /16 Delegations Same as /24 delegations APNIC delegates entire zone to member Recommend APNIC secondary zone < /24 Delegations Read “classless in-addr.arpa delegation” RFC 2317
162
Delegation procedures Upon allocation, member is asked if they want /24 place holder domain objects with member maintainer –Gives member direct control Standard APNIC database object, –can be updated through online form or via email. Nameserver/domain set up verified before being submitted to the database. Protection by maintainer object –(current auths: NONE, CRYPT-PW, PGP). Zone file updated 2-hourly Rev. DNS
163
Delegation procedures – request form Complete the documentation http://www.apnic.net/db/domain.html On-line form interface –Real time feedback –Gives errors, warnings in zone configuration serial number of zone consistent across nameservers nameservers listed in zone consistent –Uses database ‘domain’ object examples of form to follow.. Rev. DNS
164
Reverse DNS request form Create Domain Object What is this form to be used for? This form assists in the creation and maintenance of domain objects. The domain class: (* indicates mandatory field) An admin-c must be someone physically located at the site of the network. *Domain: Country: *Descr: *Admin-c List the NIC handles for the administrative contacts (admin-c). Other text eg: DNS4-AP please change this field – This is added by http://www.apnic.net/db/domain.html The reverse delegation xone for the Domain Object
165
Request form *Nserver Notify: *Mnt-by: *Password You must supply a password for one of the maintainers listed in this field Mnt-lower: MAINT-WF-EX This email address will be notified by the APNIC database when this object changes. Remarks: dns.vsnl.net.in giasbm01.vsnl.net.in This stops ad-hoc additions beneath this zone
166
Evaluation Parser checks for –‘whois’ database IP address range is assigned or allocated Must be in APNIC database –Maintainer object Mandatory field of domain object –Nic-handles zone-c, tech-c, admin-c Rev. DNS
167
Evaluation Nameserver checks –Minimum 2 nameservers required –Check serial versions of zone files are the same –Check NS records in zones are the same as listed on form –Nameserver can resolve itself, forward and reverse Rev. DNS
168
Online errors (also via email) Rev. DNS Please wait while your request is processed. Parsing and validating your submission … Errors encountered Your update request was unable to be completed due to the following errors. Please correct them and try again. If the error is temporary in nature, correct the error and ‘Reload’ this page (possibly this frame). *ERROR*. SOA on “ns.apnic.net” does not match SOA on “svc00.apnic.net”. All nservers must respond with the same SOA. *ERROR*. NS RR for ns.telstra.net found on svc00.apnic.net but not in supplied template. *ERROR*. NS RR for ns.telstra.net found on ns.apnic.net but not in supplied template. *ERROR*. cross-check of listed NS RR failed.
169
Request submission error Rev. DNS Verifying your authorisation …. Your maintainer uses the ‘CRYPT-PW’ or ‘NONE’ authorisation schema. Attempting to submit your request directly to the database. Update results Connection closed. % Rights restricted by copyright. See http://www.apnic.net/db/dbcopyright.html Update FAILED: [domain] 174.202.in-addr-arpa domain: 174.202.in-addr.arpa descr: in-addr.arpa zone for 202.174/16 admin-c: DNS3-AP tech-c: DNS3-AP zone-c: DNS3-AP nserver: ns.apnic.net nserver: svc00.apnic.net mnt-by: MAINT-AP-DNS-DEFAULT changed: dns-admin@apnic.net 20000215 source: APNIC *ERROR*: authorisation failed, request forwarded to maintainer Processing completed Update failed Authorisation failed
170
Successful update Rev. DNS Please wait while your request is processed. Parsing and validating your submission … Warnings generated Verifying your authorisation …. Your maintainer uses the ‘CRYPT-PW’ or ‘NONE’ authorisation schema. Attempting to submit your request directly to the database. Update results Connection closed. % Rights restricted by copyright. See http://www.apnic.net/db/dbcopyright.html Update OK: [domain] 174.202.in-addr.arpa Processing completed. Update ok!
171
Use of maintainer object Domain objects protected by maintainers hierarchical protection using “mnt-lower” Bootstrap period –‘MAINT-AP-DNS-DEFAULT’ for all objects imported by APNIC from existing zone files Changing delegations requires valid maintainer Maintainer creation & authorisation is manual – Turnaround time 2 days –/24 place holder objects created upon allocation gives members direct control No need to contact APNIC when changing nservers Rev. DNS
172
Delegation process summary on-line feedback given no Step 1 yes Step 2 Step 3 update APNIC database notify upd-to contact for maintainer object zone files reloaded Every 2 hrs, 24hrs a day on everyday Delegation by APNIC request forwarded to APNIC for manual processing no yes request parsed OK? authorisation OK? Rev. DNS Reverse DNS Troubleshooting Guide: http://www.apnic.net/services/help/rd/troubleshooting.html
173
Questions? Are all your zones, and your customer zones registered?
174
Summary What we have covered today
175
Summary Introduction to APNIC Internet Registry Policies IPv4 Allocation & Assignment Procedures IP Address Management APNIC Database Procedures Reverse DNS Procedures ASN Assignment Procedures Internet Routing Registry IPv6 Overview and Policies Preventing SPAM – Best Current Practices
176
Summary - Responsibilities As an APNIC member and custodian of address space –Be aware of your responsibilities –Register customer assignments in APNIC database Keep this data up-to-date & accurate –Educate your customers –Document your network in detail Keep local records –Register reverse DNS delegations
177
More personalised service –Range of languages: Faster response and resolution of queries –IP resource applications, status of requests, membership enquiries, billing issues & database enquiries Member Services Helpdesk - One point of contact for all member enquiries helpdesk@apnic.net www.apnic.net/helpdesk Helpdesk hours 9:00 am - 7:00 pm (AU EST, UTC + 10 hrs) ph: +61 7 3858 3188fax: +61 7 3858 3199 Filipino (Tagalog) Mandarin Vietnamese English Japanese Thai Cantonese Hindi Telugu
178
Summary “Do the right thing” –Think about routing table size & scalability of Internet –Encourage renumbering –Announce aggregate prefixes –Think global not local
179
Thank you !! Your feedback is appreciated
180
Supplementary Reading
181
Introduction Regional Registry web sites APNIC: http://www.apnic.net ARIN: http://www.arin.net LACNIC: http://www.lacnic.net RIPE NCC: http://www.ripe.net APNIC past meetings http://www.apnic.net/meetings
182
Introduction APNIC members http://www.apnic.net/members.html Membership Membership procedure http://www.apnic.net/membersteps.html Membership application form http://www.apnic.net/apnic-bin/membership-application.pl Membership fees http://www.apnic.net/docs/corpdocs/FeeSchedule.htm
183
Introduction to APNIC & IP Policy Classless techniques CIDR http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1517-19.txt Network Addressing when using CIDR ftp://ftp.uninett.no/pub/misc/eidnes-cidr.ps.Z Variable Length Subnet Table http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1878.txt http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1878.txt Private Address Space Address Allocation for Private Internets http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1918.txt Counter argument: “Unique addresses are good” http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1814.txt
184
Bit boundary chart +------------------------------------------------------+ | addrs bits pref class mask | +------------------------------------------------------+ | 1 0 /32 255.255.255.255 | | 2 1 /31 255.255.255.254 | | 4 2 /30 255.255.255.252 | | 8 3 /29 255.255.255.248 | | 16 4 /28 255.255.255.240 | | 32 5 /27 255.255.255.224 | | 64 6 /26 255.255.255.192 | | 128 7 /25 255.255.255.128 | | 256 8 /24 1C 255.255.255 | | 512 9 /23 2C 255.255.254 | | 1,024 10 /22 4C 255.255.252 | | 2,048 11 /21 8C 255.255.248 | | 4,096 12 /20 16C 255.255.240 | | 8,192 13 /19 32C 255.255.224 | | 16,384 14 /18 64C 255.255.192 | | 32,768 15 /17 128C 255.255.128 | | 65,536 16 /16 1B 255.255 | | 131,072 17 /15 2B 255.254 | | 262,144 18 /14 4B 255.252 | | 524,288 19 /13 8B 255.248 | | 1,048,576 20 /12 16B 255.240 | | 2,097,152 21 /11 32B 255.224 | | 4,194,204 22 /10 64B 255.192 | | 8,388,608 23 /9 128B 255.128 | | 16,777,216 24 /8 1A 255 | | 33,554,432 25 /7 2A 254 | | 67,108,864 26 /6 4A 252 | | 134,217,728 27 /5 8A 248 | | 268,435,456 28 /4 16A 240 | | 536,870,912 29 /3 32A 224 | |1,073,741,824 30 /2 64A 192 | +------------------------------------------------------+
185
APNIC Mailing Lists apnic-talk –Open discussions relevant to APNIC community & members apnic-announce –Announcements of interest to the AP community sig-policy –IPv4 and IPv6 allocation and assignment policies global-v6 –Global IPv6 policy mailing list subscribe via archives: http://ftp.apnic.net/apnic/mailing-lists http://www.apnic.net/net_comm/lists/
186
The RIR System “Development of the Regional Internet Registry System” Internet Protocol Journal Short history of the Internet http://www.cisco.com/warp/public/759/ipj_4-4/ipj_4-4_regional.html
187
Policies & Policy Environment Policy Documentation Policies for address space management in the Asia Pacific region http://www.apnic.net/docs/policy/add-manage-policy.html RFC2050: Internet Registry IP allocation Guidelines http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2050.txt
188
Address Request Procedures Addressing Guidelines “Designing Addressing Architectures for Routing & Switching”, Howard C. Berkowitz Address Request Forms ISP Address Request Form http://www.apnic.net/services/ipv4/ Second-opinion Request Form http://www.apnic.net/services/second-opinion/ No Questions Asked http://ftp.apnic.net/apnic/docs/no-questions-policy
189
APNIC Database APNIC Database Documentation Updating information in the APNIC Database http://ftp.apnic.net/apnic/docs/database-update-info Maintainer & Person Object Request Form http://ftp.apnic.net/apnic/docs/mntner-person-request APNIC Maintainer Object Request http://www.apnic.net/apnic-bin/maintainer.pl APNIC Whois Database objects resource guide http://www.apnic.net/services/whois_guide.html
190
APNIC Database RIPE Database Documentation RIPE Database Reference Manual http://www.ripe.net/docs/databaseref-manual.html Database ‘whois’ Client http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client.tar.gz Database web query http://www.apnic.net/apnic-bin/whois2.pl
191
Person object template person: [mandatory] [single] [lookup key] address: [mandatory] [multiple] [ ] country: [optional] [single] [ ] phone: [mandatory] [multiple] [ ] fax-no: [optional] [multiple] [ ] e-mail: [mandatory] [multiple] [lookup key] nic-hdl: [mandatory] [single] [primary/look-up key] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
192
Role object template role: [mandatory] [single] [lookup key] address: [mandatory] [multiple] [ ] country: [optional] [single] [ ] phone: [mandatory] [multiple] [ ] fax-no: [optional] [multiple] [ ] e-mail: [mandatory] [multiple] [lookup key] trouble: [optional] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] nic-hdl: [mandatory] [single] [primary/look-up key] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
193
Maintainer Object Template mntner: [mandatory] [single] [primary/look-up key] descr: [mandatory] [multiple] [ ] country: [optional] [single] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [optional] [multiple] [inverse key] upd-to: [mandatory] [multiple] [inverse key] mnt-nfy: [optional] [multiple] [inverse key] auth: [mandatory] [multiple] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] referral-by: [mandatory] [single] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
194
Inetnum object template inetnum: [mandatory] [single] [primary/look-up key] netname: [mandatory] [single] [lookup key] descr: [mandatory] [multiple] [ ] country: [mandatory] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] rev-srv: [optional] [multiple] [inverse key] status: [mandatory] [single] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] mnt-routes:[optional] [multiple] [inverse key] mnt-irt: [optional] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
195
Aut-num Object Template aut-num: [mandatory] [single] [primary/look-up key] as-name: [mandatory] [single] [ ] descr: [mandatory] [multiple] [ ] country: [optional] [single] [ ] member-of: [optional] [multiple] [ ] import: [optional] [multiple] [ ] export: [optional] [multiple] [ ] default: [optional] [multiple] [ ] remarks: [optional] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] cross-mnt: [optional] [multiple] [inverse key] cross-nfy: [optional] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] mnt-routes: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
196
Domain object template domain: [mandatory] [single] [primary/look-up key] descr: [mandatory] [multiple] [ ] country: [optional] [single] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] zone-c: [mandatory] [multiple] [inverse key] nserver: [mandatory] [multiple] [inverse key] sub-dom: [optional] [multiple] [inverse key] dom-net: [optional] [multiple] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] refer: [optional] [single] [ ] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
197
Reverse DNS Request Forms Guide to reverse zones http://www.apnic.net/db/revdel.html Registering your Rev Delegations with APNIC http://www.apnic.net/db/domain.html Relevant RFCs Classless Delegations http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2317.txt Common DNS configuration errors http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1537.txt
198
Reverse DNS Documentation Domain name structure and delegation http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1591.txt Domain administrators operations guide http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1033.txt Taking care of your domain ftp://ftp.ripe.net/ripe/docs/ripe-114.txt Tools for DNS debugging http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2317.txt DNS and BIND by Paul Albitz & Cricket Liu –O’Reilly
199
AS Assignment Procedures Policy Guidelines for the creation, selection, and registration of an AS http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1930.txt RFCs Routing Policy Specification Language (RPSL) http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2280.txt A dedicated AS for sites homed to a single provider http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2270.txt RFC1997: BGP Communities attribute http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2270.txt
200
IPv6 Policy Documents IPv6 Address Policy http://ftp.apnic.net/apnic/docs/ipv6-address-policy IPv6 Address request form http://ftp.apnic.net/apnic/docs/ipv6-alloc-request Useful reading The case for IPv6 http://www.6bone.net/misc/case-for-ipv6.html FAQ http://www.apnic.net/info/faq/IPv6-FAQ.html
201
Other supplementary reading Operational Content Books ISP Survival Guide, Geoff Huston Cisco ISP Essentials, Philip Smith BGP Table http://www.telstra.net/ops/bgptable.html http://www.merit.edu/ipma/reports http://www.merit.edu/ipma/routing_table/mae- east/prefixlen.990212.html http://www.employees.org/~tbates/cidr.hist.plot.html Routing Instability http://zounds.merit.net/cgi-bin/do.pl
202
Other supplementary reading Routing & Mulithoming Internet Routing Architectures - Bassam Halabi BGP Communities Attribute http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1997.txt http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1998.txt Filtering Egress Filtering http://www.cisco.com/public/cons/isp Network Ingress Filtering: Defeating Denial of Service Attacks which employ IP Source Address Spoofing http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2267.txt
203
Other Supplementary Reading Dampening case studies at http://www.cisco.com/warp/public/459/16.html Traceroute Server http://nitrous.digex.net Network Renumbering Overview: Why Would I Want It and What Is It Anyway? http://ftp.apnic.net/ietf/rfc/rfc2000/rfc2071.txt Procedures for Enterprise Renumbering http://www.isi.edu/div7/pier/papers.html NAT –The IP Network Address Translator http://ftp.apnic.net/ietf/rfc/rfc1000/rfc1631.txt
204
Welcome! APNIC Members Training Course Internet Resource Management Essentials 13-14 November 2003, Beijing, China Sponsored by CNNIC
205
Acknowledgement APNIC would like to thank CERNET staff for translating the training materials into Chinese. Chinese version can be downloaded from http://www.apnic.net/training
206
Introduction Presenters –John H’ng Training Manager –Champika Wijayatunga Senior Training Specialist –Miwa Fuji Training Officer –Guangliang Pan Internet Resource Analyst For any training queries
207
Schedule – Day 2 ASN –Guideline and procedures –Policy expression The Internet Routing Registry –The APNIC IRR IPv6 –IPv6 address architecture –IPv6 features –Policy Preventing SPAM – Best Current Practices
208
Autonomous System Numbers Procedures
209
Overview What is an AS? Guidelines and procedures Application form (documentation) Policy expression ASN
210
What is an Autonomous System? –Collection of networks with same routing policy –Usually under single ownership, trust and administrative control AS 100 ASN
211
When do I need an ASN? When do I need an AS? –Multi-homed network to different providers and –Routing policy different to external peers Recommended reading! –RFC1930: Guidelines for creation, selection and registration of an Autonomous System ASN RFC 1930
212
When don’t I need an ASN? Factors that don’t count –Transition and ‘future proofing’ –Multi-homing to the same upstream RFC2270: A dedicated AS for sites homed to a single provider –Service differentiation RFC1997: BGP Communities attribute RFC 2270 RFC 1997 ASN
213
Requesting an ASN Complete the request form –web form available: http://www.apnic.net/db/aut-num.html Request form is parsed - real time –Must include routing policy multiple import and export lines –Is checked for syntactical accuracy based on RPSL (rfc2622) –Peers verified by querying routing table –[NO-PARSE] will not send request to parser ASN RFC 2622
214
Requesting an ASN - Customers 1.Requested directly from APNIC AS number is “portable” 2.Requested via member ASN is “non-portable” ASN returned if customer changes provider Transfers of ASNs –Need legal documentation (mergers etc) –Should be returned if no longer required ASN New policy as of Nov-02
215
Representation of routing policy Routing and packet flows AS 1AS 2 routing flow packet flow accepts announces accepts ASN For AS1 and AS2 networks to communicate AS1 must announce to AS2 AS2 must accept from AS1 AS2 must announce to AS1 AS1 must accept from AS2
216
Representation of routing policy AS 1AS 2 aut-num: AS1 … import:from AS2 action pref=100; accept AS2 export:to AS2 announce AS1 aut-num: AS2 … import: from AS1 action pref=100; accept AS1 export: to AS1 announce AS2 Basic concept “action pref” - the lower the value, the preferred the route ASN
217
Representation of routing policy AS 123 AS4 AS5 AS10 More complex example AS4 gives transit to AS5, AS10 AS4 gives local routes to AS123 ASN
218
Representation of routing policy AS 123 AS4 AS5 AS5 AS10 import: from AS123 action pref=100; accept AS123 aut-num: AS4 import: from AS5 action pref=100; accept AS5 import: from AS10 action pref=100; accept AS10 export: to AS123 announce AS4 export: to AS5 announce AS4 AS10 export: to AS10 announce AS4 AS5 Not a path ASN
219
Representation of routing policy AS123 AS4 More complex example AS4 and AS6 private link1 AS4 and AS123 main transit link2 backup all traffic over link1 and link3 in event of link2 failure AS6 private link1 link3 transit traffic over link2 ASN
220
Representation of routing policy AS123 AS4 AS6 private link1 link3 AS representation transit traffic over link2 import:from AS123 action pref=100; accept ANY aut-num: AS4 import:from AS6 action pref=50; accept AS6 import:from AS6 action pref=200; accept ANY export:to AS6 announce AS4 export:to AS123 announce AS4 full routing received ASN higher cost for backup route
221
aut-num:AS4777 as-name: APNIC-NSPIXP2-AS descr:Asia Pacific Network Information Centre descr: AS for NSPIXP2, remote facilities site import:from AS2500 action pref=100; accept ANY import:rom AS2524 action pref=100; accept ANY import:from AS2514 action pref=100; accept ANY export: to AS2500 announce AS4777 export:to AS2524 announce AS4777 export:to AS2514 announce AS4777 default:to AS2500 action pref=100; networks ANY admin-c:PW35-AP tech-c: NO4-AP remarks: Filtering prefixes longer than /24 mnt-by: MAINT-APNIC-AP changed: paulg@apnic.net 19981028 source:APNIC Aut-num object example POLICY RPSL ASN
222
Routing Policy Specification Language RPSL –Derived from RIPE-181 –Introduced with v3 Database 20 August 2002 –“New” object specification language more expressive syntax advanced aut-num and routing policy options –Especially useful in an Internet Routing Registry ASN RFC 2622
223
Questions ?
224
APNIC Internet Routing Registry
225
Overview What is IRR RPSL IRR objects Hierarchical authorisation IRR queries IRRToolSet APNIC IRR service scope
226
What is an IRR? Global Internet Routing Registry database –http://www.irr.net/http://www.irr.net/ Uses RPSL –Established in 1995 Stability and consistency of routing –network operators share information Both public and private databases –These databases are independent but some exchange data only register your data in one database
227
Internet Routing Registries RIPE RADB CW APNIC Connect ARIN, ArcStar, FGC, Verio, Bconnex, Optus, Telstra,... IRR = APNIC RR + RIPE DB + RADB + C&W + ARIN + …
228
Why use an IRR? Route filtering Peering networks A provider and its customer Network troubleshooting Easier to locate routing problems outside your network Router configuration By using IRRToolSet –ftp.ripe.net/tools/IRRToolSet Global view of routing A global view of routing policy improves the integrity of Internet’s routing as a whole.
229
APNIC Database & the IRR APNIC whois Database –Two databases in one Public Network Management Database –“whois” info about networks & contact persons IP addresses, AS numbers etc Routing Registry –contains routing information routing policy, routes, filters, peers etc. –APNIC RR is part of the global IRR
230
Integration of Whois and IRR Integrated APNIC Whois Database & Internet Routing Registry APNIC Whois IRR IP, ASNs, reverse domains, contacts, maintainers etc routes, routing policy, filters, peers etc inetnum, aut-num, domain, person, role, maintainer route, aut-num, as-set, int-rtr, peering-set etc. Internet resources & routing information
231
RPSL Routing Policy Specification Language –Object oriented language Based on RIPE-181 –Structured whois objects Higher level of abstraction than access lists Describes things interesting to routing policy: –Routes, AS Numbers … –Relationships between BGP peers –Management responsibility Relevant RFCs –Routing Policy Specification Language –Routing Policy System Security –Using RPSL in Practice RFC 2622 RFC 2725 RFC 2650
232
IRR objects route –Specifies interAS routes aut-num –Represents an AS. Used to describe external routing policy inet-rtr –Represents a router peering-set –Defines a set of peerings route-set –Defines a set of routes as-set –Defines a set of aut-num objects rtr-set –Defines a set of routers filter-set –Defines a set of routes that are matched by its filter www.apnic.net/db/ref/db-objects.html
233
Inter-related IRR objects inetnum: 202.0.16 - 202.0.31.255 … tech-c: KX17-AP mnt-by: MAINT-EX aut-num: AS1 … tech-c: KX17-AP mnt-by: MAINT-EX … route: origin: … mnt-by: MAINT-EX person: … nic-hdl: KX17-AP … mntner: MAINT-EX … 202.0.16/20 AS1 202.0.16 - 202.0.31.255 AS1
234
Inter-related IRR objects aut-num: AS2 … inetnum: 202.0.16.0-202.0.31.255 … aut-num: AS10 … route: 202.0.16/20 … origin: AS2 … as-set: AS1:AS-customers members: AS10, AS11 route-set: AS2:RS-routes members: 218.2/20, 202.0.16/20 route: 218.2/20 … origin: AS2 … aut-num: AS2 … inetnum: 218.2.0.0 - 218.2.15.255 … aut-num: AS11 …, AS2
235
‘Set-’ objects and their members aut-num: AS10 … as-set: AS1:AS-CUSTS members: AS10, AS11 aut-num: AS11 … as-set: AS1:AS-PEERS mbrs-by-ref: MAINT-EX aut-num: AS20 member-of: AS1:AS-PEERS mnt-by: MAINT-EX aut-num: AS21 member-of: AS1:AS-PEERS mnt-by: MAINT-EX members - members specified in the ‘set-’ object mbrs-by-ref - ‘set’ specified in the member objects Two ways of referencing members 1.‘mbrs-by-ref’ specifies the maintainer of the members. 2.Members reference the ‘set-’ object in the ‘member-of’ attribute 3.Members are maintained by the maintainer specified in the ‘set-’ 1.‘members’ specifies members of the set 2.Members added in the ‘set-’ object 3.No need to modify the member object when adding members 1 2 1 2 3 3
236
Hierarchical authorisation mnt-routes –authenticates creation of route objects creation of route objects must pass authentication of mntner referenced in the mnt-routes attribute –Format: mnt-routes: In:, and objects route aut-numinetnum
237
Authorisation mechanism inetnum: 202.137.181.0 – 202.137.185.255 netname: SPARKYNET-WF descr: SparkyNet Service Provider … mnt-by: MAINT-APNIC-AP mnt-lower: MAINT-SPARKYNET mnt-routes: MAINT-SPARKYNET-WF This object can only be modified by APNIC Creation of more specific objects (assignments) within this range has to pass the authentication of MAINT-SPARKYNET Creation of route objects matching/within this range has to pass the authentication of MAINT-SPARKYNET-WF
238
Creating route objects Multiple authentication checks: –Originating ASN mntner in the mnt-routes is checked If no mnt-routes, mnt-lower is checked If no mnt-lower, mnt-by is checked –AND the address space Exact match & less specific route –mnt-routes etc Exact match & less specific inetnum –mnt-routes etc –AND the route object mntner itself The mntner in the mnt-by attribute aut-num inetnum route (encompassing) route
239
Creating route objects 1 route: 202.137.240/20 origin: AS1 route mntner: MAINT-WF-EXNET auth: CRYPT-PW klsdfji9234 maintainer inetnum: 202.137.240.0 – 202.137.255.255 mnt-routes: MAINT-WF-EXNET IP address range aut-num: AS1 mnt-routes: MAINT-WF-EXNET AS number 1. Create route object and submit to APNIC RR database 4. Db checks aut-num obj corresponding to the ASN in route obj 2. Db checks inetnum obj matching/encompassing IP range in route obj 3. Route obj creation must pass auth of mntner specified in inetnum mnt-routes attribute. 5. Route obj creation must pass auth of mntner specified in aut-num mnt-routes attribute. 4 5 3 2
240
Useful IRR queries What routes are originating from my AS? –whois -i origin route objects with matching origin What routers does my AS operate? –whois -i local-as inet-rtr objects with a matching local-as What objects are protecting “route space” with my maintainer? –whois -i mnt-routes aut-num, inetnum & route objects with matching mnt- routes (always specify host. e.g. ‘whois –h whois.apnic.net’)
241
Useful IRR queries (cont’d) What ‘-set objects’ are the objects protected by this maintainer a member of? –whois -i mbrs-by-ref set objects (as-set, route-set and rtr-set) with matching mbrs-by-ref What other objects are members of this ‘-set object’? –whois -i member-of Objects with a matching member-of –provided the membership claim is validated by the mbrs-by-ref of the set.
242
Using the Routing Registry Routing policy, the IRRToolSet & APNIC RR Benefits
243
IRRToolSet Set of tools developed for using the Internet Routing Registry –Started as RAToolSet Now maintained by RIPE NCC: –http://www.ripe.net/db/irrtoolset/http://www.ripe.net/db/irrtoolset/ –Download: ftp://ftp.ripe.net/tools/IRRToolSet/ ftp://ftp.ripe.net/tools/IRRToolSet/ Installation needs: lex, yacc and C++ compiler
244
Use of RPSL - RtConfig RtConfig v4 part of IRRToolSet Reads policy from IRR (aut-num, route & - set objects) and generates router configuration – vendor specific: Cisco, Bay's BCC, Juniper's Junos and Gated/RSd –Creates route-map and AS path filters –Can also create ingress / egress filters (documentation says Cisco only)
245
Why use IRR and RTConfig? Benefits of RTConfig –Avoid filter errors (typos) –Expertise encoded in the tools that generate the policy rather than engineer configuring peering session –Filters consistent with documented policy (need to get policy correct though) –Engineers don't need to understand filter rules it just works :-)
246
AS3000 10.20.0.0/24 Using RTConfig - Case scenario 10.187.65.0/24 Not fully multi-homing Full BGP routing received from AS3000 Local routes received from AS4000 AS4000 AS2000 (range received from upstream) (portable address range)
247
Using RTconfig – IRR objects aut-num: AS2000 import: from AS3000 accept ANY export: to AS3000 announce AS2000 import: from AS4000 accept AS4000 export: to AS4000 announce AS2000 […] route: 10.20.0.0/24 origin: AS2000 […] RtConfig commands @RtConfig set cisco_map_name = "AS%d-IMPORT" @RtConfig import AS2000 10.20.0.3 AS3000 10.3.15.2 ! @RtConfig set cisco_map_name = "AS%d-IMPORT" @RtConfig import AS2000 10.20.0.4 AS4000 10.4.192.2 ! route: 10.187.65.0/24 origin: AS2000 […] full BPG routing local routes
248
RtConfig output (import) no route-map AS3000-IMPORT ! route-map AS3000-IMPORT permit 10 ! router bgp 2000 neighbor 10.0.1.3 route-map AS3000-IMPORT in ! no ip prefix-list pl134 ip prefix-list pl134 permit 10.4.192.0/19 ip prefix-list pl134 deny 0.0.0.0/0 le 32 ! no route-map AS4000-IMPORT ! route-map AS4000-IMPORT permit 10 match ip address prefix-list pl134 exit ! router bgp 2000 neighbor 10.0.1.4 route-map AS4000-IMPORT in
249
RtConfig – web prototype http://www.ripe.net/cgi-bin/RtConfig.cgi Source AS & Router Peer AS & Router Export / Import Config format Cisco prefix-lists
250
RTConfig – web output RTConfig Output (Bay)
251
The rest of the IRRToolSet peval –(Lightweight) policy evaluation tool prtraceroute –Prints the route packets take - including policy information (as registered in RR) aoe (aut-num object editor) –Displays the aut-num object for the specified AS roe –Creates the “route” object (based on BGP dump and routes in aut-num objects)
252
The rest of the IRRToolSet prpath –enumerates possible paths between two ASes CIDRAdvisor –suggests safe aggregates per AS rpslcheck –syntax checks objects for IRR
253
Using the Routing Registry Define your routing policy Enter policy in IRR Run rtconfig Apply config to routers routing policy IRR AS1 peer cust Upstream peer cust routing policy router config no access-list 101 access-list 101 permit ip 10.4.200.0 0.0.4.0 255.255.252.0 0.0.0.0 access-list 101 permit ip 10.4.208.0 0.0.0.0 255.255.252.0 0.0.0.0 access-list 101 permit ip 10.20.0.0 0.0.0.0 255.255.255.0 0.0.0.0 access-list 101 permit ip 10.187.65.0 0.0.0.0 255.255.255.0 0.0.0.0 access-list 101 deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 ! no route-map AS3001-EXPORT ! route-map AS3001-EXPORT permit 1 match ip address 101 ! router bgp 4003 neighbor 10.3.15.4 route-map AS3001-EXPORT out IRR rtconfig router config no access-list 101 access-list 101 permit ip 10.4.200.0 0.0.4.0 255.255.252.0 0.0.0.0 access-list 101 permit ip 10.4.208.0 0.0.0.0 255.255.252.0 0.0.0.0 access-list 101 permit ip 10.20.0.0 0.0.0.0 255.255.255.0 0.0.0.0 access-list 101 permit ip 10.187.65.0 0.0.0.0 255.255.255.0 0.0.0.0 access-list 101 deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 ! no route-map AS3001-EXPORT ! route-map AS3001-EXPORT permit 1 match ip address 101 ! router bgp 4003 neighbor 10.3.15.4 route-map AS3001-EXPORT out Disadvantages Requires some initial planning Takes some time to define & register policy Need to maintain data in RR Advantages You have a clear idea of your routing policy Consistent config over the whole network Less manual maintenance in the long run
254
Benefits of APNIC RR Single maintainer –Use same mntner to manage internet resources reverse DNS routing policy contact info etc aut-num: … mnt-by: MAINT-EX inetnum: … mnt-by: MAINT-EX route: … mnt-by: MAINT-EX domain: … mnt-by: MAINT-EX mntner: MAINT-EX … person: … mnt-by: MAINT-EX (Single person object can also be used)
255
Benefits of APNIC RR inetnum: 221.0.0.0 - 221.3.127.255 netname: CNCGROUP-SD descr: CNCGROUP Shandong province network country: CN admin-c: CH455-AP tech-c: XZ14-AP mnt-by: APNIC-HM mnt-lower: MAINT-CNCGROUP-SD changed: hm-chnaged@apnic.net 20021224 status: ALLOCATED PORTABLE source: APNIC Allocation objects maintained by APNIC mntner: APNIC-HM descr: APNIC Hostmaster – Maintainer... – APNIC able to assert resources for a registered route within APNIC ranges.
256
APNIC RR service scope Routing Queries –Regular whois clients –APNIC whois web interface –Special purpose programs such as IRRToolSet ftp://ftp.ripe.net/tools/IRRToolSet Routing Registration and Maintenance –Similar to registration of Internet resources
257
APNIC RR service scope Support –APNIC Helpdesk support Training IRR workshop under development Mirroring –APNIC mirrors IRRs within Asia Pacific and major IRRs outside of the region.
258
Summary APNIC RR integrated in APNIC Whois DB whois.apnic.net IRR benefits –Facilitates network troubleshooting –Generation of router configuration –Provides global view of routing APNIC RR benefits –Single maintainer (& person obj) for all objects –APNIC asserts resources for a registered route –Part of the APNIC member service!
259
Questions ?
260
IPv6 Technical overview Policies & Procedures
261
Overview Rationale IPv6 Addressing Features of IPv6 Transition Techniques Current status IPv6 Policies & Procedures Statistics
262
Rationale Address depletion concerns –Squeeze on available addresses space Probably will never run out, but will be harder to obtain –End to end connectivity no longer visible Widespread use of NAT IPv6 provides much larger IP address space than IPv4
263
Rationale (Cont.) Increase of backbone routing table size –Current backbone routing table size > 100K CIDR does not guarantee an efficient and scalable hierarchy The lack of uniformity of the current hierarchical system Routing aggregation is still a concern in IPv6 IPv6 address architecture is more hierarchical than IPv4
264
IPv6 address management hierarchy IPv6 IANA RIR NIR Customer Site LIR/ISP
265
Rationale (Cont.) Needs to improve the Internet environment –Encryption, authentication, and data integrity safeguards needed Necessity of IP level security –Plug and Play function needed Reduce network administrators work load Reduce errors caused by individual users More recent technologies (security, Plug and Play, multicast, etc.) available by default in IPv6 Useful reading: –“The case for IPv6”: http://www.6bone.net/misc/case-for-ipv6.html
266
IPv6 addressing 128 bits of address space Hexadecimal values of eight 16 bit fields X:X:X:X:X:X:X:X (X=16 bit number, ex: A2FE) 16 bit number is converted to a 4 digit hexadecimal number Example: FE38:DCE3:124C:C1A2:BA03:6735:EF1C:683D –Abbreviated form of address 4EED:2300:0000:0000:0000:036E:1250:2B00 →4EED:23:0:0:0:36E:1250:2B00 →4EED:23::36E:1250:2B00 (Null value can be used only once)
267
IPv6 addressing model IPv6 Address type –Unicast An identifier for a single interface –Anycast An identifier for a set of interfaces –Multicast An identifier for a group of nodes RFC 3513
268
Unicast address Address given to interface for communication between host and router –Aggregatable global unicast address –Local use unicast address Link-local address (starting with FE80::) Site-local address (starting with FEC0::) 001 FP subnet prefix Interface ID 3bits 64 bits 1111111010 000…….0000 Interface ID 10 bits 54 bits 64 bits 1111111011 Subnet-ID Interface ID 10 bits 54 bits 64 bits
269
Anycast address One-to-one-of-many communication –Delivery to a single interface Syntactically the same as a unicast address May be assigned to routers only Cannot be used as the source address Need more widespread experience in the future
270
Multicast address First 8 bits identifies multicast address –11111111 (FF) Flags –0000 = a permanently-assigned (well-known) multicast address –0001 = a non-permanently-assigned (transient) multicast address Scope (indicates the scope of the multicast group) –1=node local –2=link local –3=site local –8=organisation local –E= global Group ID –Identifies the multicast group within the specified scope 11111111 Flag Scope Group ID 8 bits 4 bits 4bits 112 bits
271
IPv6 header Comparison between IPv4 header and IPv6 header IHL IHL=IP Header Length TTL=Time to Live Version IHL Type of Service Total Length 4 bits 4bits 8bits 16bits Identification Flags Fragment Offset 16 bits 4 bits 12 bits TTL Protocol Header Header Checksum 8 bits 8 bits 16 bits Source Address 32 bits Destination Address 32 bits IP options 0 or more bits IPv4 Header = Eliminated in IPv6 Enhanced in IPv6 IPv6 Header Source Address 128 bits Destination Address 128 bits Version Traffic Class Flow Label 4bits 8 bits 20 bits Payload Length Next Header Hop Limit 16 bits 8 bits 8 bits
272
IPv6 header (Cont.) IPv6 header is considerably simpler than IPv4 –IPv4: 14 fields, IPv6 9 fields IPv4 header can be variable in length: 196 bits +α IPv6 header: Fixed length: 320 bits –Eliminated fields in IPv6 Header Length Identification Flag Fragmentation Offset Checksum –Enhanced fields in IPv6 Traffic Class Flow Label Authentication and privacy capabilities
273
IPv6 features – autoconfiguration Stateless mechanism –For a site not concerned with the exact addresses –No manual configuration required –Minimal configuration of routers –No additional servers Stateful mechanism –For a site requires tighter control over exact address assignments –Need DHCP server –DHCPv6 Enable “Plug and play” RFC 2462
274
IPv6 features – autoconfigutation (Cont.) Tentative address (link-local address) Well-known link local prefix +Interface ID (EUI -64) Ex: FE80::310:BAFF:FE64:1D Is this address unique? 1.A new host is turned on. 2.Tentative address will be assigned to the new host. 3.Duplicate Address Detection (DAD) is performed on all unicast address. 4.If no ND message comes back then the address is unique. 5.FE80::310:BAFF:FE64:1D will be assigned to the new host. Assign FE80::310:BAFF:FE64:1D 3FFE:0:0:1/64 network
275
IPv6 feature: autoconfiguration (Cont.) FE80::310:BAFF:FE64:1D Send me Router Advertisement 1.The new host will send “router solicitation” request via multicasting to obtain the network prefix. 2.The router will reply “routing advertisement”. 3.The new host will learn the network prefix. Ex: 3FFE:0:0:1 4.The new host will assigned a new address Network prefix+Interface ID Ex: 3FFE:0:0:1:310:BAFF:FE64:1D Router Advertisement Assign 3FFE:0:0:1:310:BAFF:FE64:1D 3FFE:0:0:1/64 network
276
IPv4 to IPv6 transition Implementation rather than transition The key to successful IPv6 transition – Maintaining compatibility with IPv4 hosts and routers while deploying IPv6 Millions of IPv4 nodes already exist Upgrading every IPv4 nodes to IPv6 is not feasible Transition process will be gradual Commonly utilised transition techniques –Dual Stack Transition –Tunneling
277
Dual stack transition Dual stack = TCP/IP protocol stack running both IPv4 and IPv6 protocol stacks simultaneously Useful at the early phase of transition DRIVER IPv4 IPv6 APPLICATION TCP/UDP Dual Stack Host IPv4 IPv6
278
Tunneling Commonly utilised transition method IP v6 packet encapsulated in an IPv4 header Destination routers will decapsulate the packets and send IPv6 packets to destination IPv6 host Add IPv4 Header Encapsulation IPv6 networkIPv4 networkIPv6 network Decapsulation Eliminate IPv4 Header IPv6 Host X IPv6 Host Y Router αRouter β Via IPv6Via IPv4Via IPv6 Data Transport IPv6 Layer Header Header Data Transport IPv6 IPv4 Layer Header Header Header Data Transport IPv6 Layer Header Header
279
IPv6 address policy goals Efficient address usage Avoid wasteful practices Aggregation Hierarchical distribution Aggregation of routing information Limiting number of routing entries advertised Minimise overhead Associated with obtaining address space Registration, Uniqueness, Fairness & consistency Same as IPv4 IPv6
280
IPv6 addressing structure 0 127 LIR /32 32 128 bits Customer Site /48 16 Subnet /64 1664 Device /128
281
IPv6 initial allocation Initial allocation criteria –Plan to connect 200 end sites within 2 years Default allocation (“slow start”) Initial allocation size is /32 –Provides 16 bits of site address space –Larger initial allocations can be made if justified according to: IPv6 network infrastructure plan Existing IPv4 infrastructure and customer base 128 bits 32 bits48 bits 32 bits
282
IPv6 sub-allocation policy LIR to ISP allocation –Policy determined by LIR DB registration –All /48 and shorter prefix allocations and assignments must be registered
283
IPv6 utilisation requirement IPv6 utilisation measured according to HD-Ratio (RFC 3194): IPv6 utilisation requirement is HD=0.80 –Measured according to assignments only E.g. ISP has assigned 10000 (/48s) addresses of /32 Utilisation HD = log (Assigned address space) log (Available address space) log (Assigned address space) log (Available address space) = log (10,000) log (65,536) = 0.83
284
IPv6 utilisation requirement (Cont.) HD Ratio utilisation requirement of 0.80 IPv6 Prefix Site Address Bits Total site address in /48s Threshold (HD ratio 0.8) Utilisation % 4266428 36124096776 351381921351 3216655367132 291952428837641 24 16777216602249 1632429496729650859008 84010995116277764294967296 3453518437208883268719476736 10.9% 43.5% 18.9% 16.5% 7.2% 3.6% 1.2% 0.4% 0.2% RFC 3194 “In a hierarchical address plan, as the size of the allocation increases, the density of assignments will decrease.”
285
IPv6 deployment current experiments IPv6-washing machine IPv6-refrigerator IPv6-microwave Mobile viewer Access point PC IPv6 network Home hub Home router Light Air conditioner Ethernet Wireless
286
Current issues: Multihoming Assigned portable address is not available Multiple unicast addresses per node –How to determine the source address? Multiple interfaces per host –Possible defeat ICMP redirect –How to achieve “load-sharing” across multiple interfaces? Other issues too –IETF is working for possible solutions
287
Current issues: DNS Need for a root name server, TLDs name server accessible via IPv6 Human error easily made in IPv6 reverse DNS record –Dynamic update may provide a solution –Security system while update required Ex: DNSSEC
288
Current issues: Address allocation system Currently RIRs receives /23 from IANA –Causes address fragmentations –Already IPv6 address swamp exists –Limit ISPs grow past a /29 A proposal made by APNIC, RIPE NCC and ARIN (31/10/2003) –ftp://ftp.ripe.net/ripe/docs/ripe-261.txtftp://ftp.ripe.net/ripe/docs/ripe-261.txt Establish a Common Address Pool (CAP) –IANA to allocate 2000::/3 (FP0001) Managed by RIRs jointly, under Common Registry Service (CRS) Sparse allocation mechanism to allow future growth Currently under discussion via mailing list –sig-ipv6@apnic.netsig-ipv6@apnic.net –lir-wg@ripe.netlir-wg@ripe.net
289
IPv6 Address Allocation Procedures IPv6 Allocations to RIRs from IANA –APNIC2001:0200::/23 2001:0C00::/23 2001:0E00::/23 –ARIN 2001:0400::/23 –LACNIC2001:1200::/23 –RIPE NCC 2001:0600::/23 2001:0800::/23 2001:0A00::/23 2001:1600::/23 IPv6 Address Request form http://ftp.apnic.net/apnic/docs/ipv6-alloc- requesthttp://ftp.apnic.net/apnic/docs/ipv6-alloc- request IPv6 Address Request form http://www.apnic.net/apnic-bin/ipv6-subtla- request.plhttp://www.apnic.net/apnic-bin/ipv6-subtla- request.pl IPv6 FAQ http://www.apnic.net/faq/IPv6-FAQ.htmlhttp://www.apnic.net/faq/IPv6-FAQ.html IPv6
290
APNIC IPv6 Ranges for Assignments IXP: 2001:07FA::/32 (Default assignment size: /48) Critical infrastructure: 2001:0DD8::/29 (Default assignment size: /32) Experimental networks 2001:0DE0::/29 (Default assignment size: /32) Documentation 2001:0DB8::/32 (/32 Address block reserved for documentation purposes)
291
IPv6 RIRs distribution Last updated Oct 2003 IPv6
292
IPv6 allocations in AP IPv6 Last updated Oct 2003
293
IPv6 Allocations in AP - by year Last updated Oct 2003
294
IPv6 routing table Source: http://bgp.potaroo.net/v6/as1221/index.html Last updated May 2003
295
Questions ?
296
Spam & Network Abuse ‘Best Current Practices’
297
Overview Spam Overview ‘Best Current Practice’ Principles Customer Education Network Abuse Summary
298
What is Spam? Unsolicited Commercial Email (UCE) Unrequested and unwanted emails Advertising products, services, pornography –Otherwise known as ‘spam’, ‘junk mail’ –Some times contains viruses Sending ‘spam’ is unacceptable practice –ISPs generally ‘anti-spam’ (through AUP)
299
Why is it unacceptable? Interferes with the operation of the Internet –Systems collapse –Blocks local and global traffic Creates unwanted traffic for recipients –Customers & ISPs have to pay for unwanted email Creates support overheads for ISPs –Abuse reports need to be dealt with –Customer complaints need to be dealt with
300
‘Best Current Practice’ ‘Best Current Practice’ (BCP) –Voluntary code of conduct for ISPs –Consensus on code –Many ISPs wish to be seen publically combating UCE –Need to work with all customers, especially ISP customers so their customers adopt the BCP
301
Principles No email relaying –Historically SMTP systems ‘relayed’ email from anyone to destination Requirement –Provide SMTP delivery for customers only As determined by domain and/or IP address –ISPs should configure email systems to prevent relaying –Check customers do not run open relays
302
Principles Must be able to trace email passing through a system –Add a ‘received’ header –Machine name can be forged ‘received’ line should contain name and IP address Identification of the sender of the email –Dial up connections with dynamic addressing Recommended –Time stamps based on NTP to identify sender –ISPs should keep logs for reasonable time
303
Principles Handle abuse reports –ISPs should accept and process reports of abuse by their customers Set up a specialist ‘abuse@isp.net’ mailbox –ISP should acknowledge receipt of abuse Ticketing system to allow tracking of reports –Identity of reporter should be kept confidential –ISP may immediately terminate customers account May also apply ‘warning’ then eventual termination According to ISPs AUP
304
Principles Disseminate information to community –On action taken against customers –Publish overview statistical information –Ensure terminated accounts are not re-opened Dealing with UCE –Enhances an ISP’s standing in global community –Avoid mass filtering of ISP emails –Avoid unwanted attention from legal authorities
305
Education Difficult, but important –Marketing departments don’t like it –Incorporate into ISP AUP (terms & contracts) ISP should provide documentation –Explaining nature of UBE –Why sending it is considered unacceptable –State what is required for a ‘spam abuse’ report –Where such reports can be sent Prevention is better than cure
306
Customer Education – important facts Be careful about giving the email addresses to unknown sources (e.g. when filling in forms online etc.) Do not write back to the spammer –Confirm the validity of the e-mail id –Has a link for removal from their list normally doesn’t work Report the complaints to the spammer's ISP –Search spammers IP in the Whois database –Include the full header with the complain
307
Network Abuse
308
Detecting Network Abuse Software to detect Network Abuse –Mostly designed to search the ARIN Whois database –May refer to APNIC Many websites with whois lookup functions –has the same limitations However the IP addresses are registered by four RIRs on a regional basis
309
If a standard search refers you to APNIC –It means only that the network in question is registered in the Asia Pacific region –Does not mean that APNIC is responsible or that the hacker/spammer is using APNIC network Detecting Network Abuse
310
Investigation of Network Abuse complaints APNIC is not able to investigate these complaints Can use the APNIC Whois Database to find out where to take your complaint APNIC does not regulate the conduct of Internet activity (legally or practically)
311
Investigation of Network Abuse complaints Laws relating to network abuse vary from country to country Investigation possibilities –Cooperation of the network administrators –law enforcement agencies Local jurisdiction jurisdiction where the problem originates
312
How can APNIC help you ? The APNIC Whois Database –Holds IP address records within the AP region –Can use this database to track down the source of the network abuse –Can find contact details of the relevant network administrators not the individual users use administrators log files to contact the individual involved
313
How can APNIC help you ? Education of network operators in the Asia Pacific community –Address policies and the importance of registration of resources Community discussions can be raised in the APNIC open policy meetings / mailing lists etc.
314
Questions? Useful FAQ –http://www.apnic.net/info/faq/abuse/index.html
315
Supplementary Reading
316
AS assignment procedures ASN policy document http://www.apnic.net/docs/policy/asn-policy.html ASN request form http://www.apnic.net/db/aut-num.html Using a Dedicated AS for Sites Homed to a Single Provider http://nori.apnic.net/ietf/rfc/rfc2270.txt Guidelines for the creation, selection, and registration of an AS http://nori.apnic.net/ietf/rfc/rfc1930.txt
317
Internet Routing Registry APNIC Routing Registry Guide http://www.apnic.net/services/apnic-rr-guide.html Routing Policy Specification Language (RPSL) http://nori.apnic.net/ietf/rfc/rfc2280.txt Using RPSL in Practice http://nori.apnic.net/ietf/rfc/rfc2650.txt Routing Policy System Security http://nori.apnic.net/ietf/rfc/rfc2725.txt IRRToolSet http://www.ripe.net/ripencc/pub- services/db/irrtoolset/index.html
318
IPv6 IPv6 Address Allocation & Assignment Policy http://ftp.apnic.net/apnic/docs/ipv6-address- policy IPv6 Address request form http://ftp.apnic.net/apnic/docs/ipv6-alloc- request FAQ http://www.apnic.net/info/faq/IPv6-FAQ.html
319
IPv6 The case for IPv6 –draft-ietf-iab-case-for-ipv6-06.txt http://www.6bone.net/misc/case-for-ipv6.html Internet Protocol Version 6 (IPv6) Addressing Architecture http://nori.apnic.net/ietf/rfc/rfc3513.txt IPv6 Stateless Address Autoconfiguration http://nori.apnic.net/ietf/rfc/rfc2462.txt
320
IPv6 The H Ratio for Address Assignment Efficiency http://nori.apnic.net/ietf/rfc/rfc1715.txt The Host-Density Ratio for Address Assignment Efficiency: An update on the H ratio http://nori.apnic.net/ietf/rfc/rfc3194.txt
321
Other supplementary reading Operational Content Books –ISP Survival Guide - Geoff Huston BGP Table –http://www.telstra.net/ops/bgptable.html –http://www.merit.edu/ipma/reports –http://www.merit.edu/ipma/routing_table/mae- east/prefixlen.990212.html –http://www.employees.org/~tbates/cidr.hist.plot. html Routing Instability –http://zounds.merit.net/cgi-bin/do.pl
322
Other supplementary reading Routing & Mulithoming –Internet Routing Architectures - Bassam Halabi –BGP Communities Attribute http://nori.apnic.net/ietf/rfc/rfc1997.txt http://nori.apnic.net/ietf/rfc/rfc1998.txt –Using a Dedicated AS for Sites homed to a Single Provider http://nori.apnic.net/ietf/rfc/rfc2270.txt
323
Other supplementary reading Filtering –Egress Filtering http://www.cisco.com/public/cons/isp –Network Ingress Filtering: Defeating Denial of Service Attacks which employ IP Source Address Spoofing http://nori.apnic.net/ietf/rfc/rfc2267.txt Dampening –case studies at http://www.cisco.com/warp/public/459/16.html Traceroute Server –http://nitrous.digex.net
324
Other supplementary reading Renumbering –Network Renumbering Overview: Why Would I Want It and What Is It Anyway? http://nori.apnic.net/ietf/rfc/rfc2071.txt –Procedures for Enterprise Renumbering http://www.isi.edu/div7/pier/papers.html NAT –The IP Network Address Translator http://nori.apnic.net/ietf/rfc/rfc1631.txt
325
Person object template person:[mandatory] [single] [lookup key] address:[mandatory] [multiple] [ ] country:[optional] [single] [ ] phone:[mandatory] [multiple] [ ] fax-no:[optional] [multiple] [ ] e-mail:[mandatory][multiple] [lookup key] nic-hdl:[mandatory] [single] [primary/look-up key] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
326
Role object template role: [mandatory] [single] [lookup key] address: [mandatory] [multiple] [ ] country: [optional] [single] [ ] phone: [mandatory] [multiple] [ ] fax-no: [optional] [multiple] [ ] e-mail: [mandatory] [multiple] [lookup key] trouble: [optional] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] nic-hdl: [mandatory] [single] [primary/look-up key] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
327
Maintainer object template mntner:[mandatory][single] [primary/look-up key] descr: [mandatory] [multiple] [ ] country: [optional] [single] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [optional] [multiple] [inverse key] upd-to: [mandatory] [multiple] [inverse key] mnt-nfy: [optional] [multiple] [inverse key] auth: [mandatory] [multiple] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] referral-by: [mandatory] [single] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
328
Inetnum object template inetnum:[mandatory] [single] [primary/look-up key] netname:[mandatory] [single] [lookup key] descr: [mandatory] [multiple] [ ] country: [mandatory] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] rev-srv: [optional] [multiple] [inverse key] status: [mandatory] [single] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] mnt-routes: [optional] [multiple] [inverse key] mnt-irt: [optional] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
329
Aut-num object template aut-num:[mandatory][single][primary/look-up key] as-name: [mandatory] [single] [ ] descr: [mandatory] [multiple] [ ] country: [optional] [single] [ ] member-of: [optional] [multiple] [ ] import: [optional] [multiple] [ ] export: [optional] [multiple] [ ] default: [optional] [multiple] [ ] remarks: [optional] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] cross-mnt: [optional] [multiple] [inverse key] cross-nfy: [optional] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] mnt-routes: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
330
Domain object template domain:[mandatory] [single] [primary/look-up key] descr: [mandatory] [multiple] [ ] country: [optional] [single] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] zone-c: [mandatory] [multiple] [inverse key] nserver: [mandatory] [multiple] [inverse key] sub-dom: [optional] [multiple] [inverse key] dom-net: [optional] [multiple] [ ] remarks: [optional] [multiple] [ ] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] refer: [optional] [single] [ ] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
331
Route object template route:[mandatory][single][primary/look-up key] descr:[mandatory] [multiple] [ ] country: [optional] [single] [ ] origin: [mandatory] [single] [primary/inverse key] holes: [optional] [multiple] [ ] member-of: [optional] [multiple] [ ] inject: [optional] [multiple] [ ] aggr-mtd: [optional] [single] [ ] aggr-bndry: [optional] [single] [ ] export-comps: [optional] [single] [ ] components: [optional] [single] [ ] remarks: [optional] [multiple] [ ] cross-mnt: [optional] [multiple] [inverse key] cross-nfy: [optional] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-lower: [optional] [multiple] [inverse key] mnt-routes: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
332
As-set object template as-set:[mandatory][single][primary/look-up key] descr: [mandatory][multiple] [ ] country: [optional] [single] [ ] members: [optional] [multiple] [ ] mbrs-by-ref: [optional] [multiple] [inverse key] remarks: [optional] [multiple] [ ] tech-c: [mandatory] [multiple] [inverse key] admin-c: [mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
333
Route-set object template route-set:[mandatory][single][primary/look-up key] descr: [mandatory] [multiple] [ ] members:[optional] [multiple] [ ] mbrs-by-ref: [optional] [multiple] [inverse key] remarks: [optional] [multiple] [ ] tech-c: [mandatory] [multiple] [inverse key] admin-c: [mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed:[mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
334
inet-rtr:[mandatory][single] [primary/look-up key] descr: [mandatory][multiple] [ ] alias: [optional] [multiple] [ ] local-as: [mandatory] [single] [inverse key] ifaddr: [mandatory] [multiple] [lookup key] peer: [optional] [multiple] [ ] member-of: [optional] [multiple] [inverse key] remarks: [optional] [multiple] [ ] admin-c: [mandatory] [multiple] [inverse key] tech-c: [mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ] Inet-rtr object template
335
Peering-set object template peering-set:[mandatory][single] [primary/look-up key] descr:[mandatory] [multiple] [ ] peering: [mandatory] [multiple] [ ] remarks: [optional] [multiple] [ ] tech-c:[mandatory] [multiple] [inverse key] admin-c:[mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
336
Filter-set object template filter-set:[mandatory] [single] [primary/look-up key] descr: [mandatory] [multiple] [ ] filter: [mandatory] [single] [ ] remarks:[optional] [multiple] [ ] tech-c: [mandatory] [multiple] [inverse key] admin-c:[mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] [ ] source: [mandatory] [single] [ ]
337
Rtr-set object template rtr-set:[mandatory][single] [primary/look-up key] descr: [mandatory][multiple] members: [optional] [multiple] mbrs-by-ref: [optional] [multiple] remarks: [optional] [multiple] tech-c: [mandatory] [multiple] [inverse key] admin-c: [mandatory] [multiple] [inverse key] notify: [optional] [multiple] [inverse key] mnt-by: [mandatory] [multiple] [inverse key] changed: [mandatory] [multiple] source: [mandatory] [single]
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.