<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Howto add permanent static routes in Ubuntu</title>
	<atom:link href="http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Digitalkamera</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-120519</link>
		<dc:creator>Digitalkamera</dc:creator>
		<pubDate>Fri, 27 Jan 2012 19:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-120519</guid>
		<description>How did you fix that error while booting? I tries nearly everything without success. me &lt;- lost Any idea what could be wrong?</description>
		<content:encoded><![CDATA[<p>How did you fix that error while booting? I tries nearly everything without success. me &lt;- lost Any idea what could be wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ernährungsplaner</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-109648</link>
		<dc:creator>Ernährungsplaner</dc:creator>
		<pubDate>Mon, 19 Sep 2011 03:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-109648</guid>
		<description>Thank you all, the informations helped me alot! Had the same error while booting debian. Thanks alot!</description>
		<content:encoded><![CDATA[<p>Thank you all, the informations helped me alot! Had the same error while booting debian. Thanks alot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modiford</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-54296</link>
		<dc:creator>Modiford</dc:creator>
		<pubDate>Fri, 22 Oct 2010 09:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-54296</guid>
		<description>@josvazg - My educated guess would be that 172.20.11.0/16 should actually be 172.20.11.0/24 (as in /24 which is 255.255.255.0 for your subnet, not /16 which is 255.255.0.0)

Hope that helps.</description>
		<content:encoded><![CDATA[<p>@josvazg - My educated guess would be that 172.20.11.0/16 should actually be 172.20.11.0/24 (as in /24 which is 255.255.255.0 for your subnet, not /16 which is 255.255.0.0)</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zoubidoo</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-16049</link>
		<dc:creator>Zoubidoo</dc:creator>
		<pubDate>Fri, 06 Nov 2009 11:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-16049</guid>
		<description>Your &quot;Adding a static route&quot; example isn&#039;t very clear.

What is the example attempting to do?
Why are there two &quot;route add&quot; commands?
Is the order of entries in the route table important or not?

If you don&#039;t want to explain these things in this article a link elsewhere would good.</description>
		<content:encoded><![CDATA[<p>Your &#8220;Adding a static route&#8221; example isn&#8217;t very clear.</p>
<p>What is the example attempting to do?<br />
Why are there two &#8220;route add&#8221; commands?<br />
Is the order of entries in the route table important or not?</p>
<p>If you don&#8217;t want to explain these things in this article a link elsewhere would good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Boardman</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-11540</link>
		<dc:creator>Robert Boardman</dc:creator>
		<pubDate>Tue, 28 Jul 2009 13:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-11540</guid>
		<description>Thank you for this information. I had to edit the route add statement since I only wanted to add the default gateway. However, your information ended several hours of problem solving and wrong solutions.</description>
		<content:encoded><![CDATA[<p>Thank you for this information. I had to edit the route add statement since I only wanted to add the default gateway. However, your information ended several hours of problem solving and wrong solutions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davidc</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-6542</link>
		<dc:creator>davidc</dc:creator>
		<pubDate>Thu, 12 Mar 2009 06:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-6542</guid>
		<description>For me it didn&#039;t work until I put it at the end of the the inet eth0 section, as I&#039;m using eth0 and eth1 is not used.  It probably worked in the howto example because that interface was eth1 and was interpreted to be part of the eth1 configuration</description>
		<content:encoded><![CDATA[<p>For me it didn&#8217;t work until I put it at the end of the the inet eth0 section, as I&#8217;m using eth0 and eth1 is not used.  It probably worked in the howto example because that interface was eth1 and was interpreted to be part of the eth1 configuration</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3961</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 20 Nov 2008 16:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3961</guid>
		<description>You could add it to rc.local which gets run last.   The only problem with this option is that anything that loads before rc.local will not be able to use this route.</description>
		<content:encoded><![CDATA[<p>You could add it to rc.local which gets run last.   The only problem with this option is that anything that loads before rc.local will not be able to use this route.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3960</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 07 Nov 2008 13:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3960</guid>
		<description>I have found your statement to be true - if using DHCP, then the up command is ignored. So if your using a weak DHCP server like W2003&#039;s version that only partially adds static routes - is there any other place I can add the route add command? so at boot up the route gets added to the routing table?</description>
		<content:encoded><![CDATA[<p>I have found your statement to be true - if using DHCP, then the up command is ignored. So if your using a weak DHCP server like W2003&#8242;s version that only partially adds static routes - is there any other place I can add the route add command? so at boot up the route gets added to the routing table?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kazriko</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3959</link>
		<dc:creator>Kazriko</dc:creator>
		<pubDate>Wed, 30 Jul 2008 22:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3959</guid>
		<description>Or rather, after the iface static line. You&#039;re using DHCP and I didn&#039;t notice that line there. You may need to configure the route in your dhcp server instead. I don&#039;t think that the iface dhcp line accepts options in the same way as the iface static.</description>
		<content:encoded><![CDATA[<p>Or rather, after the iface static line. You&#8217;re using DHCP and I didn&#8217;t notice that line there. You may need to configure the route in your dhcp server instead. I don&#8217;t think that the iface dhcp line accepts options in the same way as the iface static.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kazriko</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3958</link>
		<dc:creator>Kazriko</dc:creator>
		<pubDate>Wed, 30 Jul 2008 22:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3958</guid>
		<description>You need to put the up route option after the iface line it is attached to. You&#039;re putting it above all your iface lines.</description>
		<content:encoded><![CDATA[<p>You need to put the up route option after the iface line it is attached to. You&#8217;re putting it above all your iface lines.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josvazg</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3957</link>
		<dc:creator>josvazg</dc:creator>
		<pubDate>Mon, 28 Jul 2008 15:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3957</guid>
		<description>It does not work:

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eth0 inet dhcp

auto eth0

up route add -net 172.20.11.0/16 gw 172.20.10.254 dev eth0

Renders...
$ sudo /etc/init.d/networking stop
 * Deconfiguring network interfaces...
/etc/network/interfaces:13: misplaced option
ifdown: couldn&#039;t read interfaces file &quot;/etc/network/interfaces&quot;
                                                                         [fail]

AND
$ sudo /etc/init.d/networking start
 * Configuring network interfaces...
/etc/network/interfaces:13: misplaced option
ifup: couldn&#039;t read interfaces file &quot;/etc/network/interfaces&quot;
                                                                         [fail]</description>
		<content:encoded><![CDATA[<p>It does not work:</p>
<p>$ cat /etc/network/interfaces<br />
auto lo<br />
iface lo inet loopback</p>
<p>iface eth0 inet dhcp</p>
<p>auto eth0</p>
<p>up route add -net 172.20.11.0/16 gw 172.20.10.254 dev eth0</p>
<p>Renders&#8230;<br />
$ sudo /etc/init.d/networking stop<br />
 * Deconfiguring network interfaces&#8230;<br />
/etc/network/interfaces:13: misplaced option<br />
ifdown: couldn&#8217;t read interfaces file &#8220;/etc/network/interfaces&#8221;<br />
                                                                         [fail]</p>
<p>AND<br />
$ sudo /etc/init.d/networking start<br />
 * Configuring network interfaces&#8230;<br />
/etc/network/interfaces:13: misplaced option<br />
ifup: couldn&#8217;t read interfaces file &#8220;/etc/network/interfaces&#8221;<br />
                                                                         [fail]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3955</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 20 Jun 2008 08:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3955</guid>
		<description>@llaurén

No you need to add the syntax in /etc/networ/interfaces file</description>
		<content:encoded><![CDATA[<p>@llaurén</p>
<p>No you need to add the syntax in /etc/networ/interfaces file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: llaurén</title>
		<link>http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html/comment-page-1#comment-3956</link>
		<dc:creator>llaurén</dc:creator>
		<pubDate>Fri, 20 Jun 2008 06:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=531#comment-3956</guid>
		<description>Is the &lt;code&gt;up&lt;/code&gt; stuff there a typo or a sudo-like command?</description>
		<content:encoded><![CDATA[<p>Is the <code>up</code> stuff there a typo or a sudo-like command?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

