diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20120307/006642.html')
| -rw-r--r-- | zarb-ml/mageia-discuss/20120307/006642.html | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20120307/006642.html b/zarb-ml/mageia-discuss/20120307/006642.html new file mode 100644 index 000000000..3ff0d8aaf --- /dev/null +++ b/zarb-ml/mageia-discuss/20120307/006642.html @@ -0,0 +1,177 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] home network using broadband router + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20home%20network%20using%20broadband%20router&In-Reply-To=%3CCAJWAV%2BFvS%2B00fCRk_Q%3DA37KfmAx%3DDxrRbJOmY_JYOOvLNw_40A%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006641.html"> + <LINK REL="Next" HREF="006643.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] home network using broadband router</H1> + <B>WALKER RICHARD</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20home%20network%20using%20broadband%20router&In-Reply-To=%3CCAJWAV%2BFvS%2B00fCRk_Q%3DA37KfmAx%3DDxrRbJOmY_JYOOvLNw_40A%40mail.gmail.com%3E" + TITLE="[Mageia-discuss] home network using broadband router">richard.j.walker at ntlworld.com + </A><BR> + <I>Wed Mar 7 00:41:02 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="006641.html">[Mageia-discuss] home network using broadband router +</A></li> + <LI>Next message: <A HREF="006643.html">[Mageia-discuss] home network using broadband router +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6642">[ date ]</a> + <a href="thread.html#6642">[ thread ]</a> + <a href="subject.html#6642">[ subject ]</a> + <a href="author.html#6642">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>OK, you have two PCs on a private network with addresses in the range +192.168.?.?. + +You reported only 192.?.?.? If that is accurate then the addresses are +public, meaning if I knew what they are then I could reach them from +here. + +Forgive me if I tell you things you already know. IP networks are +defined by their address. My home network, for example, has been +defined by me to occupy only addresses in the range 192.168.0.0 to +192.168.0.255. These are only 256 of the 65536 addresses available. My +network has no awareness of the possibility of other addresses because +I have not configured it. My router's configuration web address is +192.168.1.1, but that is not within my network, so even though I am +physically connected to it, its address is inaccessible to me. + +Technically, my network's routing table has no information on how to +reach 192.168.1.1 and by definition (it is private, remember) there is +no way to reach it via the public network - it simply does not exist +there. + +So, if your router and each of your PCs share the first two octets of +the address (192 and 168) and your network mask is 255.255.0.0 then +any address in the range 192.168.0.1 to 192.168.255.253 (or +thereabouts) is valid for your network. + +Let's check your network mask so we know the extent of your private +network. Use the ifconfig command in a console (you might need to be +root for this) and look for the line in the output for your eth? +interface which looks something like this; + +inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0 + +You can see on mine that the mask is 255.255.255.0 which means that +only the eight bits of the final octet can be used on my network for +unique addresses - 0 to 255. So what is your network mask? + +On 06/03/2012, e-letter <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">inpost at gmail.com</A>> wrote: +><i> On 06/03/2012, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">mageia-discuss-request at mageia.org</A> +</I>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">mageia-discuss-request at mageia.org</A>> wrote: +</I>>><i> +</I>>><i> Message: 3 +</I>>><i> Date: Tue, 6 Mar 2012 00:47:01 +0000 +</I>>><i> From: WALKER RICHARD <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">richard.j.walker at ntlworld.com</A>> +</I>>><i> +</I>>><i> Quick answer; yes +</I>>><i> +</I>>><i> man ifconfig should get you started. From memory you can set an +</I>>><i> address for an ethernet card with something like; +</I>>><i> +</I>>><i> ifconfig eth0 192.168.0.22 +</I>>><i> +</I>>><i> That implicitly brings up the connection. +</I>>><i> +</I>>><i> This much is already working for you as you say both PCs can reach the +</I>>><i> internet. So let's take a step back. I don't want you to "publish" +</I>>><i> your PC addresses, but if they are both on the same network then they +</I>>><i> should both have addresses in the private network ranges. The most +</I>>><i> common on routers are; +</I>>><i> +</I>>><i> 10.?.?.? +</I>>><i> 192.168.?.? +</I>>><i> +</I>><i> +</I>><i> command terminal 'ifconfig' returns value for eth1, '192...', but not +</I>><i> '10...'. +</I>><i> +</I>>><i> +</I>>><i> Can you configure your router? Do you know if it has a web-based +</I>>><i> configuration address? If you haven't come across this before, this is +</I>>><i> a "web page" generated by your router which provides access to its +</I>>><i> configuration by means of forms on web pages. It is normally accessed +</I>>><i> by entering the address in your browser, but this cannot easily work +</I>>><i> if your PC and your router are on different networks, with different +</I>>><i> address ranges. For example, the router might be on 192.168.1.1 and +</I>>><i> your PC is on a.b.x.x where a and b are NOT 192 and 168. +</I>>><i> +</I>><i> +</I>><i> yes, there is a configuration address '<A HREF="http://192...">http://192...</A>' accessible via +</I>><i> web browser. +</I>><i> +</I>>><i> Let us take one more step back. When you configured your network on +</I>>><i> each computer (using MCC?) did you opt for manual or automatic (via +</I>>><i> DHCP) configuration of the network address? That, I think, is the key +</I>>><i> starting point. +</I>>><i> +</I>><i> +</I>><i> automatic dhcp. To check, the command 'drakconnect' was used to +</I>><i> activate the network configuration process; the default is automatic +</I>><i> ip (bootp/dchp) connection protocol +</I>><i> +</I>>><i> If it is manual then you chose the addresses and typed them in. If it +</I>>><i> is automatic (via DHCP) then they will have been allocated by EITHER +</I>>><i> your router (which seems unlikely given the trouble your having) OR by +</I>>><i> your ISP, and that means they are permitting you to have more than one +</I>>><i> public address for your location AND that the address really is +</I>>><i> public; if I knew your address I could probe your network - that is +</I>>><i> potentially highly risky and is why the common practice, in these +</I>>><i> parts, is for each subscriber to get one public address and have the +</I>>><i> modem/router provide NAT for private networks on the premises. +</I>>><i> +</I>><i> +</I>><i> I think the ip address is determined by the isp; if the router is +</I>><i> switched off and then on, a new ip address is assigned. +</I>><i> +</I>>><i> I hope I haven't confused the issue. Let me re-state the important +</I>>><i> questions: +</I>>><i> 1. Are your PC addresses similar to each other? +</I>><i> +</I>><i> yes, they differ by a digit +</I>><i> +</I>>><i> 2. Are they in the private network range? (10.?.?.? or 192.168.?.?) +</I>><i> +</I>><i> yes, 192... +</I>><i> +</I>>><i> 3. Do you have the make and model of your router? (yes/no will do for +</I>>><i> now.) +</I>>><i> +</I>><i> +</I>><i> yes +</I>><i> +</I></PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006641.html">[Mageia-discuss] home network using broadband router +</A></li> + <LI>Next message: <A HREF="006643.html">[Mageia-discuss] home network using broadband router +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6642">[ date ]</a> + <a href="thread.html#6642">[ thread ]</a> + <a href="subject.html#6642">[ subject ]</a> + <a href="author.html#6642">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |
