<?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: /etc/network/interfaces Ubuntu Linux networking example</title> <atom:link href="http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Sathishkumar</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-67208</link> <dc:creator>Sathishkumar</dc:creator> <pubDate>Thu, 19 Jan 2012 12:04:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-67208</guid> <description>Thank you so much cyberciti..</description> <content:encoded><![CDATA[<p>Thank you so much cyberciti..</p> ]]></content:encoded> </item> <item><title>By: joem</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-62317</link> <dc:creator>joem</dc:creator> <pubDate>Sat, 10 Sep 2011 10:40:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-62317</guid> <description>Two ethernet interfaces, one connected to a trusted LAN, the other to
the untrusted Internet.
how to I configure this one.? right now Im having a problem on this one.
this is what i wrote on /etc/networ/interfaces
--
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
--
and nothing follow and i configure already my dhcpd.conf</description> <content:encoded><![CDATA[<p>Two ethernet interfaces, one connected to a trusted LAN, the other to<br
/> the untrusted Internet.</p><p>how to I configure this one.? right now Im having a problem on this one.</p><p>this is what i wrote on /etc/networ/interfaces<br
/> &#8211;<br
/> auto eth1<br
/> iface eth1 inet static<br
/> address 192.168.0.1<br
/> netmask 255.255.255.0<br
/> &#8211;<br
/> and nothing follow and i configure already my dhcpd.conf</p> ]]></content:encoded> </item> <item><title>By: zL</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-61179</link> <dc:creator>zL</dc:creator> <pubDate>Sun, 31 Jul 2011 12:52:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-61179</guid> <description>Thanks! This article is just what I was looking for.
Much appreciated!</description> <content:encoded><![CDATA[<p>Thanks! This article is just what I was looking for.<br
/> Much appreciated!</p> ]]></content:encoded> </item> <item><title>By: AnonymousCoward</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-58337</link> <dc:creator>AnonymousCoward</dc:creator> <pubDate>Wed, 27 Apr 2011 11:55:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-58337</guid> <description>I had a similar issue. I ended up searching for the settings in my home directory with a command like this:
grep  -R .
I found a file called all in my home directory with contents similar to /etc/network/interfaces. Deleting solved my problem.</description> <content:encoded><![CDATA[<p>I had a similar issue. I ended up searching for the settings in my home directory with a command like this:<br
/> grep  -R .<br
/> I found a file called all in my home directory with contents similar to /etc/network/interfaces. Deleting solved my problem.</p> ]]></content:encoded> </item> <item><title>By: Nick</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-55514</link> <dc:creator>Nick</dc:creator> <pubDate>Thu, 10 Feb 2011 16:02:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-55514</guid> <description>Thanks for the article, very useful.
I&#039;ve got a question to put out there:
I have a modified verison of linux (Ubuntu) installed (provided by a 3rd party). When running ifconfig -a, I can see that I have 2 IP&#039;s configured to eth0 (one to eth0 and one to eth0:1).
They are both up, &#039;ping-able&#039;, and survive reboots.
My question is, my /etc/network/interfaces file only contains the information for eth0 (and lo) but with no reference to eth0:1. How can this be? Where else could eth0:1 be set?</description> <content:encoded><![CDATA[<p>Thanks for the article, very useful.<br
/> I&#8217;ve got a question to put out there:</p><p>I have a modified verison of linux (Ubuntu) installed (provided by a 3rd party). When running ifconfig -a, I can see that I have 2 IP&#8217;s configured to eth0 (one to eth0 and one to eth0:1).</p><p>They are both up, &#8216;ping-able&#8217;, and survive reboots.</p><p>My question is, my /etc/network/interfaces file only contains the information for eth0 (and lo) but with no reference to eth0:1. How can this be? Where else could eth0:1 be set?</p> ]]></content:encoded> </item> <item><title>By: nikobe</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-54970</link> <dc:creator>nikobe</dc:creator> <pubDate>Tue, 18 Jan 2011 21:29:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-54970</guid> <description>Big thank you your example fixed my network woes after I fiddled with VPN settings and ended up with a dodgy connection.
:)</description> <content:encoded><![CDATA[<p>Big thank you your example fixed my network woes after I fiddled with VPN settings and ended up with a dodgy connection.</p><p>:)</p> ]]></content:encoded> </item> <item><title>By: Aaron Zacharkiw</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-51225</link> <dc:creator>Aaron Zacharkiw</dc:creator> <pubDate>Tue, 30 Nov 2010 23:06:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-51225</guid> <description>My etc/network/interfaces file is completly blank. Can someone tell me how to get a DCHP connection set up along with a loopback address?</description> <content:encoded><![CDATA[<p>My etc/network/interfaces file is completly blank. Can someone tell me how to get a DCHP connection set up along with a loopback address?</p> ]]></content:encoded> </item> <item><title>By: Ash Rocks</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-51191</link> <dc:creator>Ash Rocks</dc:creator> <pubDate>Mon, 29 Nov 2010 17:26:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-51191</guid> <description>Ctrl + X buddy, It should help you save the edited file.
But its a good practice to take a backup of the file before editing.
Hope this helps.</description> <content:encoded><![CDATA[<p>Ctrl + X buddy, It should help you save the edited file.<br
/> But its a good practice to take a backup of the file before editing.<br
/> Hope this helps.</p> ]]></content:encoded> </item> <item><title>By: HSAIN</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-50666</link> <dc:creator>HSAIN</dc:creator> <pubDate>Wed, 10 Nov 2010 22:48:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-50666</guid> <description>how to edit and save this changes. I use nano command to edit but it can&#039;t be saved.
(nano etc/network/interfaces)</description> <content:encoded><![CDATA[<p>how to edit and save this changes. I use nano command to edit but it can&#8217;t be saved.<br
/> (nano etc/network/interfaces)</p> ]]></content:encoded> </item> <item><title>By: Zach</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-49504</link> <dc:creator>Zach</dc:creator> <pubDate>Mon, 13 Sep 2010 15:50:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-49504</guid> <description>Does anyone know if there exists a way to test a large file full or static IP aliases (about 30) and custom, static routes (about 80) for conflicts or issues without doing a network restart (and risking the interfaces not coming back up correctly)?</description> <content:encoded><![CDATA[<p>Does anyone know if there exists a way to test a large file full or static IP aliases (about 30) and custom, static routes (about 80) for conflicts or issues without doing a network restart (and risking the interfaces not coming back up correctly)?</p> ]]></content:encoded> </item> <item><title>By: yo</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-49074</link> <dc:creator>yo</dc:creator> <pubDate>Sat, 28 Aug 2010 01:16:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-49074</guid> <description>#: nano /etc/network/interfaces
##edit eth1 your dispositive
auto eth1
iface eth1 inet dhcp
##save
#:/etc/init.d/networking restart</description> <content:encoded><![CDATA[<p>#: nano /etc/network/interfaces</p><p>##edit eth1 your dispositive<br
/> auto eth1<br
/> iface eth1 inet dhcp<br
/> ##save</p><p>#:/etc/init.d/networking restart</p> ]]></content:encoded> </item> <item><title>By: timecmdr</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-48424</link> <dc:creator>timecmdr</dc:creator> <pubDate>Tue, 20 Jul 2010 09:06:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-48424</guid> <description>Anon - The DNS settings reside in the /etc/resolv.conf file thats why they are not mentioned here.
They are set via DHCP if your using it otherwise you&#039;ll need to add them manually.
Timecmdr</description> <content:encoded><![CDATA[<p>Anon &#8211; The DNS settings reside in the /etc/resolv.conf file thats why they are not mentioned here.</p><p>They are set via DHCP if your using it otherwise you&#8217;ll need to add them manually.</p><p>Timecmdr</p> ]]></content:encoded> </item> <item><title>By: norb</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-47081</link> <dc:creator>norb</dc:creator> <pubDate>Mon, 26 Apr 2010 18:51:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-47081</guid> <description>ubuntu has not abandoned /etc/network/interfaces, NetworkManager just handles interfaces NOT mentioned in that file.
However, I&#039;m by far no expert, using ubuntu for years, starting my first ubuntu-server.
I don&#039;t want much (SSH from Internet to my Machine, and from there in the network to my desktop) and it works sometimes.
I only configured interfaces, no bridge, no route.
eth1 is internet (router), eth0 network per dhcp (router).
How should i proceed?</description> <content:encoded><![CDATA[<p>ubuntu has not abandoned /etc/network/interfaces, NetworkManager just handles interfaces NOT mentioned in that file.</p><p>However, I&#8217;m by far no expert, using ubuntu for years, starting my first ubuntu-server.<br
/> I don&#8217;t want much (SSH from Internet to my Machine, and from there in the network to my desktop) and it works sometimes.</p><p>I only configured interfaces, no bridge, no route.<br
/> eth1 is internet (router), eth0 network per dhcp (router).<br
/> How should i proceed?</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-46470</link> <dc:creator>Anonymous</dc:creator> <pubDate>Wed, 17 Mar 2010 06:39:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-46470</guid> <description>Why the hell have you forgotten the dns settings?
Don&#039;t you realise that not including the dns settings you won&#039;t be able to surf the internet?
You need to insert the dns as follows:
dns-nameserver xxx.xxx.xxx.xxx
Where xxx.xxx.xxx.xxx is the ip address of your isp nameserver</description> <content:encoded><![CDATA[<p>Why the hell have you forgotten the dns settings?<br
/> Don&#8217;t you realise that not including the dns settings you won&#8217;t be able to surf the internet?</p><p>You need to insert the dns as follows:<br
/> dns-nameserver xxx.xxx.xxx.xxx<br
/> Where xxx.xxx.xxx.xxx is the ip address of your isp nameserver</p> ]]></content:encoded> </item> <item><title>By: Timmy</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-44673</link> <dc:creator>Timmy</dc:creator> <pubDate>Sat, 14 Nov 2009 14:44:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-44673</guid> <description>I think Ubuntu has abandoned /etc/network/interfaces in favour of /etc/NetworkManager/system-connections/ , which is edited by the rather handy GUI tool System &gt; Preferences &gt; Network Connections.</description> <content:encoded><![CDATA[<p>I think Ubuntu has abandoned /etc/network/interfaces in favour of /etc/NetworkManager/system-connections/ , which is edited by the rather handy GUI tool System &gt; Preferences &gt; Network Connections.</p> ]]></content:encoded> </item> <item><title>By: Urederra</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-43188</link> <dc:creator>Urederra</dc:creator> <pubDate>Mon, 17 Aug 2009 19:19:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-43188</guid> <description>And how do you tell the system what the network password is?</description> <content:encoded><![CDATA[<p>And how do you tell the system what the network password is?</p> ]]></content:encoded> </item> <item><title>By: Susanne Blond</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-42287</link> <dc:creator>Susanne Blond</dc:creator> <pubDate>Mon, 29 Jun 2009 14:24:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-42287</guid> <description>Great manual. Thank you for your work.</description> <content:encoded><![CDATA[<p>Great manual. Thank you for your work.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-42178</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 22 Jun 2009 08:48:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-42178</guid> <description>Are virtual IPs part of cluster?</description> <content:encoded><![CDATA[<p>Are virtual IPs part of cluster?</p> ]]></content:encoded> </item> <item><title>By: Mogga</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-42177</link> <dc:creator>Mogga</dc:creator> <pubDate>Mon, 22 Jun 2009 07:41:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-42177</guid> <description>How can I extend the two interface on one NIC example above to bridge a set of virtual servers on a host machine with the two interfaces on two different networks?
Am I looking for a bridge setup or is it more suited to tun/tap?
Here&#039;s where I&#039;ve started:
&lt;code&gt;
auto eth0 eth0:1
# physical network connected to my ISP router
iface eth0 inet static
address 192.168.1.50
network 192.168.1.0
netmask 255.255.255.0
gateway 192.168.1.254
# virtual network interface for servers
iface eth0:1 inet static
address 10.1.0.1
network 10.1.0.0
netmask 255.255.0.0
&lt;/code&gt;
So now I need a bridge etc. to connect the physical and virtual machines!
Not sure where to get started...</description> <content:encoded><![CDATA[<p>How can I extend the two interface on one NIC example above to bridge a set of virtual servers on a host machine with the two interfaces on two different networks?<br
/> Am I looking for a bridge setup or is it more suited to tun/tap?<br
/> Here&#8217;s where I&#8217;ve started:<br
/> <code><br
/> auto eth0 eth0:1<br
/> # physical network connected to my ISP router<br
/> iface eth0 inet static<br
/> address 192.168.1.50<br
/> network 192.168.1.0<br
/> netmask 255.255.255.0<br
/> gateway 192.168.1.254</p><p># virtual network interface for servers<br
/> iface eth0:1 inet static<br
/> address 10.1.0.1<br
/> network 10.1.0.0<br
/> netmask 255.255.0.0<br
/> </code><br
/> So now I need a bridge etc. to connect the physical and virtual machines!<br
/> Not sure where to get started&#8230;</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-41758</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sun, 24 May 2009 14:33:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/#comment-41758</guid> <description>Are you talking about storage?</description> <content:encoded><![CDATA[<p>Are you talking about storage?</p> ]]></content:encoded> </item> </channel> </rss>
