Change network subnet
This commit is contained in:
parent
cd79dceb33
commit
dea4242b99
|
@ -10,12 +10,12 @@ in {
|
|||
interfaces.eth0 = {
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [{
|
||||
address = "192.168.1.2";
|
||||
address = "192.168.13.2";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
defaultGateway = {
|
||||
address = "192.168.1.1";
|
||||
address = "192.168.13.1";
|
||||
interface = "eth0";
|
||||
};
|
||||
nameservers = [ "51.158.108.203" "195.10.195.195" ];
|
||||
|
@ -98,7 +98,7 @@ in {
|
|||
bogus-priv
|
||||
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
|
||||
|
||||
cache-size=10000
|
||||
|
@ -106,7 +106,7 @@ in {
|
|||
|
||||
conf-file=/var/lib/dnsmasq/dnsmasq.blacklist.txt
|
||||
|
||||
address=/coolneng.duckdns.org/192.168.1.2
|
||||
address=/coolneng.duckdns.org/192.168.13.2
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue