<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SurlyJake &#187; Networking</title>
	<atom:link href="http://www.surlyjake.com/category/linux/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 15:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Debian eth0, eth1, eth2, in Virtualbox or VMware Virtual machines when copying</title>
		<link>http://www.surlyjake.com/2009/11/debian-eth0-eth1-eth2-etc-in-vms-when-copying/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=debian-eth0-eth1-eth2-etc-in-vms-when-copying</link>
		<comments>http://www.surlyjake.com/2009/11/debian-eth0-eth1-eth2-etc-in-vms-when-copying/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 19:44:17 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[eth]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=60</guid>
		<description><![CDATA[Debian uses udev. Udev handles mapping MAC&#8217;s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM. Udev will assign the new Device to eth1, eth2, and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.surlyjake.com/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debian">Debian</a> uses udev. Udev handles mapping MAC&#8217;s to the appropriate /dev/<a href="http://www.surlyjake.com/tag/eth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with eth">eth</a>(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the <a href="http://www.surlyjake.com/tag/vm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with VM">VM</a>.<br />
Udev will assign the new Device to eth1, eth2, and so on. If you want to change your NIC assignments make Udev forget the old MAC.<br />
In Debian 5 (lenny) it is in this file:</p>
<pre><code>/etc/udev/rules.d/70-persistent-net.rules</code></pre>
<p>In Debian 4 (etch) it is in this file:</p>
<pre><code>/etc/udev/rules.d/z25_persistent-net.rules
</code></pre>
<p>To apply changes in Lenny: &#8220;udevadm trigger&#8221; or &#8220;udevtrigger&#8221; (in Etch)</p>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/11/debian-eth0-eth1-eth2-etc-in-vms-when-copying/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/11/debian-eth0-eth1-eth2-etc-in-vms-when-copying/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Debian 4.0r4 NIC bonding</title>
		<link>http://www.surlyjake.com/2008/09/debian-40r4-nic-bonding/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=debian-40r4-nic-bonding</link>
		<comments>http://www.surlyjake.com/2008/09/debian-40r4-nic-bonding/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 18:26:21 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[aggregating]]></category>
		<category><![CDATA[bonding]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=20</guid>
		<description><![CDATA[Install package ifenslave-2.6. apt-get install ifenslave make sure the real NICs kernel modules are loaded automatically modprobe --list &#124; grep -i bonding edit /etc/network/interfaces to look like this: auto bond0 iface bond0 inet static address 192.168.1.59 netmask 255.255.255.0 gateway 192.168.1.1 up /sbin/ifenslave bond0 eth0 eth1 down /sbin/ifenslave -d bond0 eth0 eth1 broadcast 192.168.1.255 make sure [...]]]></description>
			<content:encoded><![CDATA[<p>Install package ifenslave-2.6.</p>
<pre><code>apt-get install ifenslave
</code></pre>
<p>make sure the real NICs kernel modules are loaded automatically</p>
<pre><code>modprobe --list | grep -i <a href="http://www.surlyjake.com/tag/bonding/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bonding">bonding</a>
</code></pre>
<p>edit /etc/network/interfaces to look like this:</p>
<pre><code>auto bond0
iface bond0 inet static
address 192.168.1.59
netmask 255.255.255.0
gateway 192.168.1.1
up /sbin/ifenslave bond0 <a href="http://www.surlyjake.com/tag/eth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with eth">eth</a>0 <a href="http://www.surlyjake.com/tag/eth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with eth">eth</a>1
down /sbin/ifenslave -d bond0 <a href="http://www.surlyjake.com/tag/eth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with eth">eth</a>0 <a href="http://www.surlyjake.com/tag/eth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with eth">eth</a>1
broadcast 192.168.1.255</code></pre>
<p>make sure to remove ALL of the lines refering to old eth0 or eth1 settings.</p>
<p>add the following lines to your /etc/modprobe.d/arch/i386:</p>
<pre><code>alias bond0 bonding
options bonding mode=1 miimon=100 downdelay=200 updelay=200</code></pre>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2008/09/debian-40r4-nic-bonding/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2008/09/debian-40r4-nic-bonding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

