Re: [SLUG] DHCP or BIND - Wally can do it too!

From: R P Herrold (herrold@owlriver.com)
Date: Thu Feb 14 2002 - 12:19:29 EST


On Thu, 14 Feb 2002, Josh Tiner wrote:

> Wally then made sure DHCP was working by checking the
> /var/lib/dhcp/dhcpd.leases file to make sure that the computers that were
> requesting a new IP in the office were getting IP addresses. Viola!

Wally probably also executed:

    touch /var/lib/dhcp/dhcpd.leases

with some distributions, which do not create that file by
default
 
> He sighed with releif - IP addresses were being assigned with no problems!
> The boss was happy that Wally pulled it off. He could now surf "sites of
> questionable interest" on his laptop in the comfort of his big boss office

--------------- Part Two ----------

Over the next week, Wally noticed that the boss who threatened
to fire him was chewing up large parts of the network
bandwidth with sites of questionable interest; Being no fool,
Wally filled his plastic pocket protector with freshly
sharpened #2 pencils, and grabbed his trusty spiral bound 4 x
6 notepad -- At each PC, he called up the relevant tool for
the operating system, and made a notation of the MAC address
of each PC.

Back at his cubicle, he added to the dhcpd.conf elements
like this:

#
# Static assignment group - management.
#
  group {
#
# Fixed IP for a known host
      host glassofficeboss {
#
# RealTek 802x
        hardware ethernet 00:00:B4:52:C2:93 ;
#
        fixed-address 192.168.0.51 ;
        default-lease-time 36000;
        max-lease-time 120000;
      }
#

and restarted the dhcpd to cause it to re-read the
configuration file.

Next, Wally installed a 'squid' web cache, the story of which
is beyond the scope of this chapter. Wally knew that the time
would come (based on the results of his date with the cute
secretary who bet against him), that the cute secretary and
the glassofficeboss would have a disagreement, and she would
end up fired. There was no way that her hope that the
glassofficeboss was _really_ going to divorce his wife was
going to happen.

At that time, it was a safe bet that she would make some
interesting allegations about the glassofficeboss' web viewing
and personal habits, which might come to the attention of the
bigboss and the company lawyer.

Wally set logging by IP and set log rotation, to use a LOT of
disk space to keep track of which PC was looking at which
site.

Wally also set up an authentication and 'Acceptable use
policy' screen -- he carefully made sure that he complained
about the guys down in Accounting doing on-line stock trading
within earshot of the glassofficeboss, and let the
glassofficeboss tell _him_ that it had to be done right away.
And that it had to keep records that would stand up in court.
Right now.

Again, the story of this installation is beyond the scope of
this chapter, but we'll cover it another time.

Wally was patient -- glassofficeboss made a real mistake
threatening to fire him. But then glassofficeboss really did
not understand computers very well, and would not listen to
Wally's attempts to help him learn the simplest tasks.

And thus, Wally was able to do Static IP assignemnt with a
dhcp server.

----------------------------------------------------

hmmm ... geek creative writing class.

-- Russ Herrold



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:06:17 EDT