Networking: Difference between revisions

imported>Zie
add vlan information.
imported>Zie
add vlan manual link.
Line 44: Line 44:


== VLAN's ==
== VLAN's ==
[https://nixos.org/manual/nixos/stable/options.html#opt-networking.vlans vlan information in the manual]


The below is a complete networking example, showing 2 interfaces, 1 with VLAN trunk tagging and 1 without.
The below is a complete networking example, showing 2 interfaces, 1 with VLAN trunk tagging and 1 without.
Line 54: Line 56:


the hostID should be random data, derived from something like: <syntaxhighlight>head -c4 /dev/urandom | od -A none -t x4</syntaxhighlight> see [https://nixos.org/manual/nixos/stable/options.html#opt-networking.hostId the manual] for more information.
the hostID should be random data, derived from something like: <syntaxhighlight>head -c4 /dev/urandom | od -A none -t x4</syntaxhighlight> see [https://nixos.org/manual/nixos/stable/options.html#opt-networking.hostId the manual] for more information.


Complete networking section example:
Complete networking section example: