Q re dhcpd.conf setup

A.Fadyushin at it-centre.ru A.Fadyushin at it-centre.ru
Wed Apr 26 17:09:51 UTC 2006


Yes, you can give clients the address of gateway via DHCP. The necessary
option in dhcp configuration is called 'routers'. You should put in the
dhcpd.conf file (usually in the subnet definition) the following line

option routers <gateway_address>;

Change the '<gateway_address>' with the address of your gateway. If yor
network is complex and includes more than gateway for the client, list
on that line all the gateways addresses separated by commas (see the
description of this option in 'dhcp-options' manpage).

The dhcpd server does not support the client authentication at this time
(howewer, it may support it in the future). You could try to make
something similar to protection you need using dhcpd's ability to
include conditions in its configuration (see 'dhcpd-eval' manpage).

Alexey Fadyushin.
Brainbench MVP for Linux.
http://www.brainbench.com

> -----Original Message-----
> From: fedora-legacy-list-bounces at redhat.com
[mailto:fedora-legacy-list-
> bounces at redhat.com] On Behalf Of Gene Heskett
> Sent: Wednesday, April 26, 2006 6:05 PM
> To: fedora-legacy-list at redhat.com
> Subject: Q re dhcpd.conf setup
> 
> Greetings;
> 
> As I get to do a bit of computer repairs from time to time, I've setup
a
> little 5 address wide dhcpd server on my firewall box.  But I had a
> problem last night getting a fresh winderz XP (spit) install to
> connect, specifically I had to enter a gateway address in the tcp/ip
> properties and reboot before it would connect.  It was given an dhcp
> address according to the logs on the firewall box, but apparently not
a
> gateway address.
> 
> Should the dhcpd protocol have handled that?  It is not setup in the
> dhcpd.conf I'm using, and I can find no references to defining a
> "gateway address" in any of the dhcp related manpages, which does seem
> a bit odd to me.
> 
> It never crossed my mind when setting it for my new lappy running FC5
> because I'd already set that up on a fixed address basis before
> converting it to BOOTPROTO=dhcp in the ifcfg-wlan0 file.
> 
> The dhcpd daemon itself is running on my firewall, a rh7.3 box.
> 
> A second question:  How can one add a level of security by password
> protecting this dhcp login, makeing the client supply a correct
> password before the lease is negotiated?  That doesn't seem to be
> mentioned in the manpages either.
> 
> --
> Cheers, Gene
> People having trouble with vz bouncing email to me should add the word
> 'online' between the 'verizon', and the dot which bypasses vz's
> stupid bounce rules.  I do use spamassassin too. :-)
> Yahoo.com and AOL/TW attorneys please note, additions to the above
> message by Gene Heskett are:
> Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
> 
> --
> fedora-legacy-list mailing list
> fedora-legacy-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-legacy-list




More information about the fedora-legacy-list mailing list