<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alessandro.delgallo.net//index.php?action=history&amp;feed=atom&amp;title=Bridging</id>
	<title>Bridging - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alessandro.delgallo.net//index.php?action=history&amp;feed=atom&amp;title=Bridging"/>
	<link rel="alternate" type="text/html" href="https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;action=history"/>
	<updated>2026-09-15T07:58:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=3816&amp;oldid=prev</id>
		<title>Xunil: Reverted edits by Ypebezimyx (Talk) to last version by Porcelinux</title>
		<link rel="alternate" type="text/html" href="https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=3816&amp;oldid=prev"/>
		<updated>2010-11-18T14:54:32Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php/Special:Contributions/Ypebezimyx&quot; title=&quot;Special:Contributions/Ypebezimyx&quot;&gt;Ypebezimyx&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Ypebezimyx&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Ypebezimyx (page does not exist)&quot;&gt;Talk&lt;/a&gt;) to last version by &lt;a href=&quot;/index.php/User:Porcelinux&quot; title=&quot;User:Porcelinux&quot;&gt;Porcelinux&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:54, 18 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Xunil</name></author>
	</entry>
	<entry>
		<id>https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=1490&amp;oldid=prev</id>
		<title>Porcelinux at 15:18, 15 October 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=1490&amp;oldid=prev"/>
		<updated>2006-10-15T15:18:42Z</updated>

		<summary type="html">&lt;p&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:18, 15 October 2006&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-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;  ifconfig&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;  ifconfig&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;'&lt;/del&gt;'''Bridge pronto!&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&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;'''Bridge pronto!'''&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;Help di brctl:&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;=== &lt;/ins&gt;Help di brctl: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===&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;div&gt;         addbr           &amp;lt;bridge&amp;gt;                add bridge&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;         addbr           &amp;lt;bridge&amp;gt;                add bridge&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;div&gt;         delbr           &amp;lt;bridge&amp;gt;                delete bridge&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;         delbr           &amp;lt;bridge&amp;gt;                delete bridge&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Porcelinux</name></author>
	</entry>
	<entry>
		<id>https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=1489&amp;oldid=prev</id>
		<title>Porcelinux at 15:18, 15 October 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=1489&amp;oldid=prev"/>
		<updated>2006-10-15T15:18:04Z</updated>

		<summary type="html">&lt;p&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:18, 15 October 2006&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;==== Se abbiamo una macchina con 2 o + interfacce di rete e vogliamo usarle come un switch useremo un bridge ====&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;==== Se abbiamo una macchina con 2 o + interfacce di rete e vogliamo usarle come un switch useremo un bridge ====&lt;/div&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;Come &lt;/del&gt;rete &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uso uan &lt;/del&gt;privata di classe A 192.168.1.0/24  &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;Userò una &lt;/ins&gt;rete privata di classe A 192.168.1.0/24  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;* 2 interfacce ethernet eth0 e eth1&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;div&gt;* Stoppo iptables:&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;* Stoppo iptables:&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;div&gt;  /etc/init.d/iptables stop&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;  /etc/init.d/iptables stop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Porcelinux</name></author>
	</entry>
	<entry>
		<id>https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=1488&amp;oldid=prev</id>
		<title>Porcelinux at 15:17, 15 October 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.alessandro.delgallo.net//index.php?title=Bridging&amp;diff=1488&amp;oldid=prev"/>
		<updated>2006-10-15T15:17:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== Se abbiamo una macchina con 2 o + interfacce di rete e vogliamo usarle come un switch useremo un bridge ====&lt;br /&gt;
* Come rete uso uan privata di classe A 192.168.1.0/24 &lt;br /&gt;
* Stoppo iptables:&lt;br /&gt;
 /etc/init.d/iptables stop&lt;br /&gt;
* Aggiungo le regole a iptables in modo da non farmi bloccare le connessioni&lt;br /&gt;
 iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -d 192.168.1.0/24 -j ACCEPT&lt;br /&gt;
 iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE&lt;br /&gt;
* Salvo e avvio iptables&lt;br /&gt;
 /etc/init.d/iptables save&lt;br /&gt;
 /etc/init.d/iptables start&lt;br /&gt;
* Creo effettivamente il bridge&lt;br /&gt;
 brctl addbr br0&lt;br /&gt;
 brctl stp br0 off&lt;br /&gt;
* Ci acciungo le 2 interfaccie (o +)&lt;br /&gt;
 brctl addif br0 eth0&lt;br /&gt;
 brctl addif br0 eth1&lt;br /&gt;
* Imposto l'ip in bianco, dato che l'indirizzo delle schede non è necessario, ce ne sarà uno per entrambe.&lt;br /&gt;
 ifconfig eth1 0 0.0.0.0&lt;br /&gt;
 ifconfig eth0 0 0.0.0.0&lt;br /&gt;
* Do l'indirizzo al bridge (unione delle due interfacce)&lt;br /&gt;
 ifconfig br0 192.168.1.82 netmask 255.255.255.0 up&lt;br /&gt;
 echo '1' &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
* creo la route per il mio gateway&lt;br /&gt;
 route add default gw 192.168.1.1&lt;br /&gt;
* vediamo che dice ifconfig...&lt;br /&gt;
 ifconfig&lt;br /&gt;
&lt;br /&gt;
''''Bridge pronto!''''&lt;br /&gt;
&lt;br /&gt;
Help di brctl:&lt;br /&gt;
        addbr           &amp;lt;bridge&amp;gt;                add bridge&lt;br /&gt;
        delbr           &amp;lt;bridge&amp;gt;                delete bridge&lt;br /&gt;
        addif           &amp;lt;bridge&amp;gt; &amp;lt;device&amp;gt;       add interface to bridge&lt;br /&gt;
        delif           &amp;lt;bridge&amp;gt; &amp;lt;device&amp;gt;       delete interface from bridge&lt;br /&gt;
        setageing       &amp;lt;bridge&amp;gt; &amp;lt;time&amp;gt;         set ageing time&lt;br /&gt;
        setbridgeprio   &amp;lt;bridge&amp;gt; &amp;lt;prio&amp;gt;         set bridge priority&lt;br /&gt;
        setfd           &amp;lt;bridge&amp;gt; &amp;lt;time&amp;gt;         set bridge forward delay&lt;br /&gt;
        sethello        &amp;lt;bridge&amp;gt; &amp;lt;time&amp;gt;         set hello time&lt;br /&gt;
        setmaxage       &amp;lt;bridge&amp;gt; &amp;lt;time&amp;gt;         set max message age&lt;br /&gt;
        setpathcost     &amp;lt;bridge&amp;gt; &amp;lt;port&amp;gt; &amp;lt;cost&amp;gt;  set path cost&lt;br /&gt;
        setportprio     &amp;lt;bridge&amp;gt; &amp;lt;port&amp;gt; &amp;lt;prio&amp;gt;  set port priority&lt;br /&gt;
        show                                    show a list of bridges&lt;br /&gt;
        showmacs        &amp;lt;bridge&amp;gt;                show a list of mac addrs&lt;br /&gt;
        showstp         &amp;lt;bridge&amp;gt;                show bridge stp info&lt;br /&gt;
        stp             &amp;lt;bridge&amp;gt; &amp;lt;state&amp;gt;        turn stp on/off&lt;/div&gt;</summary>
		<author><name>Porcelinux</name></author>
	</entry>
</feed>