From owner-freebsd-questions@FreeBSD.ORG Fri May 9 09:53:50 2003 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 408B237B401 for ; Fri, 9 May 2003 09:53:50 -0700 (PDT) Received: from ns2.weronet.com (chello213047208163.surfer.at [213.47.208.163]) by mx1.FreeBSD.org (Postfix) with SMTP id A6E6443F85 for ; Fri, 9 May 2003 09:53:48 -0700 (PDT) (envelope-from freebsd@werosoft.com) Received: (qmail 31485 invoked from network); 9 May 2003 17:29:49 -0000 Received: from unknown (HELO sonne) (213.47.208.166) by ns2.weronet.com with SMTP; 9 May 2003 17:29:49 -0000 From: "Ronald Weinrich" To: freebsd-questions@freebsd.org Date: Fri, 09 May 2003 18:55:42 +0200 MIME-Version: 1.0 Message-ID: <3EBBF9AE.11268.19DEC66@localhost> Priority: normal References: <3EBBF03C.24811.17909CC@localhost> In-reply-to: <20030509112537.S35662@Gina.esfm.ipn.mx> X-mailer: Pegasus Mail for Windows (v4.02, DE v4.02 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: dhcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@werosoft.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 16:53:50 -0000 > no, look at mine: > > > -----------/usr/local/etc/dhcpd.conf > ddns-update-style none; > > subnet 192.168.23.0 netmask 255.255.255.0 { > option domain-name-servers 192.168.23.254; > option domain-name "mydomain.mine"; > range 192.168.23.2 192.168.23.32; > option routers 192.168.23.254; > option broadcast-address 192.168.23.255; > default-lease-time 600; > max-lease-time 7200; > } ok that's it every user gets a 192.xxx...... look at my topolgy > INTERNET ip xx.xx.xx.xx of my provider | | ------------------- ip xx.xx.xx.xx outside of my router | | | MY ROUTER| | | -------------------- ip 213.47.28.161 | | ----------------------------------- | switch 2 | ----------------------------------- | | ------------------------- ed0 213.47.28.166 | Freebsd-box | | Firewall | | ipfilter ipnat | -------------------------- ep0 192.168.1.1 | | ----------------------------------- | switch 1 | ----------------------------------- | | | ^ ^ ^ ^ | ----------------- | | | DHCP | | | -------------------- hier I like to install the DHCP Box with 1nic so that every user who connects to the switch 1 will get a ip from 192.168.0.2 - 192.168.0.50