Dhcrelay Command--linux command application of large dictionary 729 commands interpretation

Source: Internet
Author: User

The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"

tell 729 commands, 1935 examples

Learn about the Linux system's reference books, desk book, encountered the command or command not understand the options can be found

Strive to publish content every day


airfish2000 "blog, More commands to view blogs:

http://airfish2000.blog.51cto.com/10829608/1877992


dhcrelay Command

use the Dhcrelay command to provide relay DHCP and BOOTP requests, connecting directly to one or more of the other subnets from a subnet without a DHCP server DHCP Server. This command is used on DHCP relay servers and supports both the DHCPV4/BOOTP and DHCPv6 protocols.

Command syntax:

dhcrelay[ Options ] [DHCP server ]

The meanings of the options in the command are as follows is shown.

table dhcrelay command options meaning

options

-C < hop "

dhcrelay 255

-4

run dhcrelay< Span style= "font-family: ' The song Body '; > command as dhcpv4/bootp relay Agent. This is the default mode of Operation

-6

Run the Dhcrelay command as a DHCPv6 relay Agent

-Q

Quiet mode

-P < port ;

listening and sending ports. dhcpv4/bootp default port is 67 Dhcpv6 547

-A < length >

specifies the send to Maximum packet size for DHCP server

-D

Force The Dhcrelay command to run as a foreground process

Example : Specify the location of the DHCP server.

[Email protected] ~]# Dhcrelay 192.168.0.2

Internet Systems Consortium DHCP Relay agent4.1.1-p1

Copyright 2004-2010 Internet Systemsconsortium.

All rights reserved.

For info, visithttps://www.isc.org/software/dhcp/

Listening on Lpf/eth1/00:0c:29:fc:2f:ef

Sending on Lpf/eth1/00:0c:29:fc:2f:ef

Listening on Lpf/eth0/00:0c:27:fc:25:ec

Sending on Lpf/eth0/00:0c:27:fc:25:ec

Sending on Socket/fallback


This article is from the "airfish2000" blog, make sure to keep this source http://airfish2000.blog.51cto.com/10829608/1877992

Dhcrelay Command--linux command application of large dictionary 729 commands interpretation

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.