Date: Fri, 09 May 2003 18:55:42 +0200 From: "Ronald Weinrich" <freebsd@werosoft.com> To: freebsd-questions@freebsd.org Subject: Re: dhcp Message-ID: <3EBBF9AE.11268.19DEC66@localhost> In-Reply-To: <20030509112537.S35662@Gina.esfm.ipn.mx> References: <3EBBF03C.24811.17909CC@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EBBF9AE.11268.19DEC66>