Call 0330 520 4093

Lodestar’s story / Build your own network

Chapter 04 of 18

Understand and plan the network

Give every part a clear job and write down its settings before installing anything.

Published 1 November 2026
About 5 minutes to read, plus build time

The early AzurePCS home PC and radio setup
The original AzurePCS setup, photographed by Blake. This historical Band 3 setup inspired the guide.
In this chapter
  1. The connection in ordinary language
  2. The core functions you will meet
  3. The example address plan
  4. Write a settings sheet
  5. Draw two security boundaries
  6. Checkpoint

The connection in ordinary language

The SIM is the phone's membership card, with a secret used to prove that it belongs. The eNodeB is the radio the phone hears. The core checks membership and creates a data session. The packet gateway connects that session to an outside network. DNS turns a name such as a website address into the numeric address a computer can reach.

Radio signal and Internet access are different things. A phone may see the network but fail authentication. It may authenticate but have no route to the Internet. It may reach an IP address but fail to resolve names. Tests later in the guide separate these cases.

The core functions you will meet

NamePlain English jobWhere it lives in this first build
MMEManages the phone joining, moving and becoming reachable again.Open5GS on the PC.
HSSHolds subscriptions and supplies authentication information.Open5GS with a local MongoDB database.
SGW-C and SGW-UArrange and carry the radio-side data tunnel.Open5GS on the same PC.
SMF and UPF acting as PGWProvide the LTE packet gateway and the phone address pool.Open5GS on the same PC.
PCRFProvides policy and subscription-related decisions.Open5GS on the PC.
SEGWAuthenticates remote radio sites and encrypts backhaul.Needed when a site crosses an untrusted network.
IMSRegisters compatible phones for native mobile calls and messages.A later service layer, separate from basic data.

The example address plan

PartExampleWhy it is separate
Home router192.168.50.1/24Existing broadband and administrator LAN.
PC management interfaceDHCP reservation 192.168.50.10 on enp1s0Updates, SSH and Internet exit. Reserve this address in your router.
PC radio interface192.168.200.1/24 on enp2s0Private physical link to the base station. No default gateway here.
Base station management and S1192.168.200.10/24, gateway 192.168.200.1The only trusted radio in this initial lab.
Phone addresses10.45.0.0/16, gateway 10.45.0.1 on ogstunSeparate from administration and the radio management LAN.
Core internal trafficPackaged 127.0.0.x loopback addressesFunctions on the same PC talk locally. Do not publish these.
Public addressYour existing router supplies normal outbound NATNo ASN, leased public block or BGP is needed for this first build.

If your home already uses one of these ranges, choose unused private ranges before continuing and change every matching example. Your phone pool must not overlap any home, VPN or site subnet. The /24 describes a range of 256 addresses. Devices on that range commonly use addresses ending 1 to 254. A gateway is the next device used to reach destinations outside the local range.

The radio port is dedicated. Do not plug it into an untrusted shared building network. The initial design deliberately keeps the radio and core in one room on private Ethernet. If the eNodeB uses separate management and S1 interfaces, map both using its model-specific manual.

Write a settings sheet

SettingFirst build valueWhere it must agree
MCC and MNC999 and 99, with a two-digit MNCSIM IMSI prefix, eNodeB PLMN, MME GUMMEI and TAI.
Tracking area code1, decimaleNodeB and MME. Some radio menus display hexadecimal.
APNinternetPhone APN and HSS subscription.
MME S1 address192.168.200.1MME bind address and radio MME field.
SGW-U S1 address192.168.200.1SGW-U bind address, reachable by the radio.
Subscriber authenticationUnique supplier-provided IMSI, K and OPcUSIM and HSS. The values are private.
Radio channelOnly the frequency and bandwidth on the licenceeNodeB settings and installed equipment.
Time synchronisationNTP for server time, approved GNSS/PTP source for radio timingDo not substitute NTP for TDD phase synchronisation.

999/99 is a private network example, not a unique public identity or a roaming agreement. Another private network can use the same numbers. Choose a coordinated identity for your context and do not broadcast another operator's PLMN. The ITU E.212 recommendation explains private network identifiers.

Draw two security boundaries

First, administration must be reachable only by you. SSH, subscriber editing, databases, monitoring and the radio web interface do not belong on the public Internet. Second, a connected phone is a user device, not an administrator. It must not reach the core's management services, home devices or the base station's web interface.

A SIM proves access rights to the mobile network. It does not make every application trustworthy or every device safe. LTE encryption covers the radio link, an IPsec tunnel covers remote backhaul and HTTPS covers an application connection. Those protections cover different sections of the path.

Choose one core branch for a build. Do not run competing MMEs on the same radio-facing address. The VectorCore chapter gives its own three-host address plan and explains where Open5GS packet gateways remain part of that option. Keep the first network IPv4 only. IPv6 is valuable, but adding it requires a real routed prefix, firewall rules, DNS and return routing. Documentation prefixes such as 2001:db8::/32 cannot provide Internet IPv6. Add that work as a deliberate later change.

Checkpoint

You should be able to point to the phone, radio, core and broadband router on your drawing, explain which address belongs to each and identify where credentials are stored. Keep an ordinary independent way to contact help. This experimental network is not your emergency communications plan.