enable DHCP protocol for eno2
This commit is contained in:
parent
4140cf24f1
commit
1c858b10bd
1 changed files with 18 additions and 18 deletions
|
|
@ -5,25 +5,25 @@
|
||||||
wait-online.enable = false;
|
wait-online.enable = false;
|
||||||
networks = {
|
networks = {
|
||||||
"eno2" = {
|
"eno2" = {
|
||||||
dns = [
|
# dns = [
|
||||||
"192.168.31.1"
|
# "192.168.31.1"
|
||||||
];
|
# ];
|
||||||
address = [
|
# address = [
|
||||||
"192.168.31.25/24"
|
# "192.168.31.25/24"
|
||||||
];
|
# ];
|
||||||
gateway = [
|
# gateway = [
|
||||||
"192.168.31.1"
|
# "192.168.31.1"
|
||||||
];
|
# ];
|
||||||
routes = [
|
# routes = [
|
||||||
{
|
# {
|
||||||
Gateway = "192.168.31.1";
|
# Gateway = "192.168.31.1";
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
matchConfig.Name = "eno2";
|
matchConfig.Name = "eno2";
|
||||||
# networkConfig = {
|
networkConfig = {
|
||||||
# DHCP = "no";
|
DHCP = "yes";
|
||||||
# IPv6AcceptRA = true;
|
IPv6AcceptRA = true;
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue