switch to networkd
This commit is contained in:
parent
19d440a00d
commit
bbe8ad4e05
@ -46,16 +46,8 @@
|
|||||||
hostName = "loutreos"; # Define your hostname.
|
hostName = "loutreos"; # Define your hostname.
|
||||||
hostId = "7e66e347";
|
hostId = "7e66e347";
|
||||||
|
|
||||||
dhcpcd = {
|
useNetworkd = true;
|
||||||
persistent = true;
|
useDHCP = false;
|
||||||
extraConfig = ''
|
|
||||||
interface bouyges
|
|
||||||
metric 10
|
|
||||||
noarp
|
|
||||||
interface enp0s21u2
|
|
||||||
metric 999
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
vlans = {
|
vlans = {
|
||||||
bouyges = {
|
bouyges = {
|
||||||
@ -69,10 +61,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
eno1.useDHCP = false;
|
|
||||||
bouyges = {
|
bouyges = {
|
||||||
# Adresse MAC BBox ? https://lafibre.info/remplacer-bbox/informations-de-connexion-ftth/msg598303/#msg598303
|
# Adresse MAC BBox ? https://lafibre.info/remplacer-bbox/informations-de-connexion-ftth/msg598303/#msg598303
|
||||||
macAddress = "E8:AD:A6:21:73:68";
|
macAddress = "E8:AD:A6:21:73:68";
|
||||||
|
useDHCP = true;
|
||||||
};
|
};
|
||||||
eno2 = {
|
eno2 = {
|
||||||
ipv4.addresses = [
|
ipv4.addresses = [
|
||||||
|
Loading…
Reference in New Issue
Block a user