12 comments

  • mark_round8 hours ago
    If you&#x27;d like to experiment with running your own AS in private address space, connecting to a friendly network of geeks over wireguard tunnels, check out DN42 <a href="https:&#x2F;&#x2F;dn42.dev&#x2F;Home" rel="nofollow">https:&#x2F;&#x2F;dn42.dev&#x2F;Home</a>.<p>It&#x27;s a great way to explore routing technologies and safely experiment with your own AS, running the same protocols as the &quot;real&quot; Internet, just in private space.<p>If you do get set up, give me a shout (<a href="https:&#x2F;&#x2F;markround.com&#x2F;dn42" rel="nofollow">https:&#x2F;&#x2F;markround.com&#x2F;dn42</a>), I&#x27;d be happy to peer with you if you want to expand beyond the big &quot;autopeer&quot; networks :)
  • tw049 hours ago
    Not to nitpick, but the title should have AS capitalized. It’s confusing with the current capitalization.
    • pickup1918 hours ago
      Right! I was confused for a bit until I started reading it.<p>Otherwise, getting to know the power of FreeBSD is awesome. Thanks for creating the blog!
    • ocdtrekkie6 hours ago
      I think HN tends to undo all caps words unless it&#x27;s an acronym HN specifically recognizes. Guessing BGP, GRE, and FreeBSD are understood but AS is not.
      • QuantumNomad_5 hours ago
        It’s too late now, but when submitting a post the poster has a window of time to edit the title. Useful for example when HN auto-edits to capitalisation get some words wrong. When you edit the title, those auto-edits are not applied to your edited title.
  • candiddevmike9 hours ago
    I was hoping with IPv6, getting an address space as an individual would go back to how it was in the early IPv4 days, but alas you need to be a multihomed individual with tons of usage instead of just a sophisticated netzien that wants to own their block.
    • dogcow7 hours ago
      Yes, same here. Very frustrating. It is almost as if the powers that be don&#x27;t want lowly netizens controlling their own destiny.
      • direwolf206 hours ago
        Actually, they don&#x27;t want to pollute the internet routing table with routes that are fully subsumed into other routes. The effect on address ownership is a side effect.
        • zhouzhao5 hours ago
          Actually, they just want to milk the money out of you. It&#x27;s a matter of how much your willing to pay, as a business customer, it&#x27;s all possible.<p>Most ISP do not have such pure goals, as to protect the global routing tables ;)
          • direwolf205 hours ago
            RIRs, not ISPs, allocate addresses at the top level, they make money on each address allocation, and they still won&#x27;t allocate addresses to you if you don&#x27;t multihome because they have a duty to conserve resources.<p>When you get PI addresses your LIR&#x2F;ISP just passes your data on to the RIR.
    • dietr1ch4 hours ago
      I don&#x27;t want an address, they should be cheap, meaningless (sans routing, the longer the common prefix, the closer geographically you should be) and not conflated with identifiers.<p>I just want a way to do public-key based discovery. I&#x27;m not sure if wireguard + DHT would do though as it&#x27;d also mean that it&#x27;s easy to track your PK (and maybe you through your devices&#x2F;services announced with PKs).<p>Maybe you can announce your IP in a neat encryption scheme that adds some privacy without increasing costs too much?
    • nine_k5 hours ago
      What is the point of owning public address space?<p>Anything in your private network (even if it goes over public internet) should be encrypted and locked up anyway. Something like Wireguard or Nebula only needs a few (maybe just one) publicly accessible address. Inside the overlay network, it&#x27;s easy to keep IP addresses stable.<p>Anything public-facing likely needs a DNS record, updatable quickly when the IP of a publicly accessible interface changes (infrequently).<p>What am I missing?
      • direwolf205 hours ago
        The realistic point is to have your own abuse email contact, to evade the banhappy policies that most server hosts have even when you did nothing wrong. Usually they suspend your account if you don&#x27;t reply within 24 hours, even if the complaint is obvious nonsense.
      • cyberax3 hours ago
        It&#x27;s the only real way of running reliable IPv6 networks with multiple uplinks. Unless you want NATv6.
      • kortilla3 hours ago
        DNS updates are slow. BGP can react to a downed link in &lt;1 sec.
        • zamadatix1 hour ago
          I have both my own multihomed ASN and operate my own nameservers. The latter has usually been about as fast for failover overall in practice. BGP may look to converge near instantly from your 2-3 peer outbound perspective but the inbound convergence from the 100k networks on the rest of the internet is much slower and has a long tail very akin to trying to set your DNS TTL to 0 and having the rest of the internet decide to do it slower for cache&#x2F;churn reasons anyways.<p>The bigger problem, and where BGP multihoming is most handy, is it&#x27;s just so much easier to get a holistic in+out failover where nothing really changes vs in DNS where it&#x27;s more about getting the future inbound stuff to change where it goes. E.g. it&#x27;s a pain to break an active session because the address had to change, even if DNS can update where the new service is quickly.
          • kortilla37 minutes ago
            The long tail of routers receiving your update doesn’t matter. Once the common transit networks get it, that’s where the rest would dump the traffic to reach you anyway. The only time slow propagation to the edges matters is the first time announcing a prefix after it has been fully withdrawn.<p>Using the wrong route to get the packet in your general direction still gets you the packet as long as it hits an ISP along the way that got the update.<p>We could fully drain traffic from a transit provider in &lt;60s with a withdrawal with all of the major providers you get at the internet exchanges. If you weren’t seeing that your upstream ISPs may have penalized you for flapping too much and put in explicit delays.
    • seszett4 hours ago
      Honestly it&#x27;s not free but it&#x27;s really not that expensive. With RIPE it&#x27;s about 75€ per year for the ASN and being multihomed is not really a problem, there are multiple services that will let you announce through them for free or very cheap. You don&#x27;t have volume minimums.<p>I do agree it should be simpler, but it is accessible to individuals today.
    • zhouzhao6 hours ago
      I feel you. Us nerds have been ignored by modern day home user contracts.
  • mvanbaak8 hours ago
    `-rxcsum -txcsum -rxcsum6 -txcsum6 -lro -tso`<p>Why disable all offloading? It&#x27;s not explained anywhere.
    • nine_k5 hours ago
      Poor driver support on the poster&#x27;s particular hardware, maybe?
      • mvanbaak3 hours ago
        In that case they should add a warning there in my opinion. It makes a lot of difference in my testing
  • rmoriz8 hours ago
    I do a &quot;light&quot; version of this, but without running a public AS and using WireGuard for tunneling my public IPv4 subnet into my homelab (proxmox cluster).<p>Just running bird on my VPS to announce my routes to the upstream over a private link.
  • DarkFuture9 hours ago
    I looked into buying my own IP space from that IP auction site, an IPv4 C-class costs around $10,000. What stopped me was finding out I also to register with RIPE and pay the LIR annual fee, costing hundred Euros per month or so, even if I wasn&#x27;t yet ready to use the IP space (I wanted to setup a basic Anycast IP without Cloudflare with help of VPS host who said they can help and had multiple locations around world).
    • rmoriz8 hours ago
      While I strongly support IPv6 migration, the current IPv4 pricing is a rip-off. All the brokers and auction sites are fantasizing.<p>The market is tight, but nowhere near the point where it was 4-5 years ago. Big cloud providers already bought enormous amounts of IPv4 while many regional ISPs and colocation providers went out of business.<p>There is no real pressure to buy IPv4 except for brand-new companies to get their initial &#x2F;24 or &#x2F;23 to start. Everything else is optional.
      • direwolf205 hours ago
        How can an auction site fantasize? The price is what someone bid, and that&#x27;s the real price.
        • greyface-4 hours ago
          When I bought my initial &#x2F;24 on such a site, it was not a competitive auction. I was the only bidder, and I paid the opening bid price, which was set by the seller. It&#x27;s true that it was a real price, in that I paid it, but the &#x27;auction&#x27; aspect felt like a farce.
        • rmoriz5 hours ago
          They keep details private. It&#x27;s not something transparent like eBay or a public auction. I think it&#x27;s just a scam to pressure buyers into offering more.
    • zamadatix40 minutes ago
      If you do ever sign up with RIPE remember you can get a free &#x2F;24 if it&#x27;s the first one on your account. If you just buy one to start you&#x27;ve paid to lose that privilege.
    • zajio1am6 hours ago
      Note that it is not a real C-class IP prefix unless it is from the 192.0.0.0&#x2F;3 range, otherwise it is just a sparkling &#x2F;24 IP prefix.
    • direwolf207 hours ago
      You only need an LIR annual fee (~$2000) if you want to be an LIR and manage other people&#x27;s resources. Otherwise you find another LIR (some popular choices are the ones the OP used) to manage your resources on your behalf. The annual fee is then ~$60. The resources are allocated directly to you, even when managed by a third party.
    • alibarber7 hours ago
      If you have a ham radio licence (anywhere in the world) you can request a &#x2F;24 if IPv4 space from AMPR for free.<p>It cannot be used commercially and should be in the ‘spirit’ of amateur radio. Unfortunately there’s also a bit of a backlog it seems (a couple of months) right now.
      • tripdout3 hours ago
        Oh, interesting. What&#x27;s at the intersection of networking and amateur radio that these address blocks are often used for?
        • alibarber3 hours ago
          Quite a lot of interesting stuff - for example there are mesh networks setup worldwide that attempt to run IP over RF using these - and then use the internet to forward packets from one to another.<p>They also offer simpler ‘turn-key’ wireguard tunnels too for things like Web SDR setups.<p>For BGP direct announce in practice it seems to be in the spirt of non-commercial ‘self learning and experimentation’ which is what a lot of legislatures around the world do use as their base definition for the ‘amateur’ in amateur radio. So I guess much like having slices of radio frequencies reserved for it, we’re lucky there are slices of address space reserved for this.
    • yuvadam3 hours ago
      If you can register on ARIN the costs are only $260&#x2F;year at the smallest tier and you can also apply for a &#x2F;24 which you should be able to get.
    • frantathefranta8 hours ago
      Yeah for single person use, this only really makes sense with IPv6. I&#x27;m interested in doing this in the near future and I think the yearly price for all-in (IPv6 &#x2F;48 allocation, AS allocation + necessary VPS connections) comes out to about $200. It goes up to $300-400 if you want a PI subnet instead of PA (PI follows you to another LIR, PA does not).
  • rnhmjoj8 hours ago
    &gt; MSS clamping is non-negotiable with tunnels. Every layer of encapsulation eats into the MTU.<p>Can this tunnel be avoided somehow? If I have to choose between owning my prefix and having 1500 MTU, I&#x27;d probably take the latter: MTU issues are so annoying to deal with, and MSS-clamping doesn&#x27;t solve all of them.
    • bc569a80a344f9c8 hours ago
      Kind of but not really.<p>The whole point of BGP is to influence your routing tables. This fundamentally makes very little sense to do when you have a bunch of routers whose routing policy you don&#x27;t control between you and whoever you&#x27;re speaking BGP to. eBGP is just TCP and supports knobs to run over multiple hops (so up to 255), but at that point you can&#x27;t really do anything with the routing information you exchange because the moment you hand the traffic off, the other party can do with it how it pleases. Also, very few people have enough public IP addresses for this, and on the Internet you obviously can&#x27;t route RFC1918 space. Therefore, you need tunnels, so that you can be one hop away even if the tunneled traffic is traversing the Internet, and so that you can reach peers that let you announce whatever IP space you want.<p>The other thing you can do, of course, is to just do the same thing internal to your lab. You can absolutely stand up multiple ASN at home. I&#x27;d even argue that if you really want to learn BGP, this is a great way to do it, especially if you use two different platforms (say, FRR on FreeBSD peering with a cheap Mikrotik running RouterOS). That way you learn the underlying protocol and not a specific implementation, which is something that is very hard to undo in junior network engineers that have only ever been exposed to one way of doing things.<p>That&#x27;s different from some of the goals outlined in the article, but if your goal is to learn this stuff rather than have provider-independent IP space (which even for home labs isn&#x27;t very valuable to most people), doing it all yourself works fine.
      • direwolf207 hours ago
        You can use who you&#x27;re physically connected to. If you have a physical or point–to–point connection to iFog and Lagrange Cloud, you don&#x27;t need tunnels to reach them. Both these companies offer VPS services.<p>If your goal is to learn this stuff join dn42, the global networking lab, instead of wasting money with real allocations.
  • direwolf207 hours ago
    iFog and Lagrange Cloud, naturally.<p>I am always very curious why these operations exist. ISPs for the very specific niche of hobbyists who want to run ASNs.
  • rmoriz8 hours ago
    Just a reminder, that the basic fees at RIPE are 2-3x the fees at ARIN which hurts individuals, SOHO and multihomed not-for-profit institutions.<p>fee schedules FYI<p>- ARIN 2026 PDF: <a href="https:&#x2F;&#x2F;www.arin.net&#x2F;resources&#x2F;fees&#x2F;images&#x2F;2026feeschedule.p" rel="nofollow">https:&#x2F;&#x2F;www.arin.net&#x2F;resources&#x2F;fees&#x2F;images&#x2F;2026feeschedule.p</a>...<p>- RIPE 2026 : <a href="https:&#x2F;&#x2F;www.ripe.net&#x2F;membership&#x2F;payment&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ripe.net&#x2F;membership&#x2F;payment&#x2F;</a><p>Enthusiasts, trainees and small orgs are paying a lot more with RIPE.
    • direwolf205 hours ago
      If you want to be an LIR and have the right to manage other people&#x27;s addresses on their behalf, as well as being a full member of the organisation with voting rights and so on. If you just need addresses, that&#x27;s not you.<p>Your ARIN link is broken.
    • rmoriz5 hours ago
      fixed arin link: <a href="https:&#x2F;&#x2F;www.arin.net&#x2F;resources&#x2F;fees&#x2F;fee_schedule&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.arin.net&#x2F;resources&#x2F;fees&#x2F;fee_schedule&#x2F;</a><p>It&#x27;s basically $275&#x2F;year to have an AS and some PA assignment with no intermediary LIR. In Europe, you have to pay €1800&#x2F;year without an ASN included. Each resource is billed separately. If you go with a middleman (another LIR) you usually have to pay 200€+ (with taxes) for 2 resources (ASN and PI space)
    • nazcan7 hours ago
      Good to know. As someone on the ARIN side, I always found the fees reasonable.
      • icedchai6 hours ago
        You can get better deals with the right LIR. As a hobbyist it was cheaper for me to go with a RIPE LIR over ARIN.<p>See: <a href="https:&#x2F;&#x2F;lagrange.cloud&#x2F;products&#x2F;lir" rel="nofollow">https:&#x2F;&#x2F;lagrange.cloud&#x2F;products&#x2F;lir</a>
        • rmoriz5 hours ago
          It&#x27;s not comparable. You will lose your AS and PA if your sourcing-LIR goes out of business or increases prices against you. It&#x27;s ab big difference to become a LIR or just a downstream customer.
          • direwolf205 hours ago
            You shouldn&#x27;t lose an ASN or PI block, they are registered to you at RIPE, only managed by the LIR and can be transferred to another LIR in exceptional or routine circumstances. I think you&#x27;ll have to pay another fee though.<p>A PA block is just part of a LIR&#x27;s block that they give you permission to use, so I doubt you could keep that if they went out of business, but maybe RIPE has a procedure for it.
          • icedchai5 hours ago
            For a hobbyist it’s perfectly fine, I think? I’ve been doing this for years. If I was a major corporation I might be more concerned.
  • dorianmariecom8 hours ago
    how much does it cost?
  • shon8 hours ago
    [flagged]