From owner-freebsd-questions Tue Jul 17 13:24:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe65.law12.hotmail.com [64.4.18.200]) by hub.freebsd.org (Postfix) with ESMTP id 628E837B401 for ; Tue, 17 Jul 2001 13:24:31 -0700 (PDT) (envelope-from default013subscriptions@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 17 Jul 2001 13:24:31 -0700 X-Originating-IP: [24.14.93.185] Reply-To: "default013 - subscriptions" From: "default013 - subscriptions" To: Cc: References: <868zhn71si.fsf@pan.home.penguinpowered.org.uk> Subject: Re: creating a local area network Date: Tue, 17 Jul 2001 15:25:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 17 Jul 2001 20:24:31.0172 (UTC) FILETIME=[7C39A840:01C10EFE] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the advice, I guess all I am really needing to do (I am on a cable modem, at&t@home that is) is to setup a local I.P. address...? Ideally I was thinking that I could have some kinda routing table setup that would know which I.P. addresses are local and others would default to outside internet... but... I guess one would need a router for that :) I will try just setting up a local I.P. address (a 192.168 #), thanks for the help. Jordan ----- Original Message ----- From: "Wayne Pascoe" To: "default013 - subscriptions" Sent: Tuesday, July 17, 2001 3:12 PM Subject: Re: creating a local area network > "default013 - subscriptions" writes: > > > Hello, > > > > I'm trying to create a local area network so that when I connect to my UNIX > > machines, I connect to them through the local area network instead of having > > to go through the internet... (mostly because sometimes I have trouble > > connecting to my machines through the regular internet... not sure why, but > > they do use different gateways so, I figure that sometimes they may have > > trouble communicating with eachother) > > > > I am not quite sure on how to go about doing this. I am reading up on > > networking right now, and I'm thinking that I may be able to setup a local > > area network I.P. address on each system that I could access it with... > > someone has also told me that I could use a switch? ... I am not quite sure > > how either one would work... If anyone could give me some pointers I would > > appreciate it greatly. > > I'm not sure how your machines are connected to the internet, but I am > confused :) > > What you need to connect them on a LAN is the following : > > 1 Network Interface Card per machine > 1 Hub / switch if you have more than two machines > > If you only want to connect two machines together, you can use a cross > over ethernet cable. If you want more than two, then you will need a > hub or switch. These are hardware devices. Think of them as a HI-FI > amp... It is the bit that cd player gets noise to the speakers via. > A hub will be cheaper. When using a hub, all traffic is sent to all > ports. The machine that is supposed to get the data picks it up, the > others ignore it. With a switch, the switch learns what machine is > connected to what port (well, it learns what MAC address is connected > to each port, and maintains an ARP cache of IP -> MAC addresses). This > means that the data is sent ONLY to the machine that should be > receiving it. > > You will then need to give each machine an IP address. I can't > remember the RFC off the top of my head that details private IP ranges > (1918 I think - but I'm probably wrong). You should use addresses that > are reserved for private networks and not routable on the > Internet. You should not try and route these to the Internet! > > If you only have a few machines, use a Class C private address > (192.168.x.x) > > Each machine needs a unique IP address. > > HTH. > > -- > - Wayne Pascoe > E-mail: wayne.pascoe@realtime.co.uk > Phone : +44 (0) 20 7544 4668 > Mobile: +44 (0) 788 431 1675 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message