Secure an internet provider's BGP edge end to end: publish ROAs and an ASPA object from your own Krill certificate authority, validate with two relying parties over RTR, enforce origin validation, ASPA path checks, BGP roles and registry-generated filters in BIRD 3, build an exchange route server with arouteserver, watch neighbours over BMP, blackhole attacks within guardrails, and change routers safely with timed rollback.
Network Engineer. Advanced.
For network engineers who run BGP at an internet provider, a hosting company, an exchange or an enterprise with its own address space and transit, and want to stop trusting neighbours: RPKI and ASPA from their own certificate authority, two relying parties over RTR, registry-generated filters and BGP roles in BIRD, an exchange route server, BMP monitoring, guarded RTBH and changes with timed rollback.
This page explains how the lab fits together: which networks it contains and how they are related, which component checks what, which way each kind of information flows, who may change what, and why the design is this way rather than another. The lessons go deeper into each part; this is the map they hang on.
This lesson checks that the machine you will run the lab on is ready, and refreshes five ideas the later lessons use without stopping: how BGP chooses a route, communities, prefix lengths and longest-prefix match, certificate chains, and how Containerlab builds a network out of containers. If you work with BGP every day, skim the explanations and run the checks.
BGP was designed for a small number of networks that knew each other. A BGP speaker believes what its neighbour tells it: that a prefix exists, that it can be reached through the AS path in the announcement, and that the AS at the end of that path originated it. Nothing in the protocol proves any of that. This lesson explains what goes wrong because of it, the business relationships that decide what should be announced where, and the checks this project adds to Wrenfield's ed
The oldest answer to "may this customer announce this prefix?" is a routing registry. Networks write down which prefixes they originate and which networks they announce on behalf of; their providers read that record and build filters from it. This lesson explains the records, runs the lab's registry with IRRd, generates Wrenfield's customer filters from it with bgpq4, and shows the one way the registry alone lets Wrenfield down, so that lesson 7 can show RPKI closing it.
The routing registry records what networks claim. The Resource Public Key Infrastructure (RPKI) records what the holders of address space have signed, with keys that chain back to the registries that allocated the space. This lesson explains the certificates and the two kinds of signed object this project uses (ROAs and ASPA objects), runs the lab's certificate authority with Krill, and publishes Wrenfield's objects through a plan that refuses to break Wrenfield's own announc
Routers do not fetch or check certificates. A relying party (also called an RPKI validator) does that work: it starts from the trust anchors, walks every repository, checks every signature, manifest and CRL, and produces the list of validated payloads. Routers fetch that list from it over the RPKI-to-Router protocol (RTR). This lesson runs two independent relying parties, explains how RTR keeps routers current and what they do when the data stops coming, and connects BIRD to
Wrenfield's two edge routers and the exchange's route server run BIRD, an open-source routing daemon from CZ.NIC widely used at internet exchanges and by networks that want their routing policy as a program rather than as vendor configuration. This lesson reads the configuration edgeops render writes for the edges: the tables, the protocols, the twelve ordered stages every route from outside passes through, the export rules, and the policy tests that run the filters in a real
Lesson 4 published Wrenfield's ROAs and lesson 5 delivered every network's VRPs to the routers. This lesson uses them: stage 9 of the import pipeline rejects routes that RPKI says are invalid. It explains the check BIRD makes, why Wrenfield rejects invalid routes and does nothing else with the result, how BIRD changes its decisions when the data changes, and what drill 3 measures when both relying parties disappear. It ends with the other side of origin validation: making sur
Origin validation stops a network from announcing space it does not hold. It cannot see a route leak, because a leaked route has the right origin: the mistake is in the middle of the path, where a network passed the route somewhere it should not have. This lesson covers the three checks that look at the path: the provider-in-path stage, ASPA path verification, and BGP roles with the Only-to-Customer (OTC) attribute. Each one stops leaks the others miss, and drill 2 shows a re
At an internet exchange, many networks share one switched network and peer with each other across it. With fifty members, a full mesh of bilateral sessions would be over a thousand sessions, each negotiated and maintained. A route server replaces most of them: each member opens one session to it, and the route server passes every member's routes to every other member. That puts one router in a position of great trust, and an exchange that runs one must filter what members sen
Every check so far judges routes. This lesson protects the sessions that carry them. A BGP session is a long-lived TCP connection; anyone who can inject packets into it can reset it or, in principle, insert routes. And a session from a broken neighbour can flood the router with routes faster than any filter can help. Four mechanisms answer those risks: TCP authentication (MD5 on most sessions, TCP-AO between Wrenfield's edges), the TTL check called GTSM, and limits on how man
Filters decide; they do not tell anyone. When stage 9 rejects a hijack of a customer's prefix, the customer's space is safe at Wrenfield's edge, but the hijack is real and other networks may be accepting it. And when a mistake gets past every filter, someone has to notice it before customers do. This lesson adds the eyes: the BGP Monitoring Protocol (BMP) streams every route each session receives to a collector, Rotonda stores them, the watch service judges them, and Promethe
A volumetric denial-of-service attack sends more traffic at an address than the links in front of it can carry. Orchard Clinics buys a 1 Gbit/s link from Wrenfield; a flood of 10 Gbit/s at one of Orchard's servers fills that link and takes every other Orchard service down with it, and it can fill Wrenfield's transit links too, hurting every customer. Wrenfield cannot filter the attack at its edge: by the time packets reach the edge, the transit links have already carried them
Most routing outages are not attacks. They are changes: a filter with a typo, a neighbour's AS number mistyped, a session reset at the busiest hour. This lesson covers how a change reaches Wrenfield's routers: every change is rendered, parsed, policy-tested and diffed into a plan; a plan is applied with BIRD's timed rollback, so a change that breaks something undoes itself even if the person or the tool applying it has gone; and planned work on a session uses graceful shutdow
The earlier lessons built protections into routing. This one looks at the system that builds them: who can change what, where the secrets live, what an on-call engineer does when each alert fires, and what changes between this lab and a real edge. It ends with the decisions the design made and the ones it would revisit.
Starting point: a copy of the project source and a Linux machine you control. Finishing point: the host has the resources, kernel and tools the lab needs, and the static checks pass on it.
Starting point: a host that passed the static checks. Finishing point: secrets generated, the platform and the ten routers running with bootstrap configurations, and the lab's registry and RPKI certificate authorities seeded.
Starting point: the platform running and seeded; both relying parties serving the other networks' objects. Finishing point: Wrenfield's two ROAs and its ASPA object published by its own certificate authority and served by both relying parties, and a harmful change refused before it was signed.
Starting point: Wrenfield's RPKI objects published; the routers running with bootstrap configurations. Finishing point: the exchange's route server and both edges built from the intent, every BGP and RTR session established, every network reachable from Wrenfield's client, and one registry change of your own planned and applied.
Starting point: the edges and the route server built; every session up. Finishing point: you have watched each routing check stop the attack it exists for, and seen what happens when the RPKI data disappears.
Starting point: the edges built and the routing drills done. Finishing point: you have watched RTBH stop an attack within its guardrails, a receive limit contain a misbehaving customer, graceful shutdown move traffic before maintenance, a TCP-AO key roll over without a reset, and BIRD undo a change by itself.
Starting point: the lab in any state, including after a failed step. Finishing point: no container, volume, network or generated file of the lab remains, checked independently, and the cloud host (if you used one) deleted.
Learning Access: INR 199 plus 18% GST. Source Pack: INR 399 plus 18% GST. 90 days of online access. No auto-renewal.
Runs entirely on a Linux host you provide; the project itself has no cloud resources. If that host is a cloud virtual machine, its provider bills it by the hour from creation until you delete it. Cleanup removes everything the lab created on the host; deleting a cloud instance is your last step.
Vectametric Project Source Licence (2026-09-27): personal learning, modification/deployment and attributed portfolio/interview demonstrations are permitted. Lawfully obtained copies remain usable after online access expires. Do not redistribute original source or the Source Pack; commercial/client production use requires separate permission. Third-party terms remain separate. See included LICENSE.txt and the Project Source Licence section of the site Terms.
You can read the project material without deploying it. Running a cloud build requires the accounts, permissions and tools listed in that project's prerequisites. Deployment runs in your environment, not in a hosted Vectametric lab.
Yes. Learning Access includes the online source-file browser and explanations. The Source Pack adds the downloadable reference repository where available. The project's licence governs use of the source.
No. Cloud and CI usage are separate. Read the project's cost notice, set a budget and stop deadline, and follow its destruction and leftover-resource checks.
The project curriculum lists the available scenarios and interview topics. These focus on understanding the architecture and explaining decisions; they are not a promise of particular interview questions or a job.
The project page and checkout show the online access period for your selected plan. Access does not auto-renew. Downloaded source remains subject to its licence; future releases are not automatically included.
Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.
Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy