Mehran Host's own IPv6 · AS219466

The next internet is here:
our own IPv6 in Iran, on your server

IPv4 addresses ran out years ago. Instead of borrowing, Mehran Host registered its own IPv6 block in its own name, announced it to the global internet from its own autonomous network, and now brings IPv6 in Iran to your cloud server with a single tick on the order form, at no extra cost. This page explains what IPv6 is and why it matters, and shows exactly what we built behind these addresses.

Our own IPv6 block, registered to Mehran Host Ranked #11 in Iran by announced IPv6 space Free, alongside the server's IPv4
Mehran Host's autonomous network
AS219466
IPv6Dual-Stack#11 in IranIR
root@server:~# ip -6 addr show scope global
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
    inet6 2a07:dcc0:100:9::2/64 scope global
root@server:~# ping -6 -c 1 2001:4860:4860::8888
64 bytes from 2001:4860:4860::8888: icmp_seq=1
# your server's IPv6 — from AS219466's own block
#11
Rank in Iran by announced IPv6 space (bgp.tools)
524,288
/48 blocks in one /29
317 of 318
global routing monitors that see our route
0
Toman: the price of an IPv6 address on an Iran server

All figures are a snapshot from September 21, 2026. You can open the source of each one further down this page.

Chapter 1 · The end of an era

IPv4 ran out: 4.3 billion addresses for 8 billion people and tens of billions of devices

Every device on the internet needs an address, just as every house needs a street number for the mail carrier. Version 4 of the Internet Protocol (IPv4) set aside 32 bits for these addresses, which works out to 4,294,967,296 of them. In 1981, when the internet was a few hundred university and military computers, that number looked infinite.

Today everyone carries a phone, a laptop and a few smart devices, and thousands of servers work behind all of them. The result is simple: the addresses ran out. What keeps the internet running is a workaround called NAT: hundreds or thousands of users hide behind one shared public address. It works, but it is expensive, it makes direct connections between two devices hard, and every extra layer is a new point of failure.

1981
The birth of IPv4 (RFC 791)32 bits, about 4.3 billion addresses. At the time, that looked like more than enough.
1998
The IPv6 standard (RFC 2460)Engineers saw the end coming: 128 bits. In 2017 it became a full Internet Standard with RFC 8200.
2011
The global pool runs dryOn February 3, 2011, IANA handed its last IPv4 blocks out to the five regional internet registries.
2012
World IPv6 LaunchGoogle, Facebook, YouTube and the largest network operators switched IPv6 on for good.
2019
Our regional registry runs out tooOn November 25, 2019, the regional registry for Europe and the Middle East, which also covers Iran, handed out its last free IPv4 addresses.
Today
IPv4 is a scarce commodityIt is bought, sold and leased. Since February 2024, even AWS charges by the hour for every public IPv4 address.
Chapter 2 · What is IPv6?

What is IPv6? The same internet, with addresses that never run out

IPv6 is version 6 of the Internet Protocol: the successor to IPv4, with 128 bits for each address instead of 32.

340,282,366,920,938,463,463,374,607,431,768,211,456 The total number of IPv6 addresses (2 to the power of 128): about 340 undecillion, or 340 billion billion billion billion

IPv4 · 32 bits

4,294,967,296

Less than one address for every person on Earth. An address looks like 91.199.19.20.

IPv6 · 128 bits

2128

A single server's /64 subnet alone holds 4 billion times as many addresses as the entire IPv4 internet. An address looks like 2a07:dcc0:100:9::2.

If IPv4 is a phone book with room for four billion numbers, IPv6 is a phone book that could give every grain of sand on Earth not one number but billions. But IPv6 is more than "more addresses": its designers took the chance to untie a few of the internet's old knots as well.

What actually changed?

  • End-to-end connectivity, without NAT. When addresses are plentiful, devices no longer need to hide behind a shared address. Every server and every service can have its own public address and be reachable directly, which was the internet's original idea.
  • A simpler, fixed header. Every IPv6 packet header is exactly 40 bytes, and rarely used fields have moved into "extension headers". The IPv6 header has no checksum at all, and routers never fragment packets; fragmentation is the sender's job alone.
  • Automatic configuration. With SLAAC, a device can build its own address from the router's advertisements, without necessarily needing a DHCP server.
  • Goodbye, broadcast. IPv6 has no broadcast at all. Multicast and the Neighbor Discovery Protocol (NDP), which also replaces ARP, take its place.
  • IPsec in the design from day one. The early standards required every IPv6 device to implement IPsec (though not necessarily to use it); RFC 6434 relaxed that to "recommended" in 2011. Most operating systems support it today, but just as with IPv4, it has to be configured separately.

And what didn't change?

TCP, UDP, HTTP, DNS, SSH and everything else you work with every day stay the same. Your website on IPv6 is the same website; it simply has an AAAA record in DNS next to its A record. That is why moving to IPv6 is not a matter of switching one off and the other on: servers run both side by side for years. This is called dual-stack, and it is exactly how Mehran Host servers work: IPv4 stays where it is, and IPv6 is added alongside it.

Chapter 3 · Anatomy of an address

Anatomy of an IPv6 address, using our real one

Eight groups of four hexadecimal digits, separated by colons. Each group is 16 bits.

Mehran Host prefixThe first 29 bits: our own block. Any address that starts with these bits reaches our network, from anywhere in the world.
Site block (/48)The bits up to bit 48 (the last three bits of the second group and all of the third) pick one of this prefix's 524,288 /48 blocks. Each /48 holds 65,536 subnets of its own.
Server subnet (/64)The fourth group is one server's dedicated /64 subnet. No other server shares it.
Interface ID (64 bits)The second half identifies the device itself within that subnet. Here it is just ::2.

Two shorthand rules

Writing out 39 characters for every address gets tiring, so two simple rules (standardized in RFC 5952) shorten it:

  1. Drop the leading zeros in each group: 0100 becomes 100 and 0009 becomes 9.
  2. Replace the longest run of all-zero groups with ::, once. Only once; otherwise there would be no way to tell how many groups each :: stands for.
2a07:dcc0:0100:0009:0000:0000:0000:0002   # full form
2a07:dcc0:100:9:0:0:0:2                   # rule 1
2a07:dcc0:100:9::2                        # rule 2 — the standard form

A few addresses worth knowing: ::1 is the equivalent of 127.0.0.1 (loopback); any address that starts with fe80: is "link-local" and only means something on that one network interface; 2001:db8::/32 is reserved for examples in documentation and is not routed on the internet; and in a URL, an IPv6 address goes inside square brackets: http://[2a07:dcc0:100:9::2]:8080/.

Chapter 4 · Side by side

IPv4 vs IPv6, line by line

FeatureIPv4IPv6
Address length32 bits128 bits
Total addressesAbout 4.3 billionAbout 3.4 × 1038
Notation91.199.19.202a07:dcc0:100:9::2
Address shortage and NATEverywhere: one address shared by many usersNot needed: every device has its own public address
Packet headerVariable, 20 to 60 bytes, with a checksumFixed 40 bytes, no checksum
Packet fragmentationRouters and the senderSender only (minimum MTU: 1280)
Auto-configurationDHCPSLAAC or DHCPv6
Neighbor discoveryARP and broadcastNDP over ICMPv6 and multicast
DNS recordAAAAA
Reverse DNSin-addr.arpaip6.arpa
Loopback127.0.0.1::1
Price of one public addressScarce: bought, leased or billed monthlyOn a Mehran Host Iran server: free
Chapter 5 · Why now?

IPv6 adoption in Iran and worldwide: nearly half of all users already have it

The share of users who can connect over IPv6, as a 30-day average measured by APNIC Labs.

France 85.3%
India 78.5%
Saudi Arabia 74.1%
Germany 73.4%
United States 61.4%
United Kingdom 54.3%
World average 43.7%
Turkey 21.1%
Iran 17.4%

Inside Iran, by network

Irancell (AS44244) 18.8%
MCI (AS197207) 14.5%
TCI (AS58224) 0.3%

Source: APNIC Labs, IPv6 Capable, retrieved September 21, 2026. The figures shift a little every day.

In France more than eight in ten users already have IPv6; in India, Germany and Saudi Arabia, about three in four; and worldwide, more than 43%. Iran lags behind at about 17%, and most of that comes from mobile internet: Irancell and MCI have switched IPv6 on for part of their subscribers. In other words, some of your site's mobile visitors can already reach your server directly over IPv6.

Straight to mobile users

With the Happy Eyeballs algorithm (RFC 8305), browsers usually prefer IPv6 when it is available, and a dual-stack server is ready for both kinds of users.

A public address for every server

With IPv6, servers no longer have to hide behind one IP and NAT: each server has its own public address and is directly reachable.

Ready for IPv6-only networks

Some of the world's mobile and cloud networks run no IPv4 inside at all. A service that has IPv6 spares them one NAT64 translation.

Cheaper than any IPv4

IPv4 is scarce and has to be bought or leased. An IPv6 address on a Mehran Host Iran server costs nothing.

Chapter 6 · Our own IPv6, not borrowed

Our own IPv6 block, announced from AS219466

Most providers borrow IPv6 from their upstream operator: the addresses belong to the operator and change when the operator does. We took the harder road. Mehran Host became a Local Internet Registry (LIR), obtained its own Autonomous System Number (ASN) and registered an IPv6 block in its own name. That means these addresses are registered to Mehran Host in the global whois database, and we announce their route to the internet ourselves.

"Setting up IPv6" took more than getting a number. We created a route object (route6) and a digitally signed origin for the block, so any router in the world that validates routes accepts this block only when it is announced from AS219466. We registered our routing policy with our upstreams (Respina and TCI) and announced the route to the global internet. And we laid out the addressing plan so that every server gets its own /64 subnet.

2025
January 29: Local Internet RegistryMehran Host was registered as a Local Internet Registry (LIR).
2026
June 9 and 11: IPv4 and our network numberThe 91.199.19.0/24 block was allocated in our name, and AS219466 (MEHRANHOST-AS) was registered.
2026
July 13: our own IPv6 blockMehran Host's IPv6 block was registered in its own name.
2026
September 20: route registered and first announcedThe route object with origin AS219466 was created and signed, and that same night the block appeared in the global routing table for the first time.
2026
September 21: seen everywhere317 of 318 global routing monitors see our route.
Now
On Iran cloud serversTick “IPv6 address — free” on the server creation form, and an address from the datacenter's IPv6 pool is assigned to your server when it is built.
Chapter 7 · Registry record

Our network's whois, first-hand

This is exactly what the global whois database shows anyone in the world. It is trimmed, but not a single line is made up, and you can run the query yourself.

$ whois -B AS219466

aut-num:        AS219466
as-name:        MEHRANHOST-AS
import:         from AS58224 accept ANY
export:         to AS58224 announce AS219466
import:         from AS42337 accept ANY
export:         to AS42337 announce AS219466
status:         ASSIGNED
created:        2026-06-11T09:55:13Z

org-name:       Mehran Saeedikia trading as Mehranhost.cloud
org-type:       LIR
country:        IR
e-mail:         support@mehranhost.cloud
% excerpt — address and phone lines trimmed

$ whois -B 91.199.19.0/24

inetnum:        91.199.19.0 - 91.199.19.255
netname:        IR-M3HR4N-20260609
status:         ALLOCATED PA
created:        2026-06-09T11:30:05Z
#11in Iran
Chapter 8 · Ranking

Ranked #11 in Iran by announced IPv6 space

bgp.tools ranks every network (AS) that announces routes from a given country by the amount of IPv6 space it originates. Mehran Host's network, AS219466, has held #11 on that list for Iran since its very first announcement.

To be clear about what this ranking measures: the size of the address space a network announces to the global internet, not traffic and not customer numbers. Still, that number shows the capacity behind this service: a /29 means 524,288 /48 blocks, or about 34.4 billion /64 subnets, roughly 147 billion billion times all the IPv4 addresses in the world. Put simply, the size of the block will never be what limits us.

AS219466 299 addresses Seen by 317 of 318 RIS collectors

Source: bgp.tools/as/219466: “#11 for Originated IPv6 Space in Iran”, retrieved September 21, 2026. Rankings shift as other networks change their announcements.

Chapter 9 · Under the hood

How an IPv6 packet reaches your server

Whenever someone, anywhere in the world, connects to your server's address, this is the path the packet takes.

Global internetRouters worldwide see in their tables which network announced our block.::/0
UpstreamToday our IPv6 route reaches the global internet through Respina; a routing policy with TCI is registered as well.AS42337
Mehran Host networkThe block's origin is signed, so a forged announcement of this block from any other network is treated as invalid.AS219466
Datacenter and nodeThe node's IPv6 pool: your address is taken from here when your server is built./48 → /64
Your serverIts own dedicated subnet, with a link-local gateway.…:9::2/64 · gw fe80::1

The servers' IPv6 gateway is a "link-local" address (fe80::1), not a public one. This is standard practice in IPv6: every IPv6 network interface has an fe80:: address, and the default route can point straight at it.

Chapter 10 · Ordering

Order an Iran VPS with IPv6 in three steps

The IPv6 option is off by default; switch it on whenever you like when you create a server.

Location and resources

In “Create a cloud server”, choose a location and set RAM, CPU and disk with the sliders; the hourly price is calculated live.

Tick “IPv6 address — free”

In the “Choose resources” step, under the backup option, tick “IPv6 address — free”. The order summary then shows “1 address (free)”. Nothing is added to the price.

Build and delivery

The address is assigned from the datacenter's IPv6 pool when the server is built, and it appears on the server page next to the IPv4 address.

Create a server with IPv6

Iran cloud servers start at 863 Toman per hour. The IPv6 address is free, and traffic is metered by usage, as always.

Chapter 11 · Setup and testing

Set up and test IPv6 on Ubuntu, Debian, Windows Server and MikroTik

1. Check the address

Once the server is up, log in over SSH and check that the address is on the network interface:

ip -6 addr show scope global
ip -6 route show default

You should see an address starting with 2a07:dcc0: (the same address shown on the server page in your panel) and a default route via fe80::1.

2. Test the connection

ping -6 -c 3 2001:4860:4860::8888      # Google Public DNS over IPv6
curl -6 https://ifconfig.co

The second command should print your server's IPv6 address.

You can also log in to the server over IPv6 directly from outside: ssh root@2a07:dcc0:100:X::2 (use your own server's address from the server page). In scp and in the browser address bar, put the address inside square brackets.

3. If the address is not on the interface

If you added IPv6 from the server page after the server was built, first restart the server once from the panel (a restart from inside the operating system is not enough). On our Linux templates, that restart writes the network configuration.

If you changed the operating system by hand or use a custom template and don't see the address, configure it on Ubuntu with netplan like this (take the interface name from the output of ip link and use your own address):

# /etc/netplan/60-ipv6.yaml
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - 2a07:dcc0:100:X::2/64    # your address, from the server page
      routes:
        - to: "::/0"
          via: "fe80::1"
          on-link: true
sudo chmod 600 /etc/netplan/60-ipv6.yaml
sudo netplan try      # rolls back by itself after 120 s unless you confirm
On Debian (ifupdown) or AlmaLinux and Rocky (NetworkManager), you write the same settings in their own format: the address with a /64 prefix, and a default route to fe80::1 on the same interface.

Windows Server (in a Command Prompt run as Administrator; take the interface name from the output of ipconfig):

netsh interface ipv6 add address "Ethernet" 2a07:dcc0:100:X::2/64
netsh interface ipv6 add route ::/0 "Ethernet" fe80::1

MikroTik (RouterOS): on version 6, if there is no /ipv6 menu, enable the IPv6 package first (/system package enable ipv6 and a reboot):

/ipv6 address add address=2a07:dcc0:100:X::2/64 interface=ether1 advertise=no
/ipv6 route add dst-address=::/0 gateway=fe80::1%ether1

4. Bring your site and services onto IPv6

  • Web server: in nginx, add listen [::]:80; next to listen 80; (and listen [::]:443 ssl; for HTTPS). How to install nginx on Ubuntu
  • DNS: create an AAAA record for your domain with the server's IPv6 address, and keep the A record so IPv4 users can still reach you. In the Mehran Host panel, you do this under “DNS management”. DNS records explained
  • Other services: most software covers both versions when it listens on ::. Run ss -tlnp to see what is listening on which address.
Chapter 12 · Security

IPv6 firewall basics: a public address needs a real firewall

With IPv4, NAT acted as a wall by accident. With IPv6 your server is directly reachable, so you have to build the wall yourself.

A firewall for both versions

On Ubuntu, ufw applies its rules to IPv6 as well by default (IPV6=yes in /etc/default/ufw). If you work with iptables directly, remember that IPv6 has its own table: ip6tables (or nftables).

Don't block ICMPv6 entirely

In IPv6, neighbor discovery and the “Packet Too Big” message run over ICMPv6. Blocking it completely breaks connectivity in strange ways. RFC 4890 lists the messages that must stay open.

Don't rely on obscurity

The sheer size of IPv6 space does not hide your server: server addresses follow a guessable pattern (::2 in every /64) and show up in DNS, logs and certificates. Key-based SSH, up-to-date services and closed ports remain the rules, as always.

FAQ

IPv6 FAQ: the questions people actually ask

What is IPv6, in plain words?
IPv6 is version 6 of the Internet Protocol, the addressing system that lets every device be found on the internet, but with 128-bit addresses instead of 32-bit ones. As a result, instead of about 4.3 billion IPv4 addresses there are about 340 undecillion (340 billion billion billion billion), and every device and every server can have its own public address.
Does an IPv6 address cost extra on Mehran Host Iran servers?
No. An IPv6 address on Iran cloud servers is free and adds nothing to the server's hourly price. Server traffic is metered by usage, as always.
Does turning on IPv6 remove my server's IPv4 address?
No. The server runs dual-stack: IPv4 stays where it is and IPv6 is added alongside it. Users without IPv6 reach the server over IPv4, just as before.
Do these addresses really belong to Mehran Host, or are they leased from someone else?
They are ours. Our IPv6 block is registered to Mehran Host in the global whois database and announced to the internet from our own autonomous network, AS219466. The network's whois record is shown on this page, and anyone can run the query themselves.
What exactly does “#11 in Iran” mean?
bgp.tools ranks each country's networks by the amount of IPv6 space they originate, and AS219466 ranks #11 in Iran (snapshot from September 21, 2026). The ranking measures address space, not traffic or customer numbers.
How do I order a server with IPv6?
In “Create a cloud server”, choose a location and resources, then tick “IPv6 address — free” in the “Choose resources” step. The option is off by default and only available in locations that have an IPv6 pool. The address is assigned when the server is built and shown on the server page.
Can I get IPv6 on a server I already have?
Yes, for free, in locations that have an IPv6 pool and while addresses are available. On the server management page, in the “Server IP addresses” section, click “Add free IPv6” and an IPv6 address is added to that server. Then restart the server once from the panel so the address is configured in the operating system. On Windows, MikroTik or a custom OS, set the address by hand using the guide on this page.
Will Iranian users without IPv6 still see my site?
Yes. As long as your domain's A (IPv4) record stays in place, every user can reach your site. Users who have IPv6 (in Iran, mostly mobile internet subscribers) can connect directly over IPv6 through the AAAA record.
Why is my server's IPv6 gateway fe80::1?
fe80::1 is a link-local address: it only means something on that one network interface and is never routed on the internet. Using a link-local address as the gateway is standard practice in IPv6, and the server's default route points straight at it.
Do you offer IPv6 on servers outside Iran too?
IPv6 is enabled by default on Hetzner servers, but those addresses come from the foreign datacenter itself. Mehran Host's own block, and the option described on this page, apply to cloud servers inside Iran.

Get IPv6 in Iran on your server, starting today

Our own block and our own network, in an Iranian datacenter, on your server for free.