IP Address Management
description
Transcript of IP Address Management
![Page 1: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/1.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net
IP Address Management
AfNOG Workshop, 11 May 2001
Accra, Ghana
presented by:
Anne Lord, APNIC
Mirjam Kühne, RIPE NCC
![Page 2: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/2.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 2
Definitions
• Internet Registry (IR)• organisation which allocates, assigns and registers
Internet resources (IP addresses, ASNs)
• Regional Internet Registry (RIR)• organisation with regional responsibility for management
of Internet resources• address registration services, co-ordination and policy
development• Must be neutral and consensus-based• APNIC, ARIN, RIPE-NCC - AfriNIC, LACNIC in formation
• Local Internet Registry (LIR)• Usually an ISP, assigns address space to its customers
![Page 3: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/3.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 3
Address Distribution
/8
IANA
RIR
LIR (ISP/Enterprise) /20
ISP / End Users /32
![Page 4: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/4.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 4
Global Policy Development
• Developed in open policy forums
• Implemented by Regional Internet
Registries
• Open, controlled by membership
• Co-ordinated among RIRs
![Page 5: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/5.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 5
Policy Development
ICANN
LIR (ISP/Enterprise)
ISP / End Users
RIR ASO
![Page 6: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/6.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 6
Policy Development Process
• Policy (changes) can be suggested by– RIR Members/Local IRs – RIR staff– Public at large
• Policy must be– fair to all– ‘good’ for the Internet– consistent with global policies
![Page 7: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/7.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 7
Global Context
PSO ASO DNSO
RIPE NCC ARIN APNIC
ICANN
RIPE APNIC mtg.ARIN mtg.
At Large
IETF, w3c, ETSI, ...
AfriNIC
?
LACNIC
?
![Page 8: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/8.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 8
Registry System Goals
• Conservation– efficient use of resources– allocation based on demonstrated need
• Aggregation– Limiting growth of routing table– provider-based addressing policies
• Registration– Ensuring uniqueness– Troubleshooting
• Fairness and Consistency– In the interests of regional and global communities
![Page 9: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/9.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 9
RIR Model - Structure
• Bottom up industry self-regulatory structure
• Open and transparent• Neutral and impartial
• Not for profit membership organisation• Membership open to all interested parties• Membership elects Executive Board• Membership approves activities & budget
• Policies developed by industry at large• Through open policy processes
![Page 10: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/10.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 10
RIR Service Regions
AfriNIC
LACNIC
![Page 11: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/11.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 11
RIR Activities
Public Services• Specific online services
– whois database
• Co-ordination activities – Liaison with development and industry communities
• eg IETF, IEPG, IPv6 Directorate, GSM-A
– Public and targeted information dissemination• eg Governments
Beneficial for the Internet at large
![Page 12: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/12.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 12
RIR Activities
Member Services• Registration Services
– IPv4 address allocation and assignment
– IPv6 address allocation and assignment
– AS number assignment
– Reverse domain name delegation
– Training and Education
Note: RIRs do not register domain names
![Page 13: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/13.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 13
Becoming an LIR?
• When?– you have customers who need addresses– you need more than a /21 in 1 year
• Advantages– independent allocation from RIR
• Disadvantages– has overhead– costs resources– possible need to renumber
• Alternative– addresses from upstream ISP
![Page 14: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/14.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 14
Responsibilities of an LIR
• Be familiar with latest IP policies• Follow goals of Registry System
– conservation– aggregation– registration
• Manage allocations responsibly• Keep up to date records
– internally– whois Database
![Page 15: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/15.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 15
How to become an LIR
• Complete application form
• Have trained contact persons
• Read relevant policy documents
• Sign service agreement
• Pay sign-up & annual service fee
Takes resources!
![Page 16: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/16.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 16
Obtaining IP addresses from existing LIR
• Design and plan network
• Assess address needs
• Provide this information to ISP/LIR
![Page 17: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/17.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 17
Network Documentation
• Design of the network– how many physical segments will it consist of?– what is each segment going to be used for?– including equipment used– how many hosts are in each segment?– expectations of growth– topology map
• Utilisation and efficiency guidelines – 25% immediately, 50% in one year– operational needs; no reservations
![Page 18: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/18.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 18
Network Documentation (2)
• Can address space be conserved by using– different subnet sizes?– avoiding padding between subnets?
• Any address space already in use?– returning and renumbering? (encouraged)
![Page 19: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/19.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 19
Address Architecture - Classful
A (7 bits)A (7 bits) Host address (24 bits)Host address (24 bits)
Class A: 128 networks x 16M hosts (50% of all address space)Class A: 128 networks x 16M hosts (50% of all address space)
0 0
B (14 bits)B (14 bits) Host (16 bits)Host (16 bits)10 10
Class B: 16K networks x 64K hosts (25%)Class B: 16K networks x 64K hosts (25%)
C (21 bits)C (21 bits) Host (8 bits)Host (8 bits)110 110
Class C: 2M networks x 254 hosts (12.5%)Class C: 2M networks x 254 hosts (12.5%)
![Page 20: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/20.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 20
Address Architecture - Classful
• By end of 1992, several challenges
– Internet address depletion• “Generous” allocation policy• Many addresses allocated but unused
– Growing routing table• Every network advertised globally• Routers overloaded• Increasing instability of routing structure
![Page 21: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/21.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 21
Address Architecture - Classless
• CIDR: Classless Inter-Domain Routing– Proposed as “supernetting” in 1992 (RFC1367)– Finalised and deployed in 1993 (RFC1519)
• Higher utilisation through variable-length
network address
• Higher routing efficiency through
aggregation
![Page 22: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/22.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 22
/28: 14 hosts/28: 14 hostsNetwork address: 28 bitsNetwork address: 28 bits Host: 4 bitsHost: 4 bits
Net: 10 bitsNet: 10 bits Host address: 22 bitsHost address: 22 bits
/10: 4M hosts/10: 4M hosts
Classless Addressing - Examples
Network address: 19 bitsNetwork address: 19 bits Host: 13 bitsHost: 13 bits
/19: 8190 hosts/19: 8190 hosts
Network address: 20 bitsNetwork address: 20 bits Host: 12 bitsHost: 12 bits
/20: 4094 hosts/20: 4094 hosts
Network address: 24 bitsNetwork address: 24 bits Host: 6 bitsHost: 6 bits
/24: 254 hosts/24: 254 hosts
![Page 23: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/23.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 23
CIDR Aggregation
Route AnnouncementsRoute Announcements210.100.96/19210.100.96/19202.128/15202.128/15
202.128/15202.128/15
ISP A
210.100.96/19210.100.96/19
ISP B
210.100.127.0/25210.100.127.0/25
Cust B1
210.100.127.128/25210.100.127.128/25
Cust B2202.128.0/23202.128.0/23
Cust A1
202.128.32/19202.128.32/19
Cust A2
![Page 24: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/24.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net
Questions
![Page 25: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/25.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net
Describing your Network
An Example of how to build an Addressing Plan
![Page 26: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/26.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 26
Best Current Practice
• Assignments based on requirements
• Classless assignments
• RFC1918, NAT
• HTTP 1.1
• Dynamic Dial-up
• IP unnumbered
![Page 27: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/27.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 27
Private Address Space
• RFC1918• 10/8 10.0.0.0 - 10.255.255.255• 172.16/12 172.16.0.0 - 172.31.255.255• 192.168/16 192.168.0.0 - 192.168.255.255
• Motivation– saves public address space– allows for more flexibility
• Suitable when– hosts do not require access to other networks– hosts need limited access to outside services
• can use application layer G / W (fire walls, NAT)
![Page 28: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/28.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 28
Web Hosting
• Name based hosting– single IP address assigned to physical server that
hosts several virtual hosts
• IP based hosting– single unique IP address assigned to each virtual
host
![Page 29: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/29.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 29
Name Based Hosting
• Conserves Address Space• Requires
– support of “Host:” header in HTTP requests– HTTP1.1 compliant browsers
• Technical Exceptions– SSL certificates
• work ongoing at IETF to support name based hosting
– Virtual ftp domains with anonymous login
![Page 30: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/30.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 30
Dial up
• Static dial-up strongly discouraged– Wastes address space
• Dynamic dial-up recommended– assigning addresses to a pool– serves more users
![Page 31: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/31.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net 31
• R1 and R2 form a "virtual router"• The serial link has no ip address
– All packets arriving at S0 of either router immediately go to its E0
– All packets generated at E0 go onto serial link
• Conserves addresses but makes management harder
IP Unnumbered
![Page 32: IP Address Management](https://reader035.fdocuments.us/reader035/viewer/2022062801/568143fd550346895db09149/html5/thumbnails/32.jpg)
Anne Lord & Mirjam Kühne . AfNOG Workshop, 10 May 2001 . http://www.ripe.net
Questions