From 57715ff325c6ff100473fbf6f54dfb77cb0dfd1f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 17 Mar 2020 13:25:46 +0800 Subject: [PATCH] nixbld: static IP for Red Pitaya --- nixbld-etc-nixos/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 0044bf4..0c1bb37 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -127,6 +127,8 @@ in dhcp-range=interface:${netifLan},::,constructor:${netifLan},ra-names dhcp-range=interface:${netifWifi},::,constructor:${netifWifi},ra-only + # Static IPv4 to make Red Pitaya less annoying + dhcp-host=rp-f05cc9,192.168.1.190 # Static IPv4s to make port redirections work dhcp-host=rpi-1,192.168.1.201 dhcp-host=rpi-2,192.168.1.202