# AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: Fedora Deployment Guide\n" "POT-Creation-Date: 2011-02-22T00:50:44\n" "PO-Revision-Date: 2011-08-21 05:30+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" #. Tag: title #, no-c-format msgid "Dynamic Host Configuration Protocol (DHCP)" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP" msgstr "" #. Tag: indexterm #, no-c-format msgid "Dynamic Host Configuration Protocol DHCP" msgstr "" #. Tag: para #, no-c-format msgid "" "Dynamic Host Configuration Protocol (DHCP) is a network " "protocol that automatically assigns TCP/IP information to client machines. " "Each DHCP client connects to the centrally located DHCP server, which " "returns that client's network configuration (including the IP address, " "gateway, and DNS servers)." msgstr "" #. Tag: title #, no-c-format msgid "Why Use DHCP?" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP reasons for using" msgstr "" #. Tag: para #, no-c-format msgid "" "DHCP is useful for automatic configuration of client network interfaces. " "When configuring the client system, the administrator chooses DHCP instead " "of specifying an IP address, netmask, gateway, or DNS servers. The client " "retrieves this information from the DHCP server. DHCP is also useful if an " "administrator wants to change the IP addresses of a large number of systems." " Instead of reconfiguring all the systems, he can just edit one DHCP " "configuration file on the server for the new set of IP addresses. If the DNS" " servers for an organization changes, the changes are made on the DHCP " "server, not on the DHCP clients. When the administrator restarts the network" " or reboots the clients, the changes will go into effect." msgstr "" #. Tag: para #, no-c-format msgid "" "If an organization has a functional DHCP server properly connected to a " "network, laptops and other mobile computer users can move these devices from" " office to office." msgstr "" #. Tag: title #, no-c-format msgid "Configuring a DHCP Server" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP server configuration" msgstr "" #. Tag: para #, no-c-format msgid "" "The dhcp package contains an ISC DHCP server. First, " "install the package as the superuser:" msgstr "" #. Tag: screen #, no-c-format msgid "" "~]# yum install dhcp\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "Installing the dhcp package creates a file, " "/etc/dhcp/dhcpd.conf, which is merely an empty " "configuration file:" msgstr "" #. Tag: screen #, no-c-format msgid "" "~]# cat /etc/dhcp/dhcpd.conf\n" "#\n" "# DHCP Server Configuration file.\n" "# see /usr/share/doc/dhcp*/dhcpd.conf.sample" msgstr "" #. Tag: para #, no-c-format msgid "" "The sample configuration file can be found at " "/usr/share/doc/dhcp-<version>/dhcpd.conf.sample." " You should use this file to help you configure " "/etc/dhcp/dhcpd.conf, which is explained in detail " "below." msgstr "" #. Tag: para #, no-c-format msgid "" "DHCP also uses the file /var/lib/dhcpd/dhcpd.leases to " "store the client lease database. Refer to for more information." msgstr "" #. Tag: title #, no-c-format msgid "Configuration File" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP dhcpd.conf" msgstr "" #. Tag: indexterm #, no-c-format msgid "dhcpd.conf" msgstr "" #. Tag: para #, no-c-format msgid "" "The first step in configuring a DHCP server is to create the configuration " "file that stores the network information for the clients. Use this file to " "declare options and global options for client systems." msgstr "" #. Tag: para #, no-c-format msgid "" "The configuration file can contain extra tabs or blank lines for easier " "formatting. Keywords are case-insensitive and lines beginning with a hash " "sign (#) are considered comments." msgstr "" #. Tag: para #, no-c-format msgid "There are two types of statements in the configuration file:" msgstr "" #. Tag: para #, no-c-format msgid "" "Parameters — State how to perform a task, whether to perform a task, or what" " network configuration options to send to the client." msgstr "" #. Tag: para #, no-c-format msgid "" "Declarations — Describe the topology of the network, describe the clients, " "provide addresses for the clients, or apply a group of parameters to a group" " of declarations." msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP options" msgstr "" #. Tag: para #, no-c-format msgid "" "The parameters that start with the keyword option are reffered to as " "options. These options control DHCP options; whereas," " parameters configure values that are not optional or control how the DHCP " "server behaves." msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP global parameters" msgstr "" #. Tag: para #, no-c-format msgid "" "Parameters (including options) declared before a section enclosed in curly " "brackets ({ }) are considered global parameters. Global parameters apply to " "all the sections below it." msgstr "" #. Tag: title #, no-c-format msgid "Important" msgstr "" #. Tag: para #, no-c-format msgid "" "If the configuration file is changed, the changes do not take effect until " "the DHCP daemon is restarted with the command service dhcpd " "restart." msgstr "" #. Tag: title #, no-c-format msgid "Tip" msgstr "" #. Tag: para #, no-c-format msgid "" "Instead of changing a DHCP configuration file and restarting the service " "each time, using the omshell command provides an " "interactive way to connect to, query, and change the configuration of a DHCP" " server. By using omshell, all changes can be made while " "the server is running. For more information on omshell, " "refer to the omshell man page." msgstr "" #. Tag: para #, no-c-format msgid "" "In , the routers, subnet-mask, domain-search, domain-name-servers, and time-offset " "options are used for any host statements declared below" " it." msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP subnet" msgstr "" #. Tag: para #, no-c-format msgid "" "Additionally, a subnet can be declared, a " "subnet declaration must be included for every subnet in" " the network. If it is not, the DHCP server fails to start." msgstr "" #. Tag: para #, no-c-format msgid "" "In this example, there are global options for every DHCP client in the " "subnet and a range declared. Clients are assigned an IP" " address within the range." msgstr "" #. Tag: title #, no-c-format msgid "Subnet Declaration" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "subnet 192.168.1.0 netmask 255.255.255.0 {\n" " option routers 192.168.1.254;\n" " option subnet-mask 255.255.255.0;\n" " option domain-search \"example.com\";\n" " option domain-name-servers 192.168.1.1;\n" " option time-offset -18000; # Eastern Standard Time\n" "\trange 192.168.1.10 192.168.1.100;\n" "}\n" msgstr "" #. Tag: para #, no-c-format msgid "" "To configure a DHCP server that leases a dynamic IP address to a system " "within a subnet, modify with your values. It" " declares a default lease time, maximum lease time, and network " "configuration values for the clients. This example assigns IP addresses in " "the range 192.168.1.10 and 192.168.1.100 to client " "systems." msgstr "" #. Tag: title #, no-c-format msgid "Range Parameter" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "default-lease-time 600;\n" "max-lease-time 7200;\n" "option subnet-mask 255.255.255.0;\n" "option broadcast-address 192.168.1.255;\n" "option routers 192.168.1.254;\n" "option domain-name-servers 192.168.1.1, 192.168.1.2;\n" "option domain-search \"example.com\";\n" "subnet 192.168.1.0 netmask 255.255.255.0 {\n" " range 192.168.1.10 192.168.1.100;\n" "}\n" msgstr "" #. Tag: para #, no-c-format msgid "" "To assign an IP address to a client based on the MAC address of the network " "interface card, use the hardware ethernet parameter " "within a host declaration. As demonstrated in , the host apex declaration " "specifies that the network interface card with the MAC address " "00:A0:78:8E:9E:AA always receives the IP address 192.168.1.4." msgstr "" #. Tag: para #, no-c-format msgid "" "Note that the optional parameter host-name can also be " "used to assign a host name to the client." msgstr "" #. Tag: title #, no-c-format msgid "Static IP Address using DHCP" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "host apex {\n" " option host-name \"apex.example.com\";\n" " hardware ethernet 00:A0:78:8E:9E:AA;\n" " fixed-address 192.168.1.4;\n" "}\n" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "DHCP shared-network " "" msgstr "" #. Tag: para #, no-c-format msgid "" "All subnets that share the same physical network should be declared within a" " shared-network declaration as shown in . Parameters within the shared-" "network, but outside the enclosed subnet " "declarations, are considered to be global parameters. The name of the " "shared-network must be a descriptive title for the " "network, such as using the title 'test-lab' to describe all the subnets in a" " test lab environment." msgstr "" #. Tag: title #, no-c-format msgid "Shared-network Declaration" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "shared-network name {\n" " option domain-search \"test.redhat.com\";\n" " option domain-name-servers ns1.redhat.com, ns2.redhat.com;\n" " option routers 192.168.0.254;\n" " more parameters for EXAMPLE shared-network\n" " subnet 192.168.1.0 netmask 255.255.252.0 {\n" " parameters for subnet\n" " range 192.168.1.1 192.168.1.254;\n" " }\n" " subnet 192.168.2.0 netmask 255.255.252.0 {\n" " parameters for subnet\n" " range 192.168.2.1 192.168.2.254;\n" " }\n" "}\n" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP group" msgstr "" #. Tag: para #, no-c-format msgid "" "As demonstrated in , the " "group declaration is used to apply global parameters to" " a group of declarations. For example, shared networks, subnets, and hosts " "can be grouped." msgstr "" #. Tag: title #, no-c-format msgid "Group Declaration" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "group {\n" " option routers 192.168.1.254;\n" " option subnet-mask 255.255.255.0;\n" " option domain-search \"example.com\";\n" " option domain-name-servers 192.168.1.1;\n" " option time-offset -18000; # Eastern Standard Time\n" " host apex {\n" " option host-name \"apex.example.com\";\n" " hardware ethernet 00:A0:78:8E:9E:AA;\n" " fixed-address 192.168.1.4;\n" " }\n" " host raleigh {\n" " option host-name \"raleigh.example.com\";\n" " hardware ethernet 00:A1:DD:74:C3:F2;\n" " fixed-address 192.168.1.6;\n" " }\n" "}\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The sample configuration file provided can be used as a starting point and " "custom configuration options can be added to it. To copy it to the proper " "location, use the following command:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "cp /usr/share/doc/dhcp-<version-number>/dhcpd.conf.sample /etc/dhcp/dhcpd.conf\n" " " msgstr "" #. Tag: para #, no-c-format msgid "" "... where <version-number> is the DHCP " "version number." msgstr "" #. Tag: para #, no-c-format msgid "" "For a complete list of option statements and what they do, refer to the " "dhcp-options man page." msgstr "" #. Tag: title #, no-c-format msgid "Lease Database" msgstr "" #. Tag: para #, no-c-format msgid "" "On the DHCP server, the file " "/var/lib/dhcpd/dhcpd.leases stores the DHCP client " "lease database. Do not change this file. DHCP lease information for each " "recently assigned IP address is automatically stored in the lease database. " "The information includes the length of the lease, to whom the IP address has" " been assigned, the start and end dates for the lease, and the MAC address " "of the network interface card that was used to retrieve the lease." msgstr "" #. Tag: para #, no-c-format msgid "" "All times in the lease database are in Coordinated Universal Time (UTC), not" " local time." msgstr "" #. Tag: para #, no-c-format msgid "" "The lease database is recreated from time to time so that it is not too " "large. First, all known leases are saved in a temporary lease database. The " "dhcpd.leases file is renamed " "dhcpd.leases~ and the temporary lease database is " "written to dhcpd.leases." msgstr "" #. Tag: para #, no-c-format msgid "" "The DHCP daemon could be killed or the system could crash after the lease " "database has been renamed to the backup file but before the new file has " "been written. If this happens, the dhcpd.leases file " "does not exist, but it is required to start the service. Do not create a new" " lease file. If you do, all old leases are lost which causes many problems. " "The correct solution is to rename the dhcpd.leases~ " "backup file to dhcpd.leases and then start the daemon." msgstr "" #. Tag: title #, no-c-format msgid "Starting and Stopping the Server" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP starting the server" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP stopping the server" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "DHCP dhcpd.leases " "" msgstr "" #. Tag: indexterm #, no-c-format msgid "dhcpd.leases" msgstr "" #. Tag: para #, no-c-format msgid "" "When the DHCP server is started for the first time, it fails unless the " "dhcpd.leases file exists. Use the command " "touch /var/lib/dhcpd/dhcpd.leases to create the file if " "it does not exist." msgstr "" #. Tag: para #, no-c-format msgid "" "If the same server is also running BIND as a DNS server, this step is not " "necessary, as starting the named service automatically " "checks for a dhcpd.leases file." msgstr "" #. Tag: para #, no-c-format msgid "" "To start the DHCP service, use the command /sbin/service dhcpd " "start. To stop the DHCP server, use the command " "/sbin/service dhcpd stop." msgstr "" #. Tag: para #, no-c-format msgid "" "By default, the DHCP service does not start at boot time. To configure the " "daemon to start automatically at boot time, refer to ." msgstr "" #. Tag: indexterm #, no-c-format msgid " /etc/sysconfig/dhcpd " msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP command line options" msgstr "" #. Tag: para #, no-c-format msgid "" "If more than one network interface is attached to the system, but the DHCP " "server should only be started on one of the interfaces, configure the DHCP " "server to start only on that device. In " "/etc/sysconfig/dhcpd, add the name of the interface to " "the list of DHCPDARGS:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "# Command line options here\n" "DHCPDARGS=eth0\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This is useful for a firewall machine with two network cards. One network " "card can be configured as a DHCP client to retrieve an IP address to the " "Internet. The other network card can be used as a DHCP server for the " "internal network behind the firewall. Specifying only the network card " "connected to the internal network makes the system more secure because users" " can not connect to the daemon via the Internet." msgstr "" #. Tag: para #, no-c-format msgid "" "Other command line options that can be specified in " "/etc/sysconfig/dhcpd include:" msgstr "" #. Tag: para #, no-c-format msgid "" "-p <portnum> — " "Specifies the UDP port number on which dhcpd should " "listen. The default is port 67. The DHCP server transmits responses to the " "DHCP clients at a port number one greater than the UDP port specified. For " "example, if the default port 67 is used, the server listens on port 67 for " "requests and responses to the client on port 68. If a port is specified here" " and the DHCP relay agent is used, the same port on which the DHCP relay " "agent should listen must be specified. Refer to for details." msgstr "" #. Tag: para #, no-c-format msgid "" "-f — Runs the daemon as a foreground process. This is " "mostly used for debugging." msgstr "" #. Tag: para #, no-c-format msgid "" "-d — Logs the DHCP server daemon to the standard error " "descriptor. This is mostly used for debugging. If this is not specified, the" " log is written to /var/log/messages." msgstr "" #. Tag: para #, no-c-format msgid "" "-cf <filename> — " "Specifies the location of the configuration file. The default location is " "/etc/dhcp/dhcpd.conf." msgstr "" #. Tag: para #, no-c-format msgid "" "-lf <filename> — " "Specifies the location of the lease database file. If a lease database file " "already exists, it is very important that the same file be used every time " "the DHCP server is started. It is strongly recommended that this option only" " be used for debugging purposes on non-production machines. The default " "location is /var/lib/dhcpd/dhcpd.leases." msgstr "" #. Tag: para #, no-c-format msgid "" "-q — Do not print the entire copyright message when " "starting the daemon." msgstr "" #. Tag: title #, no-c-format msgid "DHCP Relay Agent" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP Relay Agent" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP dhcrelay " msgstr "" #. Tag: indexterm #, no-c-format msgid " dhcrelay " msgstr "" #. Tag: para #, no-c-format msgid "" "The DHCP Relay Agent (dhcrelay) allows for the relay of " "DHCP and BOOTP requests from a subnet with no DHCP server on it to one or " "more DHCP servers on other subnets." msgstr "" #. Tag: para #, no-c-format msgid "" "When a DHCP client requests information, the DHCP Relay Agent forwards the " "request to the list of DHCP servers specified when the DHCP Relay Agent is " "started. When a DHCP server returns a reply, the reply is broadcast or " "unicast on the network that sent the original request." msgstr "" #. Tag: para #, no-c-format msgid "" "The DHCP Relay Agent listens for DHCP requests on all interfaces unless the " "interfaces are specified in /etc/sysconfig/dhcrelay " "with the INTERFACES directive." msgstr "" #. Tag: para #, no-c-format msgid "" "To start the DHCP Relay Agent, use the command service dhcrelay " "start." msgstr "" #. Tag: title #, no-c-format msgid "Configuring a DHCP Client" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP client configuration" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP connecting to" msgstr "" #. Tag: para #, no-c-format msgid "" "To configure a DHCP client manually, modify the " "/etc/sysconfig/network file to enable networking and " "the configuration file for each network device in the " "/etc/sysconfig/network-scripts directory. In this " "directory, each device should have a configuration file named ifcfg-eth0, where eth0 is the network " "device name." msgstr "" #. Tag: para #, no-c-format msgid "" "The /etc/sysconfig/network-scripts/ifcfg-eth0 file " "should contain the following lines:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "DEVICE=eth0\n" "BOOTPROTO=dhcp\n" "ONBOOT=yes\n" msgstr "" #. Tag: para #, no-c-format msgid "" "A configuration file is needed for each device to be configured to use DHCP." msgstr "" #. Tag: para #, no-c-format msgid "Other options for the network script includes:" msgstr "" #. Tag: para #, no-c-format msgid "" "DHCP_HOSTNAME — Only use this option if the DHCP server " "requires the client to specify a hostname before receiving an IP address. " "(The DHCP server daemon in &MAJOROS; does not support this feature.)" msgstr "" #. Tag: para #, no-c-format msgid "" "PEERDNS=<answer> , where" " <answer> is one of the" " following:" msgstr "" #. Tag: para #, no-c-format msgid "" "yes — Modify /etc/resolv.conf with " "information from the server. If using DHCP, then yes is " "the default." msgstr "" #. Tag: para #, no-c-format msgid "" "no — Do not modify /etc/resolv.conf." msgstr "" #. Tag: para #, no-c-format msgid "" "If you prefer using a graphical interface, refer to for instructions on using the " "Network Administration Tool to configure a " "network interface to use DHCP." msgstr "" #. Tag: para #, no-c-format msgid "" "For advanced configurations of client DHCP options such as protocol timing, " "lease requirements and requests, dynamic DNS support, aliases, as well as a " "wide variety of values to override, prepend, or append to client-side " "configurations, refer to the dhclient and " "dhclient.conf man pages." msgstr "" #. Tag: title #, no-c-format msgid "Configuring a Multihomed DHCP Server" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "Multihomed DHCP server " "configuration" msgstr "" #. Tag: para #, no-c-format msgid "" "A multihomed DHCP server serves multiple networks, that is, multiple " "subnets. The examples in these sections detail how to configure a DHCP " "server to serve multiple networks, select which network interfaces to listen" " on, and how to define network settings for systems that move networks." msgstr "" #. Tag: para #, no-c-format msgid "" "Before making any changes, back up the existing " "/etc/sysconfig/dhcpd and " "/etc/dhcp/dhcpd.conf files." msgstr "" #. Tag: para #, no-c-format msgid "" "The DHCP daemon listens on all network interfaces unless otherwise " "specified. Use the /etc/sysconfig/dhcpd file to specify" " which network interfaces the DHCP daemon listens on. The following " "/etc/sysconfig/dhcpd example specifies that the DHCP " "daemon listens on the eth0 and " "eth1 interfaces:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "DHCPDARGS=\"eth0 eth1\";\n" msgstr "" #. Tag: para #, no-c-format msgid "" "If a system has three network interfaces cards -- eth0," " eth1, and eth2 -- and it is only " "desired that the DHCP daemon listens on eth0, then only" " specify eth0 in " "/etc/sysconfig/dhcpd:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "DHCPDARGS=\"eth0\";\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The following is a basic /etc/dhcp/dhcpd.conf file, for" " a server that has two network interfaces, eth0 in a " "10.0.0.0/24 network, and eth1 in a 172.16.0.0/24 " "network. Multiple subnet declarations allow" " different settings to be defined for multiple networks:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "default-lease-time 600;\n" "max-lease-time 7200;\n" "subnet 10.0.0.0 netmask 255.255.255.0 {\n" "\toption subnet-mask 255.255.255.0;\n" "\toption routers 10.0.0.1;\n" "\trange 10.0.0.5 10.0.0.15;\n" "}\n" "subnet 172.16.0.0 netmask 255.255.255.0 {\n" "\toption subnet-mask 255.255.255.0;\n" "\toption routers 172.16.0.1;\n" "\trange 172.16.0.5 172.16.0.15;\n" "}\n" msgstr "" #. Tag: term #, no-c-format msgid "" "subnet 10.0.0.0 netmask " "255.255.255.0;" msgstr "" #. Tag: para #, no-c-format msgid "" "A subnet declaration is required for every " "network your DHCP server is serving. Multiple subnets require multiple " "subnet declarations. If the DHCP server " "does not have a network interface in a range of a " "subnet declaration, the DHCP server does " "not serve that network." msgstr "" #. Tag: para #, no-c-format msgid "" "If there is only one subnet declaration, " "and no network interfaces are in the range of that subnet, the DHCP daemon " "fails to start, and an error such as the following is logged to " "/var/log/messages:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "dhcpd: No subnet declaration for eth0 (0.0.0.0).\n" "dhcpd: ** Ignoring requests on eth0. If this is not what\n" "dhcpd: you want, please write a subnet declaration\n" "dhcpd: in your dhcpd.conf file for the network segment\n" "dhcpd: to which interface eth1 is attached. **\n" "dhcpd:\n" "dhcpd:\n" "dhcpd: Not configured to listen on any interfaces!\n" msgstr "" #. Tag: term #, no-c-format msgid "" "option subnet-mask " "255.255.255.0;" msgstr "" #. Tag: para #, no-c-format msgid "" "The option subnet-mask option defines a " "subnet mask, and overrides the netmask " "value in the subnet declaration. In simple " "cases, the subnet and netmask values are the same." msgstr "" #. Tag: term #, no-c-format msgid "" "option routers " "10.0.0.1;" msgstr "" #. Tag: para #, no-c-format msgid "" "The option routers option defines the " "default gateway for the subnet. This is required for systems to reach " "internal networks on a different subnet, as well as external networks." msgstr "" #. Tag: term #, no-c-format msgid "" "range 10.0.0.5 " "10.0.0.15;" msgstr "" #. Tag: para #, no-c-format msgid "" "The range option specifies the pool of " "available IP addresses. Systems are assigned an address from the range of " "specified IP addresses." msgstr "" #. Tag: para #, no-c-format msgid "" "For further information, refer to the " "dhcpd.conf(5) man page." msgstr "" #. Tag: title #, no-c-format msgid "Alias Interfaces" msgstr "" #. Tag: para #, no-c-format msgid "" "Alias interfaces are not supported by DHCP. If an alias interface is the " "only interface, in the only subnet specified in " "/etc/dhcp/dhcpd.conf, the DHCP daemon fails to start." msgstr "" #. Tag: title #, no-c-format msgid "Host Configuration" msgstr "" #. Tag: indexterm #, no-c-format msgid "" "Multihomed DHCP host configuration" msgstr "" #. Tag: title #, no-c-format msgid "Configuring a single system for multiple networks" msgstr "" #. Tag: para #, no-c-format msgid "" "The following /etc/dhcp/dhcpd.conf example creates two " "subnets, and configures an IP address for the same system, depending on " "which network it connects to:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "default-lease-time 600;\n" "max-lease-time 7200;\n" "subnet 10.0.0.0 netmask 255.255.255.0 {\n" "\toption subnet-mask 255.255.255.0;\n" "\toption routers 10.0.0.1;\n" "\trange 10.0.0.5 10.0.0.15;\n" "}\n" "subnet 172.16.0.0 netmask 255.255.255.0 {\n" "\toption subnet-mask 255.255.255.0;\n" "\toption routers 172.16.0.1;\n" "\trange 172.16.0.5 172.16.0.15;\n" "}\n" "host example0 {\n" "\thardware ethernet 00:1A:6B:6A:2E:0B;\n" "\tfixed-address 10.0.0.20;\n" "}\n" "host example1 {\n" "\thardware ethernet 00:1A:6B:6A:2E:0B;\n" "\tfixed-address 172.16.0.20;\n" "}\n" msgstr "" #. Tag: term #, no-c-format msgid "" "host example0 " msgstr "" #. Tag: para #, no-c-format msgid "" "The host declaration defines specific " "parameters for a single system, such as an IP address. To configure specific" " parameters for multiple hosts, use multiple " "host declarations." msgstr "" #. Tag: para #, no-c-format msgid "" "Most DHCP clients ignore the name in host " "declarations, and as such, this name can anything, as long as it is unique " "to other host declarations. To configure " "the same system for multiple networks, use a different name for each " "host declaration, otherwise the DHCP daemon" " fails to start. Systems are identified by the hardware " "ethernet option, not the name in the " "host declaration." msgstr "" #. Tag: term #, no-c-format msgid "" "hardware ethernet " "00:1A:6B:6A:2E:0B;" msgstr "" #. Tag: para #, no-c-format msgid "" "The hardware ethernet option identifies the" " system. To find this address, run the ip link command." msgstr "" #. Tag: term #, no-c-format msgid "" "fixed-address " "10.0.0.20;" msgstr "" #. Tag: para #, no-c-format msgid "" "The fixed-address option assigns a valid IP" " address to the system specified by the hardware " "ethernet option. This address must be outside the IP " "address pool specified with the range " "option." msgstr "" #. Tag: para #, no-c-format msgid "" "If option statements do not end with a " "semicolon, the DHCP daemon fails to start, and an error such as the " "following is logged to /var/log/messages:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "/etc/dhcp/dhcpd.conf line 20: semicolon expected.\n" "dhcpd: }\n" "dhcpd: ^\n" "dhcpd: /etc/dhcp/dhcpd.conf line 38: unexpected end of file\n" "dhcpd:\n" "dhcpd: ^\n" "dhcpd: Configuration file errors encountered -- exiting\n" msgstr "" #. Tag: title #, no-c-format msgid "Configuring systems with multiple network interfaces" msgstr "" #. Tag: para #, no-c-format msgid "" "The following host declarations configure a" " single system, that has multiple network interfaces, so that each interface" " receives the same IP address. This configuration will not work if both " "network interfaces are connected to the same network at the same time:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "host interface0 {\n" "\thardware ethernet 00:1a:6b:6a:2e:0b;\n" "\tfixed-address 10.0.0.18;\n" "}\n" "host interface1 {\n" "\thardware ethernet 00:1A:6B:6A:27:3A;\n" "\tfixed-address 10.0.0.18;\n" "}\n" msgstr "" #. Tag: para #, no-c-format msgid "" "For this example, interface0 is the first " "network interface, and interface1 is the " "second interface. The different hardware " "ethernet options identify each interface." msgstr "" #. Tag: para #, no-c-format msgid "" "If such a system connects to another network, add more " "host declarations, remembering to:" msgstr "" #. Tag: para #, no-c-format msgid "" "assign a valid fixed-address for the " "network the host is connecting to." msgstr "" #. Tag: para #, no-c-format msgid "" "make the name in the host declaration " "unique." msgstr "" #. Tag: para #, no-c-format msgid "" "When a name given in a host declaration is " "not unique, the DHCP daemon fails to start, and an error such as the " "following is logged to /var/log/messages:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "dhcpd: /etc/dhcp/dhcpd.conf line 31: host interface0: already exists\n" "dhcpd: }\n" "dhcpd: ^\n" "dhcpd: Configuration file errors encountered -- exiting\n" msgstr "" #. Tag: para #, no-c-format msgid "" "This error was caused by having multiple host " "interface0 declarations defined in " "/etc/dhcp/dhcpd.conf." msgstr "" #. Tag: title #, no-c-format msgid "DHCP for IPv6 (DHCPv6)" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP DHCPv6" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP dhcpd6.conf" msgstr "" #. Tag: para #, no-c-format msgid "" "The ISC DHCP includes support for IPv6 (DHCPv6) since the 4.x release with a" " DHCPv6 server, client and relay agent functionality. The server, client and" " relay agents support both IPv4 and IPv6. However, the client and the server" " can only manage one protocol at a time — for dual support they must be " "started separately for IPv4 and IPv6." msgstr "" #. Tag: para #, no-c-format msgid "" "The DHCPv6 server configuration file can be found at " "/etc/dhcp/dhcpd6.conf." msgstr "" #. Tag: para #, no-c-format msgid "" "The sample server configuration file can be found at " "/usr/share/doc/dhcp-<version>/dhcpd6.conf.sample." msgstr "" #. Tag: para #, no-c-format msgid "" "To start the DHCPv6 service, use the command /sbin/service dhcpd6 " "start." msgstr "" #. Tag: para #, no-c-format msgid "A simple DHCPv6 server configuration file can look like this:" msgstr "" #. Tag: screen #, no-c-format msgid "" "\n" "subnet6 2001:db8:0:1::/64 {\n" " range6 2001:db8:0:1::129 2001:db8:0:1::254;\n" " option dhcp6.name-servers fec0:0:0:1::1;\n" " option dhcp6.domain-search \"domain.example\";\n" "}\n" " " msgstr "" #. Tag: title #, no-c-format msgid "Additional Resources" msgstr "" #. Tag: indexterm #, no-c-format msgid "DHCP additional resources" msgstr "" #. Tag: para #, no-c-format msgid "" "For additional information, refer to The DHCP Handbook; Ralph " "Droms and Ted Lemon; 2003 or the following resources." msgstr "" #. Tag: title #, no-c-format msgid "Installed Documentation" msgstr "" #. Tag: para #, no-c-format msgid "" "dhcpd man page — Describes how the DHCP daemon works." msgstr "" #. Tag: para #, no-c-format msgid "" "dhcpd.conf man page — Explains how to configure the " "DHCP configuration file; includes some examples." msgstr "" #. Tag: para #, no-c-format msgid "" "dhcpd.leases man page — Describes a persistent database" " of leases." msgstr "" #. Tag: para #, no-c-format msgid "" "dhcp-options man page — Explains the syntax for " "declaring DHCP options in dhcpd.conf; includes some " "examples." msgstr "" #. Tag: para #, no-c-format msgid "" "dhcrelay man page — Explains the DHCP Relay Agent and " "its configuration options." msgstr "" #. Tag: para #, no-c-format msgid "" "/usr/share/doc/dhcp-<version>/" " — Contains sample files, README files, and release notes for current " "versions of the DHCP service." msgstr ""