<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Fri May 24, 2013 10:00 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Fri May 24, 2013 10:00 am</pubDate>
  <lastBuildDate>Fri May 24, 2013 10:00 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107415#107415</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=231'&gt;wyliecoyoteuk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 15, 2012 4:43 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Well, I expect that the OP is probably as confused as some of the above posts by now &lt;br /&gt;
&lt;br /&gt;
 &lt;img src=&quot;images/smiles/icon_rolleyes.gif&quot; alt=&quot;Rolling Eyes&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Read example 2:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Default_gateway&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Default_gateway&lt;/a&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107415#107415</comments>
                                        <author>wyliecoyoteuk</author>
                                        <pubDate>Wed Aug 15, 2012 4:43 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107415#107415</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107409#107409</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=369'&gt;dandnsmith&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Aug 15, 2012 7:22 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The gateway address is  one to which you send  traffic outside the machine - so can be the address of the port on the machine which connects (for example) to a router. This will, perforce, be a local IP address. unless you have one which is directly connected to the internet and having a non-local IP address.&lt;br /&gt;
&lt;br /&gt;
HTH</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107409#107409</comments>
                                        <author>dandnsmith</author>
                                        <pubDate>Wed Aug 15, 2012 7:22 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107409#107409</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107396#107396</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=19718'&gt;Bruno&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Aug 14, 2012 3:31 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi There,&lt;br /&gt;
&lt;br /&gt;
Please understand that networking isn't my strong suit, but is there a good reason why your gateway has an IP address in the private 192.168. range? If your two machines connect over the public internet, this may be where your problem lies.&lt;br /&gt;
&lt;br /&gt;
ATB,&lt;br /&gt;
Bruno</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107396#107396</comments>
                                        <author>Bruno</author>
                                        <pubDate>Tue Aug 14, 2012 3:31 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107396#107396</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107380#107380</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=231'&gt;wyliecoyoteuk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Aug 13, 2012 9:29 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      A gateway still needs to be on the same subnet as the device using it.&lt;br /&gt;
He has 2 subnets, the device is on one, and the default gateway on another.&lt;br /&gt;
&lt;br /&gt;
You can have multiple gateways on a subnet, each connecting to another different network. The default gateway is only used for addresses which are not on the same subnet and which don't have a defined route in the routing table.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107380#107380</comments>
                                        <author>wyliecoyoteuk</author>
                                        <pubDate>Mon Aug 13, 2012 9:29 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107380#107380</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107377#107377</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=63'&gt;guy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Aug 13, 2012 8:11 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I think the OP's question is answered by the fact that, on any given subnet, you don't need a gateway. You only need one of those when connecting to another (typically bigger) network.&lt;br /&gt;
&lt;br /&gt;
The OP has a small network and is connecting to a bigger Local Area Network (LAN), hence the need for a gateway on this occasion.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107377#107377</comments>
                                        <author>guy</author>
                                        <pubDate>Mon Aug 13, 2012 8:11 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107377#107377</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107361#107361</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=231'&gt;wyliecoyoteuk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Aug 12, 2012 8:37 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      the clue is in the statement &amp;quot;default gateway&amp;quot;&lt;br /&gt;
&amp;quot;default&amp;quot; is not the same as &amp;quot;only&amp;quot;&lt;br /&gt;
There can be many gateways, the default is just the one that is used if there is no other existing route.&lt;br /&gt;
&lt;br /&gt;
Unless there is a route between networks, they cannot communicate.&lt;br /&gt;
That does not mean that there is only one route per network.&lt;br /&gt;
&lt;br /&gt;
However, the 192.168.89.126 address is not a gateway for the &lt;br /&gt;
192.168.89.0 network (which the 192.168.89.32 host is on), it is a gateway for the 192.168 .89.64 network.&lt;br /&gt;
&lt;br /&gt;
You cannot use a gateway that is not in the same subnet.&lt;br /&gt;
And yes there may be a network bridge, but it will be seen as a gateway in the same subnet.&lt;br /&gt;
&lt;br /&gt;
edited to correct badly phrased explanation</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107361#107361</comments>
                                        <author>wyliecoyoteuk</author>
                                        <pubDate>Sun Aug 12, 2012 8:37 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107361#107361</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107359#107359</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68214'&gt;scarydeath&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Aug 12, 2012 6:18 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;i.couchman wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;&lt;br /&gt;
Now, the network in question works. It's used for many applications on the site. So how do they do it? How is routing set up with no default gateway on the same subnet? &lt;img src=&quot;images/smiles/icon_confused.gif&quot; alt=&quot;Confused&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;
Ian&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
But back to the original question, I imagine there is some sort of network bridge between the two subnets.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107359#107359</comments>
                                        <author>scarydeath</author>
                                        <pubDate>Sun Aug 12, 2012 6:18 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107359#107359</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107357#107357</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=63'&gt;guy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Aug 12, 2012 11:54 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      To dig a little deeper:&lt;br /&gt;
&lt;br /&gt;
Each of those 123 triplets represents a binary byte - eight 0's and 1's.&lt;br /&gt;
&lt;br /&gt;
The subnet mask is 11111111.11111111.11111111.11000000 - 26 1's followed by 6 0's.&lt;br /&gt;
&lt;br /&gt;
This means that for devices to be on the same network, those first 26 bits of their addresses must all be the same, and the last 6 must be unique to each device.&lt;br /&gt;
&lt;br /&gt;
The addresses you have been given for your machine and the gateway have differing 26th bits.&lt;br /&gt;
&lt;br /&gt;
So; either; one of these needs changing, or the mask can be changed.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107357#107357</comments>
                                        <author>guy</author>
                                        <pubDate>Sun Aug 12, 2012 11:54 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107357#107357</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107356#107356</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=231'&gt;wyliecoyoteuk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Aug 12, 2012 11:39 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      That mask only allows 62 clients (network and broadcast addresses are the first and last nodes of each network) in each of 4 networks:&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;&lt;br /&gt;
network &lt;/span&gt;           from        --         to                    &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;192.168.89.0&lt;/span&gt;	192.168.89.1--192.168.89.62	&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;192.168.89.64&lt;/span&gt;	192.168.89.65--	192.168.89.126	&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;192.168.89.128&lt;/span&gt;  192.168.89.129--	192.168.89.190	&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;192.168.89.192&lt;/span&gt;	192.168.89.193	--192.168.89.254&lt;br /&gt;
&lt;br /&gt;
so the machine at 192.168.89.32 is on the 192.168.89.0 network, and the gateway is on the 192.168.89.64 network, and therefore the 2 are not connected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.subnetmask.info/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.subnetmask.info/&lt;/a&gt;&lt;span style=&quot;font-weight: bold&quot;&gt;&lt;/span&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107356#107356</comments>
                                        <author>wyliecoyoteuk</author>
                                        <pubDate>Sun Aug 12, 2012 11:39 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107356#107356</guid>
                                      </item>
                                      <item>
                                        <title>Re: Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107349#107349</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68214'&gt;scarydeath&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Aug 11, 2012 9:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Your gateway needs to be on the same subnet, as it is this gateway your packets of information will travel through to get to a machine on another subnet.&lt;br /&gt;
&lt;br /&gt;
I once had a Zen account with 8 IP addresses. This meant that my subnet was right next door to a subnet belonging to someone else, who may be many Internet hops away. It is impossible for the packet to go to this other subnet if there is no default gateway in your own subnet to tell it where to go.&lt;br /&gt;
&lt;br /&gt;
I hope that makes some sort of sense?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107349#107349</comments>
                                        <author>scarydeath</author>
                                        <pubDate>Sat Aug 11, 2012 9:57 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107349#107349</guid>
                                      </item>
                                      <item>
                                        <title>Networking</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=106743#106743</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=8616'&gt;i.couchman&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Jul 01, 2012 1:36 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I hope one of the resident gurus can explain an anomaly I came across recently.&lt;br /&gt;
I had to set up a machine on a network which had to connect to a machine on another network ( both connected somehow, I don't know details). The info I was give was as follows:&lt;br /&gt;
address 192.168.89.32&lt;br /&gt;
netmask 255.255.255.192&lt;br /&gt;
network 192.168.89.64&lt;br /&gt;
gateway 192.168.89.126&lt;br /&gt;
&lt;br /&gt;
However, when I try to bring up the interface, I get&lt;br /&gt;
SIOCADDRT: No such process&lt;br /&gt;
presumably because the address is not on the  same subnet as the gateway. If I change the address to192.168.89.65 ( on the same subnet) it works fine.&lt;br /&gt;
&lt;br /&gt;
Now, the network in question works. It's used for many applications on the site. So how do they do it? How is routing set up with no default gateway on the same subnet? &lt;img src=&quot;images/smiles/icon_confused.gif&quot; alt=&quot;Confused&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;
Ian</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=106743#106743</comments>
                                        <author>i.couchman</author>
                                        <pubDate>Sun Jul 01, 2012 1:36 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=106743#106743</guid>
                                      </item></channel></rss>