dhcp
Ronald Weinrich
freebsd at werosoft.com
Fri May 9 09:53:50 PDT 2003
> 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
More information about the freebsd-questions
mailing list