<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.freifunk-franken.de/mediawiki/index.php?action=history&amp;feed=atom&amp;title=VLAN_ins_Hausnetz</id>
	<title>VLAN ins Hausnetz - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.freifunk-franken.de/mediawiki/index.php?action=history&amp;feed=atom&amp;title=VLAN_ins_Hausnetz"/>
	<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;action=history"/>
	<updated>2026-04-30T14:49:57Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Freifunk Franken</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20267&amp;oldid=prev</id>
		<title>Miki: /* Grafische Konfiguration */ doppelt &quot;mit mit&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20267&amp;oldid=prev"/>
		<updated>2022-05-03T23:49:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Grafische Konfiguration: &lt;/span&gt; doppelt &amp;quot;mit mit&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 4. Mai 2022, 01:49 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Zeile 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:VLAN-nm-connection-editor4.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:VLAN-nm-connection-editor4.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dieser Computer ist ein gewöhnlicher Freifunk-Client, soll also über den Freifunk-Router &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mit &lt;/del&gt;mit IP-Adressen, DNS usw. versorgt werden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dieser Computer ist ein gewöhnlicher Freifunk-Client, soll also über den Freifunk-Router mit IP-Adressen, DNS usw. versorgt werden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Jetzt wollen wir noch, dass sich der Computer im Normalfall automatisch mit dem Freifunknetz verbindet. Dafür schalten wir die automatische Aktivierung im Hausnetz aus und im Freifunknetz (also VLAN) ein.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Jetzt wollen wir noch, dass sich der Computer im Normalfall automatisch mit dem Freifunknetz verbindet. Dafür schalten wir die automatische Aktivierung im Hausnetz aus und im Freifunknetz (also VLAN) ein.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l70&quot;&gt;Zeile 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:VLAN-nmtui.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:VLAN-nmtui.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Kommandozeilen-Konfiguration ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Kommandozeilen-Konfiguration ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miki</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20266&amp;oldid=prev</id>
		<title>Miki: /* Konfigurationsänderung auf dem Freifunk-Router mit Layer-3 Firmware */ So ist es verständlicher.</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20266&amp;oldid=prev"/>
		<updated>2022-05-03T23:15:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Konfigurationsänderung auf dem Freifunk-Router mit Layer-3 Firmware: &lt;/span&gt; So ist es verständlicher.&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 4. Mai 2022, 01:15 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Zeile 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Prinzipiell ist das Verfahren auch mit der Node Firmware möglich. Weil die Node Firmware eher nicht dafür vorgesehen ist, manuell in die Konfiguration einzugreifen, beschränkt sich der folgende Text auf die Layer-3 Firmware. In der Datei &amp;quot;gateway&amp;quot; muss an zwei Stellen modifiziert werden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Prinzipiell ist das Verfahren auch mit der Node Firmware möglich. Weil die Node Firmware eher nicht dafür vorgesehen ist, manuell in die Konfiguration einzugreifen, beschränkt sich der folgende Text auf die Layer-3 Firmware. In der Datei &amp;quot;gateway&amp;quot; muss an zwei Stellen modifiziert werden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Das Clientnetz muss getagged &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(5t) &lt;/del&gt;auf den WAN-Port gelegt werden. Hier im Beispiel eines Routers mit 5 Ethernet-Ports liegt der WAN Port auf Position 5 und alle anderen Ports sind Client-Ports. Wir ändern auch die VLAN-Kennung von 1 auf 100, Begründung folgt.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Das Clientnetz muss getagged auf den WAN-Port gelegt werden &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(hier 5t)&lt;/ins&gt;. Hier im Beispiel eines Routers mit 5 Ethernet-Ports liegt der WAN Port auf Position 5 und alle anderen Ports sind Client-Ports. Wir ändern auch die VLAN-Kennung von 1 auf 100, Begründung folgt.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  config vlan &amp;#039;100&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  config vlan &amp;#039;100&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miki</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20265&amp;oldid=prev</id>
		<title>Miki: /* Manuelle Konfiguration */ =&gt; Kommandozeilen-Konfiguration</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20265&amp;oldid=prev"/>
		<updated>2022-05-03T23:09:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Manuelle Konfiguration: &lt;/span&gt; =&amp;gt; Kommandozeilen-Konfiguration&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 4. Mai 2022, 01:09 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot;&gt;Zeile 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Manuelle &lt;/del&gt;Konfiguration ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Kommandozeilen-&lt;/ins&gt;Konfiguration ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Für speziellere Setups kann das VLAN auch über Netplan konfiguriert werden. &amp;#039;&amp;#039;&amp;#039;Achtung!&amp;#039;&amp;#039;&amp;#039; Benutze die grafischen Tools (siehe oben) dann &amp;#039;&amp;#039;nicht&amp;#039;&amp;#039; zur Konfiguration! Es entstehen sonst unkontrollierbare Zustände, und spätestens nach dem nächsten Boot wird eh alles überschrieben.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Für speziellere Setups kann das VLAN auch über Netplan konfiguriert werden. &amp;#039;&amp;#039;&amp;#039;Achtung!&amp;#039;&amp;#039;&amp;#039; Benutze die grafischen Tools (siehe oben) dann &amp;#039;&amp;#039;nicht&amp;#039;&amp;#039; zur Konfiguration! Es entstehen sonst unkontrollierbare Zustände, und spätestens nach dem nächsten Boot wird eh alles überschrieben.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miki</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20264&amp;oldid=prev</id>
		<title>Miki: Abbildungen ergänzt.</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20264&amp;oldid=prev"/>
		<updated>2022-05-03T23:06:25Z</updated>

		<summary type="html">&lt;p&gt;Abbildungen ergänzt.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 4. Mai 2022, 01:06 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Zeile 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rufe in der Kommandozeile das Tool &amp;quot;nm-connection-editor&amp;quot; auf. Es erscheint ein Dialog. Soweit hier nicht explizit erwähnt, können alle Einstellungen auf den Defaultwerten gelassen werden. Erzeuge mit dem &amp;quot;+&amp;quot; Button (unten links) ein neues VLAN. Hier im Beispiel nennen wir es &amp;quot;vlan100&amp;quot;, der Name ist natürlich egal.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Rufe in der Kommandozeile das Tool &amp;quot;nm-connection-editor&amp;quot; auf. Es erscheint ein Dialog. Soweit hier nicht explizit erwähnt, können alle Einstellungen auf den Defaultwerten gelassen werden. Erzeuge mit dem &amp;quot;+&amp;quot; Button (unten links) ein neues VLAN. Hier im Beispiel nennen wir es &amp;quot;vlan100&amp;quot;, der Name ist natürlich egal.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;Bild2&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:VLAN-nm-connection-editor2.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die &amp;quot;Übergeordnete Schnittstelle&amp;quot; ist der reale Hardware-Ethernetport. Der Name kann mit dem Kommando &amp;quot;ip address show&amp;quot; gefunden werden. Die VLAN-Kennung ist in unserem Fall 100. Der Name der VLAN-Schnittstelle ist zwar willkürlich, aber es bietet sich an, den Verbindungsnamen zu übernehmen. Der Name der Schnittstelle wird von anderen Programmen oder manuell in der Kommandozeile verwendet.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die &amp;quot;Übergeordnete Schnittstelle&amp;quot; ist der reale Hardware-Ethernetport. Der Name kann mit dem Kommando &amp;quot;ip address show&amp;quot; gefunden werden. Die VLAN-Kennung ist in unserem Fall 100. Der Name der VLAN-Schnittstelle ist zwar willkürlich, aber es bietet sich an, den Verbindungsnamen zu übernehmen. Der Name der Schnittstelle wird von anderen Programmen oder manuell in der Kommandozeile verwendet.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;Bild3&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:VLAN-nm-connection-editor3.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;Bild4&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:VLAN-nm-connection-editor4.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dieser Computer ist ein gewöhnlicher Freifunk-Client, soll also über den Freifunk-Router mit mit IP-Adressen, DNS usw. versorgt werden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dieser Computer ist ein gewöhnlicher Freifunk-Client, soll also über den Freifunk-Router mit mit IP-Adressen, DNS usw. versorgt werden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot;&gt;Zeile 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 62:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Jetzt wollen wir noch, dass sich der Computer im Normalfall automatisch mit dem Freifunknetz verbindet. Dafür schalten wir die automatische Aktivierung im Hausnetz aus und im Freifunknetz (also VLAN) ein.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Jetzt wollen wir noch, dass sich der Computer im Normalfall automatisch mit dem Freifunknetz verbindet. Dafür schalten wir die automatische Aktivierung im Hausnetz aus und im Freifunknetz (also VLAN) ein.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;Bild0&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:VLAN-nm-connection-editor0.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;Bild1&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:VLAN-nm-connection-editor1.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die grafischen Tools von Ubuntu können das VLAN leider nicht schalten. Es werden nur die anderen Netze zusätzlich aktiviert oder deaktiviert, ohne den Zustand des VLAN zu berücksichtigen. Aber es gibt ein pseudografisches Kommandozeilen-Tool &amp;quot;nmtui&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die grafischen Tools von Ubuntu können das VLAN leider nicht schalten. Es werden nur die anderen Netze zusätzlich aktiviert oder deaktiviert, ohne den Zustand des VLAN zu berücksichtigen. Aber es gibt ein pseudografisches Kommandozeilen-Tool &amp;quot;nmtui&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;Bild&lt;/del&gt;-nmtui&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:VLAN&lt;/ins&gt;-nmtui&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miki</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20253&amp;oldid=prev</id>
		<title>Miki: /* Ubuntu Linux (zuletzt getestet mit 22.04) */ Ergänzung.</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20253&amp;oldid=prev"/>
		<updated>2022-05-03T22:36:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Ubuntu Linux (zuletzt getestet mit 22.04): &lt;/span&gt; Ergänzung.&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 4. Mai 2022, 00:36 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Zeile 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sudo vi /etc/modules&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sudo vi /etc/modules&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ans Ende der Datei wird eine Zeile mit dem Text &quot;8021q&quot; ergänzt.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ans Ende der Datei wird eine Zeile mit dem Text &quot;8021q&quot; ergänzt &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(ohne die Anführungszeichen)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Grafische Konfiguration ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Grafische Konfiguration ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Miki</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20252&amp;oldid=prev</id>
		<title>Miki: Neuerstellung, noch ohne Abbildungen.</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-franken.de/mediawiki/index.php?title=VLAN_ins_Hausnetz&amp;diff=20252&amp;oldid=prev"/>
		<updated>2022-05-03T22:33:10Z</updated>

		<summary type="html">&lt;p&gt;Neuerstellung, noch ohne Abbildungen.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Motivation ==&lt;br /&gt;
&lt;br /&gt;
Idealerweise befindet sich alle Hardware, die am Freifunk teilnehmen soll, auf der Clientseite des Freifunk-Routers. Das wäre also WiFi oder eine Verkabelung hinter den Client-Ports des FFF-Routers. Manchmal will man aber auch Geräte erreichen, die zwar im eigenen Haushalt verkabelt sind (im Hausnetz), aber nicht mit der Client-Seite des Freifunkrouters verbunden werden können.&lt;br /&gt;
&lt;br /&gt;
Die folgende Methode ermöglicht es, einen virtuellen &amp;quot;Client-Port&amp;quot; als VLAN ins Hausnetz zu leiten, also vom Freifunkrouter aus dem WAN-Port heraus. Damit das Hausnetz nicht für die Gäste im Freifunknetz erreichbar wird, soll dies über ein getaggtes VLAN erfolgen.&lt;br /&gt;
&lt;br /&gt;
== Konfigurationsänderung auf dem Freifunk-Router mit Layer-3 Firmware==&lt;br /&gt;
&lt;br /&gt;
Prinzipiell ist das Verfahren auch mit der Node Firmware möglich. Weil die Node Firmware eher nicht dafür vorgesehen ist, manuell in die Konfiguration einzugreifen, beschränkt sich der folgende Text auf die Layer-3 Firmware. In der Datei &amp;quot;gateway&amp;quot; muss an zwei Stellen modifiziert werden.&lt;br /&gt;
&lt;br /&gt;
Das Clientnetz muss getagged (5t) auf den WAN-Port gelegt werden. Hier im Beispiel eines Routers mit 5 Ethernet-Ports liegt der WAN Port auf Position 5 und alle anderen Ports sind Client-Ports. Wir ändern auch die VLAN-Kennung von 1 auf 100, Begründung folgt.&lt;br /&gt;
&lt;br /&gt;
 config vlan &amp;#039;100&amp;#039;&lt;br /&gt;
     option comment &amp;#039;client&amp;#039;&lt;br /&gt;
     option ports &amp;#039;1 2 3 4 5t&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 config client&lt;br /&gt;
 	option vlan &amp;#039;100&amp;#039;&lt;br /&gt;
 	...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;#039;&amp;#039;Einschränkung&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;: Der Mietrouter des Internet-Providers nutzt selber einige VLAN Verbindungen für zusätzlich buchbare Optionen. Damit sind üblicherweise einige niedrige VLAN-Kennungen im Hausnetz bereits belegt. Wenn es ganz blöd läuft, kann ein Router in der Strecke auch VLAN Verbindungen komplett blockieren. Hier im Beispiel wurde deshalb die VLAN-Kennung 100 gewählt.&lt;br /&gt;
&lt;br /&gt;
== Konfiguration auf dem Computer ==&lt;br /&gt;
&lt;br /&gt;
Die folgende Konfiguration variiert sehr stark je nach verwendetem Betriebssystem. Bitte um weitere Betriebssysteme ergänzen!&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Linux (zuletzt getestet mit 22.04) ===&lt;br /&gt;
&lt;br /&gt;
Installation des VLAN Zusatzpakets:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install vlan&lt;br /&gt;
&lt;br /&gt;
Testen, ob das Kernelmodul 8021q bereits aktiv ist. Normalerweise ist es das nicht, und das folgende Kommando gibt nichts aus.&lt;br /&gt;
&lt;br /&gt;
 lsmod | grep 8021q&lt;br /&gt;
&lt;br /&gt;
Falls das Modul nicht aktiv war, testen, ob sich das Modul laden lässt.&lt;br /&gt;
&lt;br /&gt;
 sudo modprobe 8021q&lt;br /&gt;
 lsmod | grep 8021q&lt;br /&gt;
&lt;br /&gt;
Werden nun 3 Zeilen Text ausgegeben, dann kann das Modul aktiviert werden und muss nun nur noch bei jedem Systemstart geladen werden:&lt;br /&gt;
&lt;br /&gt;
 sudo vi /etc/modules&lt;br /&gt;
&lt;br /&gt;
Ans Ende der Datei wird eine Zeile mit dem Text &amp;quot;8021q&amp;quot; ergänzt.&lt;br /&gt;
&lt;br /&gt;
==== Grafische Konfiguration ====&lt;br /&gt;
&lt;br /&gt;
Rufe in der Kommandozeile das Tool &amp;quot;nm-connection-editor&amp;quot; auf. Es erscheint ein Dialog. Soweit hier nicht explizit erwähnt, können alle Einstellungen auf den Defaultwerten gelassen werden. Erzeuge mit dem &amp;quot;+&amp;quot; Button (unten links) ein neues VLAN. Hier im Beispiel nennen wir es &amp;quot;vlan100&amp;quot;, der Name ist natürlich egal.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Bild2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die &amp;quot;Übergeordnete Schnittstelle&amp;quot; ist der reale Hardware-Ethernetport. Der Name kann mit dem Kommando &amp;quot;ip address show&amp;quot; gefunden werden. Die VLAN-Kennung ist in unserem Fall 100. Der Name der VLAN-Schnittstelle ist zwar willkürlich, aber es bietet sich an, den Verbindungsnamen zu übernehmen. Der Name der Schnittstelle wird von anderen Programmen oder manuell in der Kommandozeile verwendet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Bild3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Bild4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dieser Computer ist ein gewöhnlicher Freifunk-Client, soll also über den Freifunk-Router mit mit IP-Adressen, DNS usw. versorgt werden.&lt;br /&gt;
&lt;br /&gt;
Jetzt wollen wir noch, dass sich der Computer im Normalfall automatisch mit dem Freifunknetz verbindet. Dafür schalten wir die automatische Aktivierung im Hausnetz aus und im Freifunknetz (also VLAN) ein.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Bild0&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Bild1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die grafischen Tools von Ubuntu können das VLAN leider nicht schalten. Es werden nur die anderen Netze zusätzlich aktiviert oder deaktiviert, ohne den Zustand des VLAN zu berücksichtigen. Aber es gibt ein pseudografisches Kommandozeilen-Tool &amp;quot;nmtui&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Bild-nmtui&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Damit können alle Netze gezielt aktiviert oder deaktiviert werden, auch das VLAN. So können wir sicher stellen, dass wirklich nur ein Netz und das gewünschte aktiv ist. Hier im Beispiel ist das Freifunk-WiFi aktiv. Man kann nun das WiFi deaktivieren und entweder das Freifunk-VLAN oder direkt den Hausnetz-Port aktivieren. Es sollten nie zwei Netze gleichzeitig aktiv sein, außer man weiß, was man tut. &lt;br /&gt;
&lt;br /&gt;
==== Manuelle Konfiguration ====&lt;br /&gt;
&lt;br /&gt;
Für speziellere Setups kann das VLAN auch über Netplan konfiguriert werden. &amp;#039;&amp;#039;&amp;#039;Achtung!&amp;#039;&amp;#039;&amp;#039; Benutze die grafischen Tools (siehe oben) dann &amp;#039;&amp;#039;nicht&amp;#039;&amp;#039; zur Konfiguration! Es entstehen sonst unkontrollierbare Zustände, und spätestens nach dem nächsten Boot wird eh alles überschrieben.&lt;br /&gt;
&lt;br /&gt;
Mit dem Tool &amp;quot;nmtui&amp;quot; kann weiterhin zwischen den Netzen umgeschaltet werden, wie oben beschrieben. Nur Konfigurationsänderungen sollte man vermeiden.&lt;br /&gt;
&lt;br /&gt;
 sudo vi /etc/netplan/01-network-manager-all.yaml&lt;br /&gt;
&lt;br /&gt;
Hier folgt ein Beispiel, das ab der Zeile &amp;quot;Added for VLAN&amp;quot; der obigen grafischen Konfiguration entspricht.&lt;br /&gt;
&lt;br /&gt;
 # Let NetworkManager manage all devices on this system&lt;br /&gt;
 network:&lt;br /&gt;
   version: 2&lt;br /&gt;
   renderer: NetworkManager&lt;br /&gt;
 &lt;br /&gt;
 # Added for VLAN&lt;br /&gt;
   ethernets:&lt;br /&gt;
     enp2s0:&lt;br /&gt;
       activation-mode: manual&lt;br /&gt;
       dhcp4: yes&lt;br /&gt;
       dhcp6: yes&lt;br /&gt;
   vlans:&lt;br /&gt;
     vlan100:&lt;br /&gt;
       id: 100&lt;br /&gt;
       link: enp2s0&lt;br /&gt;
       dhcp4: yes&lt;br /&gt;
       dhcp6: yes&lt;br /&gt;
&lt;br /&gt;
Man sieht wieder die reale Ethernet-Schnittstelle (hier &amp;quot;enp2s0&amp;quot;), die VLAN-Schnittstelle (hier &amp;quot;vlan100&amp;quot;) und die VLAN-Kennung (hier &amp;quot;100&amp;quot;). Die Zeile &amp;quot;activation-mode: manual&amp;quot; am Ethernet-Port sorgt dafür, dass das Hausnetz nach dem Rechnerstart erst mal deaktiviert ist.&lt;br /&gt;
&lt;br /&gt;
Aktivierung von Änderungen: Entweder Reboot, oder mit dem folgenden Kommando. Wenn man remote auf dem Rechner ist und durch Fehlkonfiguration ausgesperrt wird, einfach 2 Minuten warten. Anderenfalls innerhalb der Frist mit ENTER bestätigen.&lt;br /&gt;
&lt;br /&gt;
 sudo netplan try&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;#039;&amp;#039;Anmerkung&amp;#039;&amp;#039;&amp;lt;/u&amp;gt;: Diese Netplan Konfiguration funktioniert auch auf Betriebssystemen mit &amp;quot;networkd&amp;quot; statt &amp;quot;NetworkManager&amp;quot;. Allerdings gibt es dann nicht das Tool &amp;quot;nmtui&amp;quot; zum Umschalten zwischen den Netzen - dort muss eine andere Lösung gefunden werden.&lt;br /&gt;
&lt;br /&gt;
==== Fehlersuche ====&lt;br /&gt;
&lt;br /&gt;
 ip address show&lt;br /&gt;
&lt;br /&gt;
Es sollte das VLAN existieren und mit Freifunk-Adressen aus der eigenen dezentralen Hood versorgt sein.&lt;br /&gt;
&lt;br /&gt;
 ip route show&lt;br /&gt;
&lt;br /&gt;
Es sollte eine Defaultroute über das VLAN zum Freifunk-Router gelegt sein. Das VLAN sollte eine IP-Adresse aus dem Bereich der eigenen dezentralen Hood bekommen haben.&lt;br /&gt;
&lt;br /&gt;
 traceroute &amp;lt;IP des Freifunk-Routers&amp;gt;&lt;br /&gt;
 traceroute &amp;lt;IP im Freifunknetz&amp;gt;&lt;br /&gt;
 traceroute 8.8.8.8&lt;br /&gt;
 traceroute &amp;lt;eine Domain&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Das sollte alles funktionieren, mit IPv6-Adressen analog (traceroute -6).&lt;br /&gt;
&lt;br /&gt;
 curl &amp;lt;eine Domain&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternativ im Browser. Es sollten Webseiten aufrufbar sein, während die Verbindung übers VLAN läuft.&lt;/div&gt;</summary>
		<author><name>Miki</name></author>
	</entry>
</feed>