Bastelnetz ========== .. image:: bastelnetz.svg Gateway (``bastelgw``) ---------------------- **Basic config** .. code-block:: text :caption: ``/etc/dnsmasq.conf`` interface=eth0 domain=bastelnetz.lan local=/bastelnetz.lan/ dhcp-range=192.168.2.50,192.168.2.150,infinite **Host Specific** .. list-table:: :align: left :header-rows: 1 * * MAC * IP * Name * * 98:fe:54:15:78:37 * 192.168.2.52 * ``bastelpi`` * * ... * ... * ... .. code-block:: text :caption: ``/etc/dnsmasq.conf`` dhcp-host=98:fe:54:15:78:37,192.168.2.52,infinite ... .. code-block:: text :caption: ``/etc/hosts`` 192.168.2.52 bastelpi ... How To ... ---------- * Jump to ``bastelpi`` via ``bastelgw`` .. code-block:: console $ ssh -J bastelgw bastelpi