<?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>david winter &#187; home</title>
	<atom:link href="http://davidwinter.me.uk/articles/tag/home/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidwinter.me.uk</link>
	<description>you were expecting someone else?</description>
	<lastBuildDate>Mon, 28 Jun 2010 20:37:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Switch to Static IP on Ubuntu Server</title>
		<link>http://davidwinter.me.uk/articles/2007/01/27/switch-to-static-ip-on-ubuntu-server/</link>
		<comments>http://davidwinter.me.uk/articles/2007/01/27/switch-to-static-ip-on-ubuntu-server/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 12:25:35 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[command line]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://davidwinter.me.uk/articles/2007/01/27/switch-to-static-ip-on-ubuntu-server/</guid>
		<description><![CDATA[I just bought a new Linksys router for my home network and wanted to set-up my Ubuntu Web Server with a static IP address so that I could port-forward a few things. Trouble is, with only the command line it&#8217;s a little tricky to figure out exactly how to do it. Following are the steps [...]]]></description>
			<content:encoded><![CDATA[<p>I just bought a new Linksys router for my home network and wanted to set-up my Ubuntu Web Server with a static IP address so that I could port-forward a few things. Trouble is, with only the command line it&#8217;s a little tricky to figure out exactly how to do it. Following are the steps I used.</p>

<pre><code>sudo nano /etc/network/interfaces
</code></pre>

<p>Inside the file, you&#8217;ll see the following line:</p>

<pre><code>iface eth1 inet dhcp
</code></pre>

<p>We want to switch from <code>dhcp</code> to a <code>static</code> IP address. Comment or delete that line, and then add the following to the file:</p>

<pre><code>iface eth1 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1
</code></pre>

<ol>
<li>This line states we want to use a static IP address.</li>
<li>The static IP address you want to use.</li>
<li>The subnet mask.</li>
<li>This is the IP address of my router which connects to the Internet.</li>
</ol>

<p>Save the file and then restart the network settings:</p>

<pre><code>sudo /etc/init.d/networking restart
</code></pre>

<p>Job done.</p>
]]></content:encoded>
			<wfw:commentRss>http://davidwinter.me.uk/articles/2007/01/27/switch-to-static-ip-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
