forked from DGNum/liminix
run dhcp server on bordervm
this is for testing clients that have dhcp upstream
This commit is contained in:
parent
10ab431d15
commit
58cce5b544
1 changed files with 11 additions and 0 deletions
|
@ -80,8 +80,19 @@ in {
|
|||
};
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
services.dnsmasq = {
|
||||
enable = true;
|
||||
resolveLocalQueries = false;
|
||||
settings = {
|
||||
# domain-needed = true;
|
||||
dhcp-range = [ "10.0.0.10,10.0.0.240" ];
|
||||
interface = "eth1";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
|
||||
|
||||
|
||||
virtualisation = {
|
||||
qemu = {
|
||||
networkingOptions = [];
|
||||
|
|
Loading…
Reference in a new issue