From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PUcDD-00030o-UI for garchives@archives.gentoo.org; Mon, 20 Dec 2010 09:39:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDD9CE0175; Mon, 20 Dec 2010 09:37:51 +0000 (UTC) Received: from mail-gx0-f180.google.com (mail-gx0-f180.google.com [209.85.161.180]) by pigeon.gentoo.org (Postfix) with ESMTP id AF011E0175 for ; Mon, 20 Dec 2010 09:37:51 +0000 (UTC) Received: by gxk19 with SMTP id 19so1537854gxk.11 for ; Mon, 20 Dec 2010 01:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=mLpbKEgUB9BdHZAMX8oFcIdbJf5tIoRkfmMi25if/cw=; b=Lkk9/Mp6hSorznENyNOBen7R7A38LlqaouMoJzpRmfC5SlabAaNmBZ7Nnj8JpIa1T+ zqar+KlpYpioLlI4iql49XO+swL+UgLQPTHOYULbIvPOLLFlvR9gWcG0HCrfXGU3CHpv mawuQaeH1+R9vAVfoXe1AOldnbgNr/+ILzM7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tIDW5I8NcqYGUZs2VbosLxnOvtXOtIbH3iU5vWGYEsLHH0D8+iQmZAVgeQ3FXmG2cp mUUabzHu0tZbkFdCD345Ih67XjjFkn1rki4qHWd5vTAUh+pdigWx9oPwLDWvhtAN9OiK jqaaJh4d0YsiEnZVK+kJE7Npo6Va3tsq0nehA= Received: by 10.100.211.5 with SMTP id j5mr1733134ang.27.1292837871042; Mon, 20 Dec 2010 01:37:51 -0800 (PST) Received: from [192.168.2.5] (adsl-0-122-37.jan.bellsouth.net [65.0.122.37]) by mx.google.com with ESMTPS id f10sm8135705anh.25.2010.12.20.01.37.49 (version=SSLv3 cipher=RC4-MD5); Mon, 20 Dec 2010 01:37:50 -0800 (PST) Message-ID: <4D0F23EC.50006@gmail.com> Date: Mon, 20 Dec 2010 03:37:48 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101212 Gentoo/2.0.11 SeaMonkey/2.0.11 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Linksys router BEFSR41 loosing internet References: <4D0BC8A2.5000509@gmail.com> <1292762454.14727.16.camel@rattus> <4D0E05FF.3050004@gmail.com> <201012191522.59244.peter@humphrey.ukfsn.org> <4D0E6CAD.6010001@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ee016f67-bb9a-45a1-8ea2-bb46f5483aa1 X-Archives-Hash: 29c3ec57a633fac937d0509d19869a60 Stroller wrote: > Sounds like you're getting it. > > A computer (this includes routers) cannot have two interfaces on the same subnet. They can have multiple network interfaces, as long as they're all on different subnets. A router is a computer with multiple network interfaces, acting to gateway data between those subnets. > > Whether the machines are on the same subnet is determined by the "subnet mask". If the subnet mask is 255.255.0.0 then only the first two bytes of the IP address need to be the same for the computers to be on the same subnet. I.E. 192.168.1.1 and 192.168.2.3 would be on the same subnet if they had the mask of 255.255.0.0. > > But a subnet mask of 255.255.255.0 means that the first 3 bytes need to be the same for them to be on the same subnet - so 192.168.1.1 would be on the same subnet as 192.168.1.2, but not on the same subnet as 192.168.2.3, 192.168.2.4, 192.168.3.3, or 192.168.44.8. > > IP addresses and subnet masks can be written more succinctly using the "/" notation. "/16" means "255.255.0.0", "/24" means "255.255.255.0". So 192.168.2.3/16 means "IP address 192.168.2.3, subnet mask 255.255.0.0" whereas 192.168.2.3/24 means "IP address 192.168.2.3, subnet mask 255.255.255.0". Ranges are sometimes written 192.168.1.100-200, but don't do that when you're talking about a whole subnet (1-255) because it just looks odd. Use the slash notation instead, or just say "192.168.1.x and 192.168.2.y". So this email is to say that I don't know what you're doing writing with a ">". :P > > On these networks the final .255 address (eg. 192.168.1.255) is reserved for broadcast use, and you cannot allocate it to your PCs. Addresses ending in a .1 (e.g. 192.168.0.1) tend generally to be used for the subnet's gateway (the router). > > When a computer wants to send a packet to a computer on a different subnet it send it to the router instead (set in its configuration as the "gateway" to the network, typically the default gateway) with the instructions "hi, please forward this to ...". > > Stroller. > > I'm kind of getting it. I read up on netmask and sort of get it but it is still murky. Basically for my little wimpy network, 255.255.255.0 will suite all my needs. I think. I set it up like this. The modem uses DHCP to get the IP from AT&T. My local IP from the modem is 192.168.1.2. Then the router has the IP 192.168.2.1 for my connection to the puter. The IP of my puter is 192.168.2.5. The next puter will be 192.168.2.6 or something different anyway. Basically the modem has its network and the router has its network for the LAN. Another thing I like, I can access the router and modem if needed. I guess 100 for the last number would work too. I need to read up on the netmask thing some more. It's still murky for sure. How's it look? Think it will work for a while? Dale :-) :-)