<?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>/harry-webster.co(.uk&#124;m)/ &#187; poundhost</title>
	<atom:link href="http://www.harry-webster.co.uk/tag/poundhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harry-webster.co.uk</link>
	<description>Harry Webster&#039;s Blog</description>
	<lastBuildDate>Thu, 11 Aug 2011 18:43:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PoundHost &#8211; BlueSquare Adding an IP address and IP&#8217;s to VMWare virtual machines</title>
		<link>http://www.harry-webster.co.uk/2010/02/poundhost-bluesquare-adding-an-ip-address-and-ips-to-vmware-virtual-machines/</link>
		<comments>http://www.harry-webster.co.uk/2010/02/poundhost-bluesquare-adding-an-ip-address-and-ips-to-vmware-virtual-machines/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 15:28:01 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[poundhost]]></category>
		<category><![CDATA[vmnet]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.harry-webster.co.uk/?p=20</guid>
		<description><![CDATA[Add a virtual IP address to the host server. This is done on the loopback rather than eth0:0. 3.3.3.3 = This is the [...]]]></description>
			<content:encoded><![CDATA[<p>Add a virtual IP address to the host server. This is done on the loopback rather than eth0:0.</p>
<p>3.3.3.3 = This is the virtual IP address you&#8217;ve been given.</p>
<blockquote>
<pre>[root@host network-scripts]# vi /etc/sysconfig/network-scripts/ifcfg-lo:0
DEVICE=lo:0
IPADDR=3.3.3.3
NETMASK=255.255.255.255
ONBOOT=yes
NAME=whatever
IPV6INIT=no
IPV6_AUTOCONF=no</pre>
</blockquote>
<p>Add an IP addressfor a VMWare machine (guest).</p>
<p>Make sure the the network interface for the guest machine is setup as &#8220;Custom&#8221; vmnet1 (this is host only).</p>
<p>host: 1.1.1.1<br />
guest: 2.2.2.2</p>
<blockquote>
<pre>[root@host network-scripts]# vim /etc/rc.local</pre>
</blockquote>
<p>Add the following to the bottom of the file:</p>
<blockquote>
<pre>sleep 30
route add 1.1.1.1 dev vmnet1</pre>
</blockquote>
<p>Login to the guest machine and add the eth0 config.</p>
<blockquote>
<pre>[root@guest ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BROADCAST=2.2.2.2
IPADDR=2.2.2.2
IPV6INIT=no
IPV6_AUTOCONF=no
NOZEROCONF=yes
NETMASK=255.255.255.255
NETWORK=2.2.2.2
ONBOOT=yes</pre>
</blockquote>
<p>Now create a route on the guest machine.</p>
<blockquote>
<pre>[root@guest ~]# cat /etc/sysconfig/network-scripts/route-eth0
ADDRESS0=1.1.1.1
NETMASK0=255.255.255.255
DEVICE0=eth0
ADDRESS1=0.0.0.0
NETMASK1=0
GATEWAY1=1.1.1.1</pre>
</blockquote>
<p>Finished.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harry-webster.co.uk/2010/02/poundhost-bluesquare-adding-an-ip-address-and-ips-to-vmware-virtual-machines/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

