Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Can't fully understand how an ASN works.

Hello.

 

I'm planning to make my own hosting company and I want to have my ASN, but can't fully understand how it works. For example, how allocation works. Also, can I allocate ASN to IPs from different providers?

CEO of Remidore Network (Website / Discord)

Remidore Cloud (Website / Discord) coming soon! 5EUR Unlimited NVMe hosting!

ReviveRoblox - coming soon! (Website)

Link to post
Share on other sites

Sorry to be blunt, if you don't know what an ASN is you're not ready to start a hosting company...and starting a hosting company IS really expensive. 

 

Here is the a video explaining:

 

 

CPU: i7 4790K |CPU Cooler: CM Hyper 212 Evo | Motherboard: Z97-A | RAM: 4x4GB Kingston Memory 1600mhz | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 120GB Kingston V300 SSD | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitors: 24" Acer S240HLBID + 24" Samsung  | OS: Win 10 Pro

 

Audio: Behringer 302USB Xenyx 5 Input Mixer |  U-PHORIA UMC204HD | Neweer NW-700 Mic | Sound Blaster Audigy Fx PCI-E card

 

Networking gear:  Lenovo ThinkCenter M82 ESXi 6.7 | Lenovo M93 Tiny Exchange 2019 | TP-LINK TL-SG1024D 24-Port Gigabit | Cisco ASA 5506 firewall  | Cisco Catalyst 3750 Gigabit Switch | HP MicroServer G7 NAS |

Link to post
Share on other sites

The post above is a good introduction. I'll give some additional overview (simplified, not fully detailed) as to what to expect from all this.

 

ASN (Autonomous System Number) is assigned to an ISP or a service provider, who owns some IP prefix (be that IPv4 or IPv6). To get one, you first need to buy (or rent) yourself some IP space/prefix. IPv4 is really expensive, as there is a major shortage for it and cloud providers, who really need them, are really paying big bucks to get them. For IPv4, prices start at about 20-25$ USD per IP and no one is gonna bother selling smaller than /24 block these days (that is, 256 IP addresses).

 

Once you have acquired an IP block, you need to register them at your RIR (ARIN, APNIC, AFRINIC, LACNIC or RIPE). The registration also costs and there are quite a number of requirements involved. After that, you can start assigning the IPs to the servers. But to make them accessible from the Internet, you need to make setup BGP routing. Basically you need to configure BGP system on your outside router to publish that "hey, I know where x.x.x.x/x IP space is" and that info is then propagated to every other public router in the world, that deals with BGP. That's how users can eventually connect to your IPs/servers - all the routers inbetween know where the servers on your IPs are and where the packets should be forwarded to.

 

Not all cloud providers allow you to do any BGP. If you intend to have your own physical servers, you need to also consider where the servers will be, which IX it is connected to etc.

 

And of course all the other hosting company worries - uptime, reliability, stability, maintenance, customer support, network, redundancy, storage, CPU/RAM, firewalls etc.

Skynet: MacBook Pro Late 2016 Space Gray | i7-6820HQ 2.7 GHz | 16 GB LPDDR3 | Radeon Pro 455 2048 MB | 512 GB NVMe SSD | 15" 2880x1800

HAL9000: Intel i5-9600k | Cryorig M9 | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Gigabyte Z390I AORUS PRO WIFI | MSI GTX 1080 Ti SeaHawk X | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 512 GB Samsung 970 Evo Plus | Corsair TX650M | NZXT H210i | LG 34UM95 34" 3440x1440

Hydrogen server: AMD Ryzen 9 3900x | AMD Wraith Prism | 64 GB Crucial Ballistix 3200MHz DDR4 | Asus Prime X570 Pro | Corsair HX1000 | 256 GB Samsung 850 Evo + 1 TB Crucial MX500 + 4x 3 TB + 2 TB WD Red/Seagate/Toshiba  | Fractal Design Define R5 | unRAID 6.8.3

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to post
Share on other sites
13 minutes ago, jj9987 said:

The post above is a good introduction. I'll give some additional overview as to what to expect from all this.

 

ASN (Autonomous System Number) is assigned to an ISP or a service provider, who owns some IP prefix (be that IPv4 or IPv6). To get one, you first need to buy (or rent) yourself some IP space/prefix. IPv4 is really expensive, as there is a major shortage for it and cloud providers, who really need them, are really paying big bucks to get them. For IPv4, prices start at about 20-25$ USD per IP and no one is gonna bother selling smaller than /24 block these days (that is, 256 IP addresses).

 

Once you have acquired an IP block, you can start assigning them to servers. After that, you need to make your IP space accessible using BGP routing. Basically you need to configure BGP system on your outside router to publish that "hey, I know where x.x.x.x/x IP space is" and that info is then propagated to every other public router in the world, that deals with BGP. That's how users can eventually connect to your IPs/servers - all the routers inbetween know where the servers on your IPs are and where the packets should be forwarded to.

 

Not all cloud providers allow you to do any BGP. If you intend to have your own physical servers, you need to also consider where the servers will be, which IX it is connected to etc.

 

And of course all the other hosting company worries - uptime, reliability, stability, maintenance, customer support, network, redundancy, storage, CPU/RAM, firewalls etc.

Oh, so from what I understand, I can't just simply allocate an ASN to an IP address from a provider and another IP from another provider (the IP addresses not being owned by me)?

CEO of Remidore Network (Website / Discord)

Remidore Cloud (Website / Discord) coming soon! 5EUR Unlimited NVMe hosting!

ReviveRoblox - coming soon! (Website)

Link to post
Share on other sites
2 hours ago, mxnugget said:

Oh, so from what I understand, I can't just simply allocate an ASN to an IP address from a provider and another IP from another provider (the IP addresses not being owned by me)?

Every IP block is assigned to a specific ASN. You can't get an ASN if you do not literally own the IP. ASNs aren't done for single addresses either, only IP address blocks.

 

Why would you even need an ASN?

Skynet: MacBook Pro Late 2016 Space Gray | i7-6820HQ 2.7 GHz | 16 GB LPDDR3 | Radeon Pro 455 2048 MB | 512 GB NVMe SSD | 15" 2880x1800

HAL9000: Intel i5-9600k | Cryorig M9 | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Gigabyte Z390I AORUS PRO WIFI | MSI GTX 1080 Ti SeaHawk X | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 512 GB Samsung 970 Evo Plus | Corsair TX650M | NZXT H210i | LG 34UM95 34" 3440x1440

Hydrogen server: AMD Ryzen 9 3900x | AMD Wraith Prism | 64 GB Crucial Ballistix 3200MHz DDR4 | Asus Prime X570 Pro | Corsair HX1000 | 256 GB Samsung 850 Evo + 1 TB Crucial MX500 + 4x 3 TB + 2 TB WD Red/Seagate/Toshiba  | Fractal Design Define R5 | unRAID 6.8.3

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to post
Share on other sites
Just now, jj9987 said:

Every IP block is assigned to a specific ASN. You can't get an ASN if you do not literally own the IP. ASNs aren't done for single addresses either, only IP address blocks.

 

Why would you even need an ASN?

For my hosting company, I want more trust to my customers and I also want to hide my providers.

CEO of Remidore Network (Website / Discord)

Remidore Cloud (Website / Discord) coming soon! 5EUR Unlimited NVMe hosting!

ReviveRoblox - coming soon! (Website)

Link to post
Share on other sites
3 hours ago, mxnugget said:

I want more trust to my customers and I also want to hide my providers.

Hmmm... That sounds contradictory.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×