Change network subnet

This commit is contained in:
coolneng 2022-07-12 19:52:12 +02:00
parent cd79dceb33
commit dea4242b99
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 4 deletions

View File

@ -10,12 +10,12 @@ in {
interfaces.eth0 = { interfaces.eth0 = {
useDHCP = false; useDHCP = false;
ipv4.addresses = [{ ipv4.addresses = [{
address = "192.168.1.2"; address = "192.168.13.2";
prefixLength = 24; prefixLength = 24;
}]; }];
}; };
defaultGateway = { defaultGateway = {
address = "192.168.1.1"; address = "192.168.13.1";
interface = "eth0"; interface = "eth0";
}; };
nameservers = [ "51.158.108.203" "195.10.195.195" ]; nameservers = [ "51.158.108.203" "195.10.195.195" ];
@ -98,7 +98,7 @@ in {
bogus-priv bogus-priv
no-resolv no-resolv
listen-address=127.0.0.1,192.168.1.2,10.8.0.1 listen-address=127.0.0.1,192.168.13.2,10.8.0.1
bind-interfaces bind-interfaces
cache-size=10000 cache-size=10000
@ -106,7 +106,7 @@ in {
conf-file=/var/lib/dnsmasq/dnsmasq.blacklist.txt conf-file=/var/lib/dnsmasq/dnsmasq.blacklist.txt
address=/coolneng.duckdns.org/192.168.1.2 address=/coolneng.duckdns.org/192.168.13.2
''; '';
}; };