VLAN: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Chris (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Chris (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 36: | Zeile 36: | ||
[Address] | [Address] | ||
Address=192.168.50.1/24 | Address=192.168.50.1/24 | ||
</pre> | |||
=== BRIDGE_LAN ins VLAN 50 tagged hinzufügen === | |||
<pre> | |||
bridge vlan add dev BRIDGE_LAN vid 50 self | |||
</pre> | |||
=== Netzwerkinterface von libvirt während laufendem Betrieb ins VLAN 50 untagged hinzufügen === | |||
<pre> | |||
bridge vlan add dev vnetX vid 50 pvid untagged | |||
</pre> | </pre> | ||
Version vom 21. Juni 2023, 19:44 Uhr
/etc/systemd/network/01-BRIDGE_LAN.netdev
[Bridge] DefaultPVID=1 VLANFiltering=1
/etc/systemd/network/23-BRIDGE_LAN.network
[Network] VLAN=BRIDGE_LAN.50
/etc/systemd/network/07-BRIDGE_LAN.50.netdev
[NetDev] Name=BRIDGE_LAN.50 Kind=vlan [VLAN] Id=50
/etc/systemd/network/28-BRIDGE_LAN.50.network
[Match] Name=BRIDGE_LAN.50 [Network] DHCP=no [Address] Address=192.168.50.1/24
BRIDGE_LAN ins VLAN 50 tagged hinzufügen
bridge vlan add dev BRIDGE_LAN vid 50 self
Netzwerkinterface von libvirt während laufendem Betrieb ins VLAN 50 untagged hinzufügen
bridge vlan add dev vnetX vid 50 pvid untagged