/127 Point-to-Point Links and /128 Loopbacks Carved from a Free /48
Disclosure up front: I run IPYE, a company that leases IP space. Most of this article is practical how-to; IPYE appears where a free /48, LOA, or ROA helps you try the work, with a short call to action at the end.
Once a network has more than one router, you need addresses for two kinds of thing that are not LANs: the links between routers and the stable loopback addresses routers use for management, iBGP and monitoring. A free IPv6 /48 from IPYE has plenty of room for both, but how you carve them affects security, troubleshooting and how readable your configs stay. This guide covers the practice behind RFC 6164 for /127 links and a simple plan for /128 loopbacks, using 2001:db8:100::/48 as the example.
Why not just use a /64 on every link?
Using a /64 per router-to-router link is common and works. The argument against it is the neighbour cache. A /64 on a point-to-point link contains 2^64 addresses, but only two of them are real. If someone sends packets to random addresses in that /64, the router has to attempt neighbour discovery for each one, which can fill the neighbour table and crowd out legitimate entries. The same problem exists on any /64, but on a link with just two routers there is no reason to accept the exposure.
RFC 6164 recommends /127 prefixes on inter-router links, which leave exactly two addresses: one for each end. Packets to anything else on the link have no on-link destination, so there is nothing to resolve.
The usual plan: reserve /64s, configure /127s
A popular compromise is to reserve a full /64 per link in your plan, but configure only a /127 from the start of it. That keeps the address plan simple, lets you change your mind later, and still gets the protection of a /127:
2001:db8:100:ff00::/56 infrastructure links 2001:db8:100:ff01::/64 reserved for link edge1-edge2 2001:db8:100:ff01::/127 configured 2001:db8:100:ff01::0 edge1 2001:db8:100:ff01::1 edge2 2001:db8:100:ff02::/64 reserved for link edge1-core1 2001:db8:100:ff02::/127 configured Putting all links in one /56 also means one filter line can describe "router link addresses", which helps when you write control-plane filters.
Configuring a /127
On Linux:
ip -6 addr add 2001:db8:100:ff01::0/127 dev eth2 on edge1, and 2001:db8:100:ff01::1/127 on edge2. In FRR, Junos, IOS and most other platforms the syntax is the same idea with the prefix length set to 127.
Older guidance warned against using the all-zeros address on a link, because it is the subnet-router anycast address. RFC 6164 addresses this specifically and says that on a /127 the subnet-router anycast address is not used, so both addresses are usable. Some older equipment still refuses ::0; if you hit that, use ::1 and ::2 from a /126 instead and note the exception in your plan.
Loopbacks as /128s
Router loopbacks should come from their own block so they are easy to recognise and filter:
2001:db8:100:0::/64 router loopbacks 2001:db8:100::1/128 edge1 2001:db8:100::2/128 edge2 2001:db8:100::3/128 core1 Configure them on a loopback or dummy interface:
ip link add lo1 type dummy ip link set lo1 up ip -6 addr add 2001:db8:100::1/128 dev lo1 A loopback address does not go down when one physical link fails, which is why iBGP sessions and management access should use it. Your interior routing protocol or static routes then carry each loopback /128 between routers.
Filtering made easier
With links and loopbacks in known blocks, control-plane protection becomes short. An nftables excerpt for a Linux router:
table inet cp { chain input { type filter hook input priority 0; policy accept; ip6 saddr != { 2001:db8:100::/64, 2001:db8:100:ff00::/56 } tcp dport 179 drop } } This drops BGP from anywhere except your own loopbacks and link addresses. External BGP neighbours on provider links need their own explicit accept rules, so place this table's logic alongside those rules rather than in place of them.
Do not announce the details
Neither /127s nor /128s should leave your network. The upstream sees only the aggregate /48. Inside your network, the interior routing protocol carries the loopbacks, while link prefixes are connected routes on each router. Some operators deliberately keep link prefixes out of the interior protocol altogether so that link addresses are not reachable from far away, which shrinks the attack surface further.
Traceroute readability
A side benefit of a consistent plan is readable traceroutes. When every link address sits under 2001:db8:100:ff00::/56, anyone on the team can look at a hop and know it is an internal link, and the fourth group tells them which one. Add the link name to your documentation or IPAM so the mapping is never in one person's head.
Paperwork for the aggregate
The upstream only needs to know about the /48. When you request the session, include the LOA from the IPYE customer portal. IPYE creates the ROA for the /48, and since you announce only the aggregate, the internal /127s and /128s never need separate RPKI coverage.
Next step
Claim your free IPv6 /48, set aside one /64 for loopbacks and one /56 for links, and configure /127s on every router-to-router link from the start. Questions: ipye@turnel.com.
About IPYE
IPYE (https://ipye.com) leases IPv4, IPv6 and ASN space with instant setup. Your first IPv6 /48 is free for the first year, a real allocation you can announce on your own ASN, with a LOA from the portal and the ROA created automatically. ASN and region changes apply automatically. IPv4 /24 to /22 leases include LOA, ROA and per-/24 rDNS; WHOIS is editable on IPv6 /44 and larger. Locations: Los Angeles, New York, Ashburn, Salt Lake City, London, Amsterdam, Frankfurt. Claim your free /48: https://my.ipye.com/products/ipv6-rental. Questions: ipye@turnel.com.
Disclosure: I run IPYE