dhcp.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Please bear with my non-understanding

Trying to get dhcp to work in fc6, I would need a client right?  In fc3,
lookup worked out of the box; but in my fc6 install I didn't have the
rpm installed.

Now that I do, I need a dhcpd.conf

If I don't to do a dhcp as specified in the /usr/sbin/system-config-
services gui, please let me know.

If I do need one, can I just ask a few questions.

# Sample dhcpd.conf

# option definitions common to all supported networks...
#option domain-name "linuxhelp.ca";
??I don't have a domain on this box so no need I think

# Your name servers. You can normally find these in 
# your /etc/resolv.conf file. These will be distributed to all DHCP 
# clients.
option domain-name-servers 10.1.1.1, 65.39.196.215, 65.39.192.130;

?? what is 10.1.1.1????  I have two entries 210.230.70.2 210.230.70.3 plus a name "rosenet.ne.jp"
??does rosenet.ne.jp translate into a number somehow using a command like host or um forgot the other reverse lookup

default-lease-time 600;
max-lease-time 7200;
??sure fine, copy and paste - values ok?

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
??for the local network of one box yes. no?



# Configuration for an internal subnet.
subnet 10.1.1.0 netmask 255.255.255.0 {
  range 10.1.1.2 10.1.1.25;
  option domain-name-servers 10.1.1.1, 65.39.196.215, 65.39.192.130;
  option domain-name "linuxhelp.ca";
  option routers 10.1.1.1;
  option broadcast-address 10.1.1.255;
  default-lease-time 600;
  max-lease-time 7200;
}

?? um internal subnet.  again this is just one box.  Do I need to configure this.  Can I get the info from my fc3 box running dhcp fine somehow?

My fc3 dchp.conf file is in a totally different place and seems vastly different:

###########################################################################
# $Id: dhcpd.conf,v 1.2 2002/10/12 02:08:09 kirk Exp $
###########################################################################

# You can put comments anywhere you want to.  They are effective for the
# rest of the line.

# this is in the format of <name> = <value>.  Whitespace at the beginning
# and end of the lines is removed.  Whitespace before and after the = sign
# is removed.  Everything is case *insensitive*.

# Yes = True  = On  = 1
# No  = False = Off = 0

Title = "dhcpd"

# Which logfile group...
LogFile = messages

# Only give lines pertaining to the dhcpd service...
*OnlyService = dhcpd
*RemoveHeaders

########################################################
# This was written and is maintained by:
#    Kirk Bauer
#
# Please send all comments, suggestions, bug reports,
#    etc, to
########################################################


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux