2013년 6월 1일 토요일

IIS(Windows 7) + PHP + MySQL 설치

IIS는 윈도우즈 7 프로페셔널 버전 이상부터 설치가 가능하며
제어판 -> 프로그램추가삭제 -> IIS설치

 
다음과 같이 설치 한다. 이 외에 다른 설치파일은 Windows Platforms를 통해 설치를 한다. 다운로드 경로는 다음과 같음. http://www.microsoft.com/web/downloads/platform.aspx
 
플랫폼을 설치 후에 검색을 하여 PHP 5.XX 과 MYSQL 5.1 Version을 설치를 한다. IIS와 PHP간의 모듈은 모두 자동으로 올라가기 때문에 따로 수동으로 설정해야하는 부분이 없다.
 
IIS+PHP+Mysql 설치는 이것으로 모두 완료.
 
데이터베이스 관리를 위해 Navicat 프로그램을 설치를 한다.
 
 
Xenforo 데이터베이스를 생성하고 후에 Xenforo 인스톨시에 데이터베이스 이름을 물어볼때 xenforo 라고 입력한다.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


2012년 9월 12일 수요일

리눅스 Run level 이란?

이번에는 리눅스의 런 레벨에 대해 알아 보겠습니다. 우선 Run level이 무엇인지부터 알아야겠죠?
런레벨(Run level)이란, 시스템 관리의 용이함을 위하여 서비스의 실행을 단계별로 구분하여 적용하는 것을 말합니다.

런레벨은 0부터 6번까지 있는데요. 한번 알아보겠습니다.

# 0 - halt (DO NOT set initdefault to this)
시스템 종료를 의미합니다. 즉, 런레벨 0으로 변경하라는 명령을 내리면 시스템을 종료하는 것이죠.
# 1 - Single user mode
시스템 복원모드라고도 하며, 기본적으로 관리자 권한 쉘을 얻게 됩니다.
주로, 파일시스템을 점검하거나 관리자 암호를 변경할 때 사용합니다.
# 2 - Multiuser mode, without NFS (The same as 3, if you do ot have networking)
NFS(Network File System)을 지원하지 않는 다중 사용자 모드입니다.
네트워크를 사용하지 않는 텍스트 유저모드라고 할 수 있죠.
# 3 - Full muliuser mode
일반적인 쉘 기반의 인터페이스를 가진 다중 사용자 모드입니다.
쉽게 말하면 그래픽 유저 모드가 아닌 '텍스트 유저 모드'입니다.
# 4 - unused
4번은 쓰이지 않습니다. 기본적으로는 사용되지 않지만, 임의로 정의해서 사용할 수 있는 레벨입니다.
# 5 - X11기본적으로는 level 3과 같습니다. 다른 점은 '그래픽 유저 모드' 라는것!!!
# 6 - reboot (DO NOT set initdefault to this)
시스템 재부팅을 의미합니다. 런레벨 6으로 변경하라는 명령을 내리면 시스템을 재부팅 하죠.



주로 사용하게 되는 것은 0, 3, 5, 6 을 많이 씁니다. 이 런레벨의 변경은 root 사용자의 경우만 가능합니다. 즉, 터미널 창에서 관리자 모드로 들어가 gedit /etc/inittab을 입력하면 런레벨을 바꿔줄 수 있습니다. 한번 해볼까요?




터미널 창을 켜고, 관리자 모드로 들어갑니다. gedit /etc/inittab 명령어를 입력해주세요.




그럼 아래와 같은 창이 켜지죠. 위에서 봤던 runlevel에 안내가 나옵니다.




그리고 그 간단한 안내 아래에서..! 런레벨을 바꿔줄 수 있습니다.
한번 텍스트 유저 모드로 바꿔볼까요? 블록한 부분을 봐주세요 :)




5를 3으로 바꿔주고 빨간색 네모로 강조한 '저장' 버튼 클릭하면 끝! 입니다 :)




그럼 이제 시스템을 다시 시작해볼까요? 아래 화면과 같이 텍스트 모드로 시작되는 것을 볼 수 있습니다. :)




다시 그래픽 유저 모드로 돌아가고 싶을 때는, init 명령어를 이용하시면 됩니다. 이렇게요. :)
inittab이나 init 명령어 처럼 런레벨을 변경하는 것은
오직 관리자 모드에서만 가능하므로 su - 부터 입력해주셔야합니다.




그럼 명령어 입력하기 무섭게 그래픽 유저 모드로 넘어가지요.






명령어 init은 단순히 런레벨을 변경해서 부팅하는 명령어이기 때문에
시스템 종료후, 이대로 다시 부팅하게 되면 텍스트 유저 모드로 부팅하게 됩니다.

다시 그래픽 유저 모드로 바꿔주려면,
 로그인하셔서 아까처럼 터미널 창에서 관리자 모드로 바꿔주고 gedit /etc/inittab 입력후
inittab창에서 id:3:initdefault → id:5:initdefault 로 바꿔주시면 됩니다. :)

2012년 9월 5일 수요일

DHCP General Operation and Client Finite State Machine

DHCP General Operation and Client Finite State Machine
Dynamic address allocation is probably the most important new capability introduced by DHCP. In the last section I discussed in detail the significance of the change from IP address ownership to IP address leasing. I also provided a high-level look of the activities involved in leasing, by providing an overview of the DHCP lease “life cycle”.
An overview of this sort is useful to get a general handle on how leases work, but to really understand the mechanics of DHCP address assignment and client/server communication, we need more detail on how the devices behave and what messages they send. One tool often employed by networking engineers to describe a protocol is a theoretical model called a finite state machine (FSM). In this technique, the protocol's specific behavior is illustrated by showing the different states a device can be in, what possible transitions exist from one state to another, what events cause transitions to occur, and what actions are performed in response to an event. The TCP operational overview contains more general background information on finite state machines.
The DHCP standard uses an FSM to describe the lease life cycle from the perspective of a DHCP client. The client begins in an initial INIT state where it has no lease, and then transitions through various states as it acquires, renews, rebinds and/or releases its IP address. The FSM also indicates what message exchanges occurs between the server and client at various stages.
Some people think finite state machines are a little “dense” and hard to understand, and I can see why. You can skip this topic of course, but I think the FSM provides a useful way of illustrating in a comprehensive way most of the behavior of a DHCP client. Table 188 describes each of the DHCP client states, and summarizes the messages sent and received by the client in each, as well as showing the state transitions that occur in response. The FSM’s states, events and transitions are easier to envision in Figure 262, which also incorporates a color coding scheme so you can see which states are associated with each of the main DHCP processes.

Table 188: DHCP Client Finite State Machine
State
State Description
Event and Transition
INIT
This is the initialization state, where a client begins the process of acquiring a lease. It also returns here when a lease ends, or when a lease negotiation fails.
Client Sends DHCPDISCOVER: The client creates a DHCPDISCOVER message and broadcasts it to try to find a DHCP server. It transitions to the SELECTING state.
SELECTING
The client is waiting to receive DHCPOFFER messages from one or more DHCP servers, so it can choose one.
Client Receives Offers, Selects Preferred Offer, Sends DHCPREQUEST: The client chooses one of the offers it has been sent, and broadcasts a DHCPREQUEST message to tell DHCP servers what its choice was. It transitions to the REQUESTING state.
REQUESTING
The client is waiting to hear back from the server to which it sent its request.
Client Receives DHCPACK, Successfully Checks That IP Address Is Free: The client receives a DHCPACK message from its chosen server, confirming that it can have the lease that was offered. It checks to ensure that address is not already used, and assuming it is not, records the parameters the server sent it, sets the lease timers T1 and T2, and transitions to the BOUND state.
Client Receives DHCPACK, But IP Address Is In Use: The client receives a DHCPACK message from its chosen server, confirming that it can have the lease that was offered. However, it checks and finds the address already in use. It sends a DHCPDECLINE message back to the server, and returns to the INIT state.
Client Receives DHCPNAK: The client receives a DHCPNAK message from its chosen server, which means the server has withdrawn its offer. The client returns to the INIT state.
INIT-REBOOT
When a client that already has a valid lease starts up after a power-down or reboot, it starts here instead of the INIT state.
Client Sends DHCPREQUEST: The client sends a DHCPREQUEST message to attempt to verify its lease and re-obtain its configuration parameters. It then transitions to the REBOOTING state to wait for a response.
REBOOTING
A client that has rebooted with an assigned address is waiting for a confirming reply from a server.
Client Receives DHCPACK, Successfully Checks That IP Address Is Free: The client receives a DHCPACK message from the server that has its lease information, confirming that the lease is still valid. To be safe, the client checks anyway to ensure that the address is not already in use by some other device. Assuming it is not, the client records the parameters the server sent it and transitions to the BOUND state.
Client Receives DHCPACK, But IP Address Is In Use: The client receives a DHCPACK message from the server that had its lease, confirming that the lease is still valid. However, the client checks and finds that while the client was offline, some other device has grabbed its leased IP address. The client sends a DHCPDECLINE message back to the server, and returns to the INIT state to obtain a new lease.
Client Receives DHCPNAK: The client receives a DHCPNAK message from a server. This tells it that its current lease is no longer valid; for example, the client may have moved to a new network where it can no longer use the address in its present lease. The client returns to the INIT state.
BOUND
Client has a valid lease and is in its normal operating state.
Renewal Timer (T1) Expires: The client transitions to the RENEWING state.
Client Terminates Lease, Sends DHCPRELEASE: The client decides to terminate the lease (due to user command, for example.) It sends a DHCPRELEASE message and returns to the INIT state.
RENEWING
Client is trying to renew its lease. It regularly sends DHCPREQUEST messages with the server that gave it its current lease specified, and waits for a reply.
Client Receives DHCPACK: The client receives a DHCPACK reply to its DHCPREQUEST. Its lease is renewed, it restarts the T1 and T2 timers, and returns to the BOUND state.
Client Receives DHCPNAK: The server has refused to renew the client's lease. The client goes to the INIT state to get a new lease.
Rebinding Timer (T2) Expires: While attempting to renew its lease, the T2 timer expires, indicating that the renewal period has ended. The client transitions to the REBINDING state.
REBINDING
The client has failed to renew its lease with the server that originally granted it, and now seeks a lease extension with any server that can hear it. It periodically sends DHCPREQUEST messages with no server specified until it gets a reply or the lease ends.
Client Receives DHCPACK: Some server on the network has renewed the client's lease. The client binds to the new server granting the lease, restarts the T1 and T2 timers, and returns to the BOUND state.
Client Receives DHCPNAK: A server on the network is specifically telling the client it needs to restart the leasing process. This may be the case if a new server is willing to grant the client a lease, but only with terms different than the client’s current lease. The client goes to the INIT state.
Lease Expires: The client receives no reply prior to the expiration of the lease. It goes back to the INIT state.


Figure 262: DHCP Client Finite State Machine
This diagram shows the finite state machine used by DHCP clients. The colored background areas show the transitions taken by a DHCP client as it moves through the four primary DHCP processes: allocation, reallocation, renewal and rebinding.


This is just a summary of the finite state machine, and does not show every possible event and transition, since it is complex enough already. For example, if a client that received two offers in the SELECTING state receives a DHCPNAK from its chosen server in the REQUESTING state, it may choose to send a new DHCPREQUEST to its “second choice” instead of starting over from scratch. Also, the client must have logic that lets it “time out” if it receives no reply to sent messages in various states, such as not receiving any offers in the SELECTING state. The next few topics discuss these matters in more detail.
Note also that the DHCP standard does not describe the DHCP server's behavior in the form of a finite state machine, only the client's. Here too, there is more information on what exactly DHCP servers do in the pages that follow.
I should also point out explicitly that this finite state machine applies to dynamically-allocated clients; that is, ones with conventional leases. A device configured using “automatic” allocation will go through the same basic allocation process, but does not need to renew its lease. The process for manual allocation is somewhat different.

Reference from http://www.tcpipguide.com/free/t_DHCPGeneralOperationandClientFiniteStateMachine.htm

2012년 8월 20일 월요일

아웃룩 2007 에서 중복메일 수신하는 문제 해결.

  1. ScanPST를 이용하여, 개인 폴더 파일 복구
    a. 윈도우 시작 버튼을 클릭합니다.
    b. 실행 창에 [scanpst.exe]를 검색합니다.
    (일반적으로 ScanPST는 C:\Program Files\Microsoft Office\Office12\scanpst.exe 에 있습니다.)


    c. ScanPST를 이용하여, 손상된 개인 폴더 파일을 복구합니다.
  2. 프로필 재 등록
    a. 윈도우 시작 버튼을 클릭합니다.
    b. 실행 창에 [outlook /resetnavpane]를 입력합니다.
  3. Outlook 프로필 재설정 하는 방법
    a. 윈도우 시작 버튼을 클릭합니다.
    b. 윈도우 시작 메뉴 중 [제어판]을 선택합니다.


    c. 모든 제어판 항목 중에서 [메일]을 선택합니다.


    d. 메일 메뉴가 나타나면, [프로필 보기]를 선택합니다.


    e. 프로필 설정 메뉴가 나타나면, [사용할 프로필 선택]을 선택한 후 [추가] 버튼을 클릭합니다.
    f. 새롭게 생성할 프로필 이름을 입력하고, [확인] 버튼을 클릭하면, 계정을 다시 설정할 수 있습니다.
    (계정, 데이터 파일(*.pst)를 다시 설정하여, 문제가 반복되는지 확인해 보시기 바랍니다.)

 

Windows Vista 및 7 해결방법.


  1. ScanPST를 이용하여 개인 폴더 파일 복구
    a. 윈도우 시작 버튼을 클릭합니다.
    b. 검색 및 실행 창에 [scanpst.exe]를 입력합니다.


    c. ScanPST가 검색되면, 실행하여 문제가 발생하는 개인 폴더 파일(*.pst)을 복구합니다.
    (복구 작업은 개인 폴더 파일의 용량에 따라 시간이 다소 오래 걸릴 수도 있습니다.)
  2. 타사 프로그램과 충돌 - 문서 보안 프로그램(Fasoo.com, McAfee, Document-Safe, SoftCamp...)등이 설치되어 있다면 제거합니다.
    (백신 프로그램이 설치되어 있는 경우 POP3 감시, 또는 Outlook 감시 기능을 해제합니다.)
    a. 윈도우 시작 버튼을 클릭합니다.
    b. 검색 및 실행 창에 [msconfig]를 입력합니다.


    c. 시스템 구성 메뉴가 나타나면, 서비스 탭의 [모든 Microsoft 서비스 숨기기]를 체크한 후 [모두 사용 안 함]을 선택합니다.


    d. 시작 프로그램 탭의 [모두 사용 안 함]을 선택합니다.


    e. 시스템 설정이 완료되면, 시스템을 Reboot합니다.
    (해당 방법으로 문제가 해결될 경우, a~e를 반복하여 사용자가 사용하는 서비스, 프로그램을 몇개씩 추가하여 문제가 발생하는 프로그램을 확인하여 제거합니다.)
  3. 프로필 설정
    a. 윈도우 시작 버튼을 클릭합니다.
    b. 윈도우 시작 메뉴 중 [제어판]을 선택합니다.


    c. 모든 제어판 항목 중에서 [메일]을 선택합니다.


    d. 메일 메뉴가 나타나면, [프로필 보기]를 선택합니다.


    e. 프로필 메뉴가 나타나면, [사용할 프로필 선택]을 체크한 후 [추가]를 선택합니다.
    f. 새로 사용할 프로필 이름을 입력합니다.


    g. 프로필 설정이 완료되면, 사용자 계정을 설정합니다. - 새로운 계정을 설정하기를 권장합니다.
    (해당 방법으로 문제가 해결될 경우, 기존 프로필에서, 규칙, 데이터 파일 설정, 메일 설정 등을 확인한 후 새로운 프로필에도 적용하고, 기존 프로필은 제거합니다.)
[참고 자료]
http://support.microsoft.com/kb/811151/ko

2012년 5월 7일 월요일

리눅스 시스템 점검

3.10 시스템 정보보기

1) cpu정보보기  
# more  /proc/cpuinfo 


2) 메모리 정보보기 
#  free  –mt 
usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V]
        -b,-k,-m,-g show output in bytes, KB, MB, or GB          -h show detailed low and high memory statistics
          -o use old format (no -/+buffers/cache line)
        -t display total for RAM + swap

# more /proc/meminfo


3) 하드용량보기      
# df –h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              28G  4.6G   22G  18% /
/dev/hda1              99M  9.2M   85M  10% /boot
none                  251M     0  251M   0% /dev/shm
root]#

4) 인터페이스 ip정보 보기
# ifconfig eth0
# ifconfig  –a

# vi /etc/sysconfig/i18n   (언어 로케일설정)
LANG="ko_KR.eucKR"
SUPPORTED="ko_KR.eucKR:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="iso15"

en_US

# Vi .bashrc
# export LANG=ko_KR.eucKR (자신의 쉘에 언어코드 변경) 
또는 
#  export LANG=en_US
# LANG=en



3.10.1. CPU 문제 점검명령어들  Top, ps, uptime, vmstat, pstree 등

1) CPU 활용량, 프로세스상태, 메모리확용량

# top  
CPU0 states:  0.0% user,  0.2% system,  0.0% nice, 99.3% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
Mem:  1033308K av, 1007748K used,   25560K free,       0K shrd,   98256K buff
// 메모리 1Giga , 1Giga가까이 사용중, 남음메모리는 25 Mega
                                                                  


3.10.2. 메모리 문제 점검 명령어들   free, vmstat

1)  # free    -mt
                 total       used       free     shared    buffers     cached
Mem:           501        485         16          0        120        148
-/+ buffers/cache:        216        285
Swap:         1019         13       1006
Total:        1521        498       1022

// 512Mega 메모리에  485M 사용중이고,  16M 여유가 있다.


2) # vmstat 1
   procs                      memory      swap          io     system      cpu
 r  b  w   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id
 1  0  0  13332  16488 123720 152352    0    0     0     5    4     2  0  0     2
 0  0  0  13332  16488 123720 152352    0    0     0     0  106    28  0  0  100
 0  0  0  13332  16488 123720 152352    0    0     0    28  107    39  0  0  100

// 164M 여류가 있다. ,

# vmstat 3 20    (3초마다 20번상태 보기)
procs                      memory      swap          io     system         cpu
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
0  0      0 1746628  82216  83888    0    0     0     1   53     4  0  0 100  0
//1.7 Giga메모리가 남아 있음.

// 프로세스 관련 항목: r  : CPU 접근 대기 중인 실행 가능 프로세스 수,  b : 인터럽트 불가능한 수면 상태인 프로세스 수
// 메모리 관련 항목 : swpd — 사용된 가상 메모리 용량,  free — 여유 메모리 용량, buff — 버퍼에 사용된 메모리 용량, cache — 페이지 캐시에 사용된 메모리 용량
// 스왑 관련 항목 : si — 디스크에서 스왑된 메모리 용량, so — 디스크로 스왑되어 나간 메모리 용량
// 입출력 관련 항목 : bi — 블록 장치로 보내진 블록, bo — 블록 장치에서 받아온 블록
// 시스템 관련 항목 : in — 일초당 인터럽트 수, cs — 일초당 문맥 전환 작업수
// CPU 관련 항목 : us — CPU가 사용자 수준 코드를 실행한 시간 (백분율 단위), sy — CPU가 시스템 수준 코드를 실행한 시간 (백분율 단위),id — CPU가 아무런 작업을 수행하지 않은 시간 (백분율), wa — 입출력 대기


어플리케이션이 메모리 많이 사용할시 점검툴
http://supervisord.org/
http://www.linux.com/feature/146166


3.10.3 메모리에 문제가 없다면 디스크 I/O 점검 : 
#df -h, du, 쿼타 등

3.10.4 디스크와 메모리에 문제가 없는데도 시스템에 문제가 생기면, CPU의 오버헤드에 문제가 있을 가능성이 크다

3.10.5  기타 디렉토리 관련 명령어
1) 현재 디렉토리 총용량보기  
#  du -c -h --max-depth=0
4.6G    합계

2) 현재 디렉토리크기         
# du -h --max-depth=1 .

3) 가장 큰 파일 찾기  
#  ls -lR | sort +4n

5) 어떤 프로세서가 가장 많은 메모리를 잡아먹구 있나?  
# ps -aux | sort +4n

6) 원하지 않는 사용자 터미널 접속끊기 ( session )
# w 
# skill -Kill -v pts/11   ( # skill -kill user111 )

7) 날짜 싱크
# date 
# rdate -s time.bora.net
# clock -w

8) 열린포트보기
#  netstat -anp | grep LISTEN

9) 접속자에게 메시지 보내기  
#  wall 지금 서버점검합니다. 로그아웃해주세요. 문제있으면 전화주세요 02-111.1111      Ctrl-D 

10) icmp echo 막기
#   echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

11) 하루동안 만들어진 파일중 hack 들어가는거 찾기 :
# find / -ctime -1 | grep hack


3.10.6  로그온 사용자 점검

과거에 로그온 한 사용자 기록보기 
# Last 

사용자별 마지막 로그온 시간 보기 
# lastlog

콘솔이 아닌곳에서 루트로 로그인한 것 찾기 
# last root |grep -v console  

프로세서 보기  
# Ps –au | more

현재 로그인한 사람 정보 보기  
# Who 

2012년 5월 6일 일요일

DHCP Servers with Multiple NICs

DHCP servers with multiple interfaces pose two configuration challenges. The first is setting up the correct routing and the second is making sure only the required interfaces are listening to serve DHCP. Don’t worry, both will be discussed next.

Routing

When a DHCP configured PC boots, it requests its IP address from the DHCP server. It does this by sending a standardized DHCP broadcast request packet to the DHCP server with a source IP address of 255.255.255.255.
If your DHCP server has more than one interface, you have to add a route for this 255.255.255.255 address so that it knows the interface on which to send the reply; if not, it sends it to the default gateway. (In both of the next two examples, we assume that DHCP requests will be coming in on interface eth0).
Note: More information on adding Linux routes and routing may be found in Chapter 3, "Linux Networking".
Note: You can't run your DHCP sever on multiple interfaces because you can only have one route to network 255.255.255.255. If you try to do it, you'll discover that DHCP serving working on only one interface.

Temporary Solution

You can temporarily add a route to 255.255.255.255 using the route add command as seen below.
[root@bigboy tmp]# route add -host 255.255.255.255 dev eth0
If you want this routing state to be maintained after a reboot, then use the permanent solution that's discussed next.

Permanent Solution

Create a permanent route to 255.255.255.255. This will vary according to your version of Linux
Fedora / RedHat / CentOS: Add the route to your /etc/sysconfig/network-scripts/route-eth0 file if the route needs to be added to your eth0 interface.
#
# File /etc/sysconfig/network-scripts/route-eth0
#

255.255.255.255/32 dev eth0
Ubuntu / Debian: Add the route to your /etc/network/interfaces file. In this case the route is added to the eth0 interface.
#
# File: /etc/network/interfaces
#

iface eth0 inet static

       up route add -host 255.255.255.255 eth0
Simple Linux routing is covered in Chapter 3, "Linux Networking" and will add more clarity to adding permanent static routes.

Listening

Once you have defined the interface for your DHCP routing you should also ensure that your DHCP server only listens on that interface and no others. This methodology to do this varies depending on your versión of Linux.
Fedora / RedHat / CentOS: The /etc/sysconfig/dhcpd file must be edited and the DHCPDARGS variable edited to include the preferred interface. In this example interface eth0 is preferred.
# File: /etc/sysconfig/dhcpd
DHCPDARGS=eth1
Debian / Ubuntu: The /etc/default/dhcp3-server file must be edited and the INTERFACES variable edited to include the preferred interface. In this example interface eth0 is preferred.
# File: /etc/default/dhcp3-server
INTERFACES="eth0"
You will be able to verify success in one of two ways. First the netstat command using the –au options will give the list of interfaces listening on the bootp (DHCP) UDP port.
[root@bigboy-f ~]# netstat -au  | grep bootp
udp        0     0 192.168.1.100:bootps    *:*
[root@bigboy-f ~]#
Secondly, your /var/log/messages file will also reveal the defined interfaces used when the DHCPd daemon was restarted.
Jan  8 17:22:44 bigboy dhcpd: Listening on LPF/eth0/00:e0:18:5c:d8:41/192.168.1.0/24
Jan  8 17:22:44 bigboy dhcpd: Sending on   LPF/eth0/00:e0:18:5c:d8:41/192.168.1.0/24
Success! You can go back to lunch!