Skip to content

Network map

The lab puts five hosts on one LAN subnet using two network modes. This page is the addressing and port reference; the reasoning behind it is in host networking and the macvlan detour.

Defaults shown; all are set in .env. The example subnet here is 10.22.22.0/24.

HostDefault IPNetwork modeRole
dc110.22.22.22hostWritable domain controller
print110.22.22.23macvlan + samba bridgePrint server (Samba member + CUPS)
rodc110.22.22.24macvlan + samba bridgeRead-only domain controller
print-snmp10.22.22.25macvlan + samba bridgeSNMP printer-device sidecar
print-ipp10.22.22.26macvlan + samba bridgeIPP Everywhere sidecar

A domain controller is many services, which is why it runs on host networking.

PortProtocolService
53TCP/UDPDNS
88TCP/UDPKerberos
135TCPRPC endpoint mapper
389TCP/UDPLDAP
445TCPSMB
464TCP/UDPkpasswd (password change)
636TCPLDAPS
3268 / 3269TCPGlobal Catalog (plain / TLS)
49152+TCPDynamic RPC range

That dynamic high range is the reason -p publishing does not work cleanly and the DC takes the host’s network namespace instead.

HostPortService
print1445SMB print spooling
print1631CUPS / IPP (ipp://print1:631/printers/<queue>)
rodc153, 389, 88Read-only DNS, LDAP, Kerberos
print-snmp161/UDPSNMP Printer-MIB (community = lowercased queue name)
print-ipp8631-8633IPP Everywhere reference printers
  • samba — a shared external bridge. Sibling app containers join it to reach the DC through the host gateway. Create it once with make net.
  • macvlan — gives print1, rodc1, and the sidecars their own LAN IPs so real clients address them like physical machines. Configured by PRINT_LAN_PARENT, PRINT_LAN_SUBNET, and PRINT_LAN_GATEWAY.