Linux network-based route DHCP configuration

Source: Internet
Author: User
DHCP transmission principle: 1: the client uses physical broadcast FF: FF and IP

DHCP transmission principle:

1: the client uses the physical broadcast FF: FF and IP broadcast bandwidth 255.255.255.255.2255

2: When the DNS router receives a broadcast packet, it uses the same physical broadcast and IP broadcast to respond. The data frame contains the allocated address information.

3: the client receives a data frame containing the allocated address information and uses physical broadcast and IP broadcast to respond again. Accept the address information to all other hosts.

4: The DNS router receives a response from the client. broadcasting again indicates confirming the client address and declaring all other hosts from which the client is allocated dynamically.

Router DHCP configuration steps

1: enter configure terminal mode, service dhcp (start dhcp service)

2: ip dhcp pool pool_name (determine the network pool to be dynamically allocated)

3: network A. B .C.D net_mask (network segment allocated by the dynamic host)

4: default_gatway A. B .C.D (configure the allocated gateway address)

5: dns_server A. B .C.D (configure the allocated DNS)

Relay DHCP service router configuration

1: enable the relay mode on the port for DHCP service on the relay router.

2: Enter ip helper_address A. B .C.D (the ip address here is the ip address of the DHCP router)

3: configure the dynamic allocation pool according to the DHCP configuration steps.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.