ALT Linux Bugzilla
– Attachment 335 Details for
Bug 3488
[FR][4.1] /etc/dhcpd.conf-sample proposal
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
/etc/dhcpd.conf-sample
dhcpd.conf-sample (text/plain), 1.83 KB, created by
Michael Shigorin
on 2004-01-21 17:11:33 MSK
(
hide
)
Description:
/etc/dhcpd.conf-sample
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2004-01-21 17:11:33 MSK
Size:
1.83 KB
patch
obsolete
># sample /etc/dhcpd.conf for ALT Linux > ># assumptions: ># - 192.168.0.0/24 (netmask 255.255.255.0) ># - 192.168.0.1--192.168.0.127 are static client hosts ># - 192.168.0.128--192.168.0.250 is dynamic lease range ># - 192.168.0.251--192.168.0.254 are network servers and routers ># - default gw at 192.168.0.254 ># - DNS server at 192.168.0.253 ># - NTP server at 192.168.0.252 ># - WINS/samba at 192.168.0.251 ># - DNS is working properly and reliably enough so we can ># avoid IP address duplication and use hostnames > ># see dhcpd.conf(5) for more verbose explanation of options > ># don't bother DNS server with dynamic updates >ddns-updates off; >ddns-update-style none; > ># ...this one, BTW (substitute ISPs_DNS with appropriate IP) ># up to three NS records separated by commas >option domain-name-servers 192.168.0.253, ISPs_DNS; > ># time-related >option time-offset 3; >option ntp-servers 192.168.0.252; > ># give away addresses for a day, one per client >default-lease-time 86400; >one-lease-per-client on; > ># check whether IP being leased is already taken ># NB: can be a problem for some DHCP clients >ping-check on; > ># if there's a WINS server, put it here >option netbios-name-servers 192.168.0.251; >option netbios-node-type 8; > ># OK, now subnet. There can be more than one such section; ># most things mentioned above can be configured on a per-subnet basis >subnet 192.168.0.0 netmask 255.255.255.0 { > option routers 192.168.0.254; > option domain-name "domain.local"; > # dynamic range > pool { > allow unknown clients; > range 192.168.0.128 192.168.0.250; > } > # normal record; "while(1) { }" > host host1.domain.local { > hardware ethernet 00:22:22:22:22:22; > fixed-address host1.domain.local; > } > # IP-bound record -- better don't use, get yourself proper resolving > host host2.domain.local { > hardware ethernet 00:33:33:33:33:33; > fixed-address 192.168.0.2; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3488
:
330
| 335 |
1408
|
3631
|
3632