⭕
OpenShift Network Playground
  • Getting Started
    • OpenShift Network Playground Overview
    • Architecture
      • Fedora CoreOS
      • Network
      • DNS
      • DHCP
      • Proxy
      • DNS64
      • NAT64
      • PXE
  • Installation
    • Prerequisites
    • vSphere
    • RHEV
    • Libvirt
  • User Guide
    • Cockpit Console
    • CLI Tool
    • OpenShift Bare Metal IPI Cluster
    • Single Node OpenShift Cluster
    • Backup OpenShift Releases
    • Additional Network Interfaces
    • Cluster Node Access
    • Tools
    • Collection of Manifests
  • Troubleshooting
    • Cockpit Cluster deployment
  • FAQ
    • What is ONP?
    • What problem it solves?
    • How to access the cluster that is deployed inside the ONP?
Powered by GitBook
On this page
  1. Getting Started
  2. Architecture

DHCP

Multiple DHCP servers are running on the ONP environment. The below are the list of interfaces and its networks.

Interface
Network
Is-enabled
Service

baremetal

192.168.123.0/24

true

dhcp.service

onp1

192.168.124.0/24

false

onp1-dhcp.service

onp2

192.168.125.0/24

false

onp2-dhcp.service

Configuration

It uses dnsmasq under the hood. The container builds and starts automatically if it is enabled as it is managed by the systemd.

Directory

/opt/openshift-network-playground/dhcp/

Service

dhcp.service

no-daemon
interface=<interface>
dhcp-range=192.168.x.2,192.168.x.254,255.255.255.0
except-interface=lo
bind-interfaces
log-dhcp
dhcp-authoritative
log-asynce
FROM fedora
MAINTAINER "Vinu K" <vinu@redhat.com>
RUN yum install -y dnsmasq
ADD dnsmasq.conf /dnsmasq.conf
ENTRYPOINT ["dnsmasq"]
CMD ["-C", "/dnsmasq.conf"]
PreviousDNSNextProxy

Last updated 1 year ago