Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 847198 Details for
Bug 1045705
DHCP: please explain how to start DHCPv4 and DHCPv6 services on the SAME machine
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
notes to Networking Guide 'Chapter 10. DHCP Servers'
Chapter10-DHCP_Servers.txt (text/plain), 3.48 KB, created by
Jiri Popelka
on 2014-01-08 15:18:20 UTC
(
hide
)
Description:
notes to Networking Guide 'Chapter 10. DHCP Servers'
Filename:
MIME Type:
Creator:
Jiri Popelka
Created:
2014-01-08 15:18:20 UTC
Size:
3.48 KB
patch
obsolete
>10.2. Configuring a DHCP Server >/usr/share/doc/dhcp-<version_number>/dhcpd.conf.sample -> /usr/share/doc/dhcp/dhcpd.conf.example > >10.2.1. Configuration File >service dhcpd restart -> systemctl restart dhcpd >/usr/share/doc/dhcp-<version_number>/dhcpd.conf.sample -> /usr/share/doc/dhcp/dhcpd.conf.example > >10.2.3. Starting and Stopping the Server >/sbin/service dhcpd start -> systemctl start dhcpd >/sbin/service dhcpd stop -> systemctl stop dhcpd > >> 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: >> # Command line options here >> DHCPDARGS=eth0 >> 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. >> Other command line options that can be specified in /etc/sysconfig/dhcpd include: > >We don't use /etc/sysconfig/dhcpd anymore - it's still there but contains only comment why it's not used and how to do the above described now. >You can use that comment instead of the above description. > >> Other command line options that can be specified in /etc/sysconfig/dhcpd include: >> -p ... >> -f ... >> -d ... > >I'd not enumerate all the options here. Simply mentioning that they are described in dhcpd(8) man page should be sufficient. > >10.2.4. DHCP Relay Agent > >> The DHCP Relay Agent listens for DHCP requests on all interfaces unless the interfaces are specified in /etc/sysconfig/dhcrelay with the INTERFACES directive. > >The same as with /etc/sysconfig/dhcpd, i.e. one needs to modify dhcrelay.service to add command line arguments. > >> To start the DHCP Relay Agent, use the command service dhcrelay start. > >service dhcrelay start -> systemctl start dhcrelay > >10.3. Configuring a DHCP Client > >I don't think we need this section at all. >First - this chapter is called 'DHCP Servers' and second - configuration of dhcp client is done automatically by NetworkManager. > >10.4. Configuring a Multihomed DHCP Server > >> The DHCP daemon listens on all network interfaces unless otherwise specified. > >That's not true. If the interface's subnet is not specified on dhcpd.conf dhcpd won't listen on that interface. > >> 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: >> DHCPDARGS="eth0 eth1"; >> If a system has three network interfaces cards â eth0, eth1, and eth2 â and it is only desired that the DHCP daemon listens on the eth0 card, then only specify eth0 in /etc/sysconfig/dhcpd: >> DHCPDARGS="eth0"; > >I'd simply remove this description because specifying subnets in dhcpd.conf should be sufficient. > >10.5. DHCP for IPv6 (DHCPv6) > >> However, the client and the server can only manage one protocol at a time > >client, server and relay agent can only manage one protocol at a time > >/usr/share/doc/dhcp-<version>/dhcpd6.conf.sample -> /usr/share/doc/dhcp/dhcpd6.conf.example >/sbin/service dhcpd6 start -> systemctl start dhcpd6 > >10.6.1. Installed Documentation > >/usr/share/doc/dhcp-<version>/ -> /usr/share/doc/dhcp/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1045705
: 847198