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