<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ph</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ph"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Ph"/>
	<updated>2026-04-28T12:16:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_a_bridge&amp;diff=3514</id>
		<title>Setting Up a bridge</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_a_bridge&amp;diff=3514"/>
		<updated>2010-04-02T12:04:59Z</updated>

		<summary type="html">&lt;p&gt;Ph: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;apk add bridge-utils&lt;br /&gt;
&lt;br /&gt;
vi /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
 auto br0&lt;br /&gt;
 iface br0 inet static&lt;br /&gt;
 pre-up brctl addbr br0&lt;br /&gt;
 pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-arptables&lt;br /&gt;
 pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-iptables&lt;br /&gt;
 pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-ip6tables&lt;br /&gt;
 address 192.168.0.253&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 192.168.0.254&lt;br /&gt;
 post-down brctl delbr br0&lt;br /&gt;
 &lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet manual&lt;br /&gt;
 up ip link set $IFACE up&lt;br /&gt;
 up brctl addif br0 $IFACE&lt;br /&gt;
 down brctl delif br0 $IFACE || true&lt;br /&gt;
 down ip link set $IFACE down&lt;br /&gt;
 &lt;br /&gt;
 auto eth1&lt;br /&gt;
 iface eth1 inet manual&lt;br /&gt;
 up ip link set $IFACE up&lt;br /&gt;
 up brctl addif br0 $IFACE&lt;br /&gt;
 down brctl delif br0 $IFACE || true&lt;br /&gt;
 down ip link set $IFACE down&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
That way you create br0 with: ifup br0, and you can add/remove&lt;br /&gt;
individual interfaces to the bridge with ifup eth0, ifdown eth0.&lt;/div&gt;</summary>
		<author><name>Ph</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_a_bridge&amp;diff=3513</id>
		<title>Setting Up a bridge</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_Up_a_bridge&amp;diff=3513"/>
		<updated>2010-04-02T11:58:42Z</updated>

		<summary type="html">&lt;p&gt;Ph: Created page with &amp;#039; vi /etc/network/interfaces  auto br0 iface br0 inet static         pre-up brctl addbr br0         pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-arptables         pre-up ec...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
vi /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
auto br0&lt;br /&gt;
iface br0 inet static&lt;br /&gt;
        pre-up brctl addbr br0&lt;br /&gt;
        pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-arptables&lt;br /&gt;
        pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-iptables&lt;br /&gt;
        pre-up echo 0 &amp;gt; /proc/sys/net/bridge/bridge-nf-call-ip6tables&lt;br /&gt;
        address 192.168.0.253&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        gateway 192.168.0.254&lt;br /&gt;
        post-down brctl delbr br0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet manual&lt;br /&gt;
        up ip link set $IFACE up&lt;br /&gt;
        up brctl addif br0 $IFACE&lt;br /&gt;
        down brctl delif br0 $IFACE || true&lt;br /&gt;
        down ip link set $IFACE down&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
iface eth1 inet manual&lt;br /&gt;
        up ip link set $IFACE up&lt;br /&gt;
        up brctl addif br0 $IFACE&lt;br /&gt;
	down brctl delif br0 $IFACE || true&lt;br /&gt;
        down ip link set $IFACE down&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That way you create br0 with: ifup br0, and you can add/remove&lt;br /&gt;
individual interfaces to the bridge with ifup eth0, ifdown eth0.&lt;/div&gt;</summary>
		<author><name>Ph</name></author>
	</entry>
</feed>