The network-interface ledger and live CIDR/subnet arithmetic behind the OnlyCSharp
Relay network manager (1.6). Three interfaces — loopback, wired, wireless —
each with its MAC, address, subnet, gateway and resolvers. Every network address, broadcast
address, netmask and host count below is computed live at build time by pure integer bit math.
Authored as .razor; rendered to static HTML.
Interfaces
Interface
State
MAC
IPv4
CIDR
Gateway
DNS
lo
UP
00:00:00:00:00:00
127.0.0.1
127.0.0.0/8
-
-
eth0
UP
52:54:00:12:34:56
192.168.1.50
192.168.1.0/24
192.168.1.1
1.1.1.1, 8.8.8.8
wlan0
DOWN
a4:c3:f0:1b:2c:3d
10.0.5.7
10.0.0.0/8
10.0.0.1
10.0.0.1
Subnet / CIDR breakdown
Derived from each interface's CIDR by masking the address against the prefix — the same
arithmetic the router's Routing.Prefix codec performs.