/var/log/messages
May 12 08:46:57 SMED dhcpd: Internet Software Consortium DHCP Server V3.0.1rc13
May 12 08:46:57 SMED dhcpd: Copyright 1995-2003 Internet Software Consortium.
May 12 08:46:57 SMED dhcpd: All rights reserved.
May 12 08:46:57 SMED dhcpd: For info, please visit
http://www.isc.org/products/DHCP
May 12 08:46:57 SMED dhcpd: Internet Software Consortium DHCP Server V3.0.1rc13
May 12 08:46:57 SMED dhcpd: Copyright 1995-2003 Internet Software Consortium.
May 12 08:46:57 SMED dhcpd: All rights reserved.
May 12 08:46:57 SMED dhcpd: For info, please visit
http://www.isc.org/products/DHCP
May 12 08:46:57 SMED dhcpd: Internet Software Consortium DHCP Server V3.0.1rc13
May 12 08:46:57 SMED dhcpd: Copyright 1995-2003 Internet Software Consortium.
May 12 08:46:57 SMED dhcpd: All rights reserved.
May 12 08:46:57 SMED dhcpd: For info, please visit
http://www.isc.org/products/DHCP
May 12 08:46:57 SMED dhcpd: Wrote 0 leases to leases file.
May 12 08:46:57 SMED dhcpd: Wrote 0 leases to leases file.
May 12 08:46:57 SMED dhcpd: Listening on LPF/wlan0/00:09:5b:40:bc:65/192.168.2.0/24
May 12 08:46:57 SMED dhcpd: Sending on LPF/wlan0/00:09:5b:40:bc:65/192.168.2.0/24
May 12 08:46:57 SMED dhcpd: Sending on Socket/fallback/fallback-net
May 12 08:46:57 SMED dhcpd:
May 12 08:46:57 SMED dhcpd: Listening on LPF/wlan0/00:09:5b:40:bc:65/192.168.2.0/24
May 12 08:46:57 SMED dhcpd: Sending on LPF/wlan0/00:09:5b:40:bc:65/192.168.2.0/24
May 12 08:46:57 SMED dhcpd: Sending on Socket/fallback/fallback-net
May 12 08:46:57 SMED dhcpd: dhcpd startup succeeded
ifconfig
bnep0 Link encap:Ethernet HWaddr 00:0F:3D:0B:FB
3
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:21285 (20.7 Kb) TX bytes:7974 (7.7 Kb)
eth0 Link encap:Ethernet HWaddr 00:50:BF:38:81:61
inet addr:172.19.3.137 Bcast:172.19.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3379 errors:0 dropped:0 overruns:0 frame:0
TX packets:295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:355690 (347.3 Kb) TX bytes:28896 (28.2 Kb)
Interrupt:11 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:21443 errors:0 dropped:0 overruns:0 frame:0
TX packets:21443 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1463768 (1.3 Mb) TX bytes:1463768 (1.3 Mb)
wlan0 Link encap:Ethernet HWaddr 00:09:5B:40:BC:65
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:11269 (11.0 Kb)
Interrupt:11 Memory:c8892000-c8893000
/etc/dhcpd/dhcpd.conf
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "SMED";
#option domain-name-servers ns1.example.org, ns2.example.org;
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.0.0 netmask 255.255.255.0 {
}
#subnet 192.168.1.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
subnet 192.168.2.0 netmask 255.255.255.0 {
}
subnet 192.168.3.0 netmask 255.255.255.0 {
}