<?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>x83.net &#187; IPADDR</title>
	<atom:link href="http://www.x83.net/tag/ipaddr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 13:53:33 +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>Script to generate interface configs on Linux</title>
		<link>http://www.x83.net/script-to-generate-interface-configs-on-linux/</link>
		<comments>http://www.x83.net/script-to-generate-interface-configs-on-linux/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:26:54 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[DEVICE]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[ifcfg-eth1]]></category>
		<category><![CDATA[IPADDR]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=382</guid>
		<description><![CDATA[Generate ifcfg-eth1 307-366 configs. touch ifcfg-eth1:{307..366} for f in ifcfg-eth1:{307..366}; do cat origfile > &#8220;$f&#8221;; done for f in eth1:{307..366}; do echo &#8220;DEVICE=$f&#8221; >> &#8220;ifcfg-$f&#8221;; done for f in {307..366}; do echo &#8220;IPADDR=aaa.bbb.ccc.$((f-239))&#8221; >> &#8220;ifcfg-eth1:$f&#8221;; done origfile contains: GATEWAY=eee.fff.ggg.hhh TYPE=Ethernet BOOTPROTO=none NETMASK=255.255.255.192]]></description>
			<content:encoded><![CDATA[<p>Generate ifcfg-eth1 307-366 configs. </p>
<blockquote><p>touch ifcfg-eth1:{307..366}<br />
for f in ifcfg-eth1:{307..366}; do cat origfile > &#8220;$f&#8221;; done<br />
for f in eth1:{307..366}; do echo &#8220;DEVICE=$f&#8221; >> &#8220;ifcfg-$f&#8221;; done<br />
for f in {307..366}; do echo &#8220;IPADDR=aaa.bbb.ccc.$((f-239))&#8221; >> &#8220;ifcfg-eth1:$f&#8221;; done
</p></blockquote>
<p>origfile contains:</p>
<blockquote><p>GATEWAY=eee.fff.ggg.hhh<br />
TYPE=Ethernet<br />
BOOTPROTO=none<br />
NETMASK=255.255.255.192</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/script-to-generate-interface-configs-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

