[selinux-policy: 878/3172] dhcp configuration added.
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 20:20:57 UTC 2010
commit 7e1e18d33a50e7b72768b2404c5bb62eb8ecf5e8
Author: Ryan Haggerty <rhaggerty at tresys.com>
Date: Thu Oct 27 19:58:07 2005 +0000
dhcp configuration added.
testing/dhcp/README | 7 +++++++
testing/dhcp/dhcpd.conf | 31 +++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/testing/dhcp/README b/testing/dhcp/README
new file mode 100644
index 0000000..eafa154
--- /dev/null
+++ b/testing/dhcp/README
@@ -0,0 +1,7 @@
+dhcpd.conf belongs in /etc
+
+start the service
+ /etc/init.d/dhcpd start
+
+to ask for an address from the service
+ dhclient eth0
diff --git a/testing/dhcp/dhcpd.conf b/testing/dhcp/dhcpd.conf
new file mode 100644
index 0000000..6192fb4
--- /dev/null
+++ b/testing/dhcp/dhcpd.conf
@@ -0,0 +1,31 @@
+ddns-update-style interim;
+ignore client-updates;
+
+subnet 192.168.0.0 netmask 255.255.255.0 {
+
+# --- default gateway
+ option routers 192.168.0.1;
+ option subnet-mask 255.255.255.0;
+
+ option nis-domain "domain.org";
+ option domain-name "domain.org";
+ option domain-name-servers 192.168.0.1;
+
+ option time-offset -18000; # Eastern Standard Time
+# option ntp-servers 192.168.1.1;
+# option netbios-name-servers 192.168.1.1;
+# --- Selects point-to-point node (default is hybrid). Don't change this unless
+# -- you understand Netbios very well
+# option netbios-node-type 2;
+
+ range dynamic-bootp 192.168.0.128 192.168.0.254;
+ default-lease-time 21600;
+ max-lease-time 43200;
+
+ # we want the nameserver to appear at a fixed address
+ host ns {
+ next-server marvin.redhat.com;
+ hardware ethernet 12:34:56:78:AB:CD;
+ fixed-address 207.175.42.254;
+ }
+}
More information about the scm-commits
mailing list