From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 09:52:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAA0E16A4CE for ; Fri, 17 Dec 2004 09:52:00 +0000 (GMT) Received: from mr.tuwien.ac.at (mr1-n.kom.tuwien.ac.at [128.131.2.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA5B43D2D for ; Fri, 17 Dec 2004 09:51:59 +0000 (GMT) (envelope-from e0025265@student.tuwien.ac.at) Received: from webmail.zserv.tuwien.ac.at (lps.ben.tuwien.ac.at [193.170.74.11]) by mr.tuwien.ac.at (8.12.10/8.12.8) with SMTP id iBH9psOV014424 for ; Fri, 17 Dec 2004 10:51:54 +0100 (MET) MIME-Version: 1.0 X-Mailer: V-webmail 1.5.1 ( http://www.v-webmail.co.uk/ ) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 17 Dec 2004 10:51:54 +0100 From: "Florian Hengstberger" To: FreeBSD mailinglist X-Vwebmail-Auth: e0025265@stud3.tuwien.ac.at X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: Simple routing, netork basics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 09:52:01 -0000 Hi! In a few days I'll get fast access to the internet via WLAN. I have a wireless accesspoint connected to my (single) network card. I have one single public static IP address from my ISP and I'll assign it to this card. Of course I want to give other people in my LAN also access to the net, so I'll by a second network card, setting it up with a local ip-address/netmask. A few questions arise: 1) I'll have to do some routing with my computer, is there a good online tutorial you can recommend covering this rather simple case? 2) What's the easiest way to log the traffic to my ISP? I don't want to exceed a certain download/upload limit. How can I gain controll over this? 3) I have to network cards: you can I be sure that the right IP is assigned to the right (physical) network card using rc.conf? I has to depend somehow on the position on the PCI-bus: which one is detected first and assigned first or due to which fact are the network-cards numbered? Thanks a lot Florian