title: IP Address & ASN
category: Networking
time: 1733355045140
---

# IP Address

## IPv4

### Public IPv4
```
0.0.0.0/5
8.0.0.0/7
11.0.0.0/8
12.0.0.0/6
16.0.0.0/4
32.0.0.0/3
64.0.0.0/2
128.0.0.0/3
160.0.0.0/5
168.0.0.0/6
172.0.0.0/12
172.32.0.0/11
172.64.0.0/10
172.128.0.0/9
173.0.0.0/8
174.0.0.0/7
176.0.0.0/4
192.0.0.0/9
192.128.0.0/11
192.160.0.0/13
192.169.0.0/16
192.170.0.0/15
192.172.0.0/14
192.176.0.0/12
192.192.0.0/10
193.0.0.0/8
194.0.0.0/7
196.0.0.0/6
200.0.0.0/5
208.0.0.0/4
224.0.0.0/3
```

### Private IPv4

Based on [RFC 1918](https://www.rfc-editor.org/rfc/rfc1918)

```
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
```

### Other None Public IPv4
```
# Carrier-Grade NAT Address (Since 2012)
100.64.0.0/10

# Loopback IP
127.0.0.0/8

# Link-Local IP
169.254.0.0/16
```

## IPv6

#### Public IPv6

Because there are tons of IPv6 Addresses, so I assume anything that's not Private IPv6 are publicily routed IPv6

### Private IPv6

Based on [RFC 4813](https://www.rfc-editor.org/rfc/rfc4193)

```
fd00::/8
```

### Other None Public IPv6
```
# Loopback IP
::/1            # Singal IPv6 for Loopback

# Link-Local IP
fe80::/10       # Reserved for IP auto-configeration
```


# ASN (Autonomous System Number)

### 16-Bit ASN

Private / Reserved ASNs
```
| ASN Range     | Reference                                             | Description                                       |
| ------------- | ----------------------------------------------------- | ------------------------------------------------- |
| 0             | [RFC 7607](https://www.rfc-editor.org/rfc/rfc7607)    | Reserved for RPKI unallocated space invalidation  |
| 23456         | [RFC 6793](https://www.rfc-editor.org/rfc/rfc6793)    | Reserved for AS Pool Transition                   | 
| 64496–64511   | [RFC 5398](https://www.rfc-editor.org/rfc/rfc5398)    | Reserved for use in documentation and sample code |
| 64512–65534   | [RFC 6996](https://www.rfc-editor.org/rfc/rfc6996)    | Reserved for private use                          |
| 65535         | [RFC 7300](https://www.rfc-editor.org/rfc/rfc7300)    | Reserved                                          |
```

Public ASNs
```
| ASN Range     | Description   |
| ------------- | ------------- |
| 1–23455       | Public ASNs   |	
| 23457–64495	| Public ASNs   |	
```


### 32-Bit ASN

Private / Reserved ASNs
```
| ASN Range             | Reference                                             | Description                                       |
| --------------------- | ----------------------------------------------------- | ------------------------------------------------- |
| 65536–65551	        | [RFC 6793](https://www.rfc-editor.org/rfc/rfc6793)    | Reserved for use in documentation and sample code |
| 65552–131071	        |                                                       | Reserved                                          |	
| 4200000000–4294967294 | [RFC 6996](https://www.rfc-editor.org/rfc/rfc6996)    | Reserved for private use                          |
| 4294967295            | [RFC 7300](https://www.rfc-editor.org/rfc/rfc7300)    | Reserved	                                        |
```

Public ASNs
```
| ASN Range         | Description         |
| ----------------- | ------------------- |
|131072–4199999999  | Public 32-bit ASNs  |	
```
