[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-users
Subject:    Re: how to use options -m append|replace|forward|discard in dhcrelay?
From:       Hans Liss <Hans () Liss ! pp ! se>
Date:       2013-03-18 15:19:47
Message-ID: 109D7202-1B88-47C4-B333-7AFDFA2EE150 () Liss ! pp ! se
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear Ameen,

In short, it has to do with how the relay agent handles incoming packets that contain \
option-82 info. If you read the man page included with the program, you can find out \
much more about this. If the software is properly installed, the following command \
should work:  man dhcrelay

Otherwise, you can try googling for the same thing: http://lmgtfy.com/?q=man+dhcrelay

Best regards,

Hans

On 18 Mar 2013, at 16:04, <ameen.shajahan@wipro.com> wrote:

> Hi all,
> I would like to know how to use the options “-m append|replace|forward|discard” in \
> dhcrelay.  What is the purpose and when it will be needed? If somebody tested dhcp \
> relay with this configuration please let me updated the configuration. 
> # ./dhcrelay --help
> Usage: dhcrelay [-4] [-d] [-q] [-a] [-D]
> [-A <length>] [-c <hops>] [-p <port>]
> [-pf <pid-file>] [--no-pid]
> [-m append|replace|forward|discard]
> [-i interface0 [ ... -i interfaceN]
> server0 [ ... serverN]
> 
> Thanks,
> Ameen
> Please do not print this email unless it is absolutely necessary.
> 
> The information contained in this electronic message and any attachments to this \
> message are intended for the exclusive use of the addressee(s) and may contain \
> proprietary, confidential or privileged information. If you are not the intended \
> recipient, you should not disseminate, distribute or copy this e-mail. Please \
> notify the sender immediately and destroy all copies of this message and any \
> attachments. 
> WARNING: Computer viruses can be transmitted via email. The recipient should check \
> this email and any attachments for the presence of viruses. The company accepts no \
> liability for any damage caused by any virus transmitted by this email. 
> www.wipro.com
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


[Attachment #5 (unknown)]

<html><head><base href="x-msg://153/"></head><body style="word-wrap: break-word; \
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear \
Ameen,<div><br></div><div>In short, it has to do with how the relay agent handles \
incoming packets that contain option-82 info. If you read the man page included with \
the program, you can find out much more about this. If the software is properly \
installed, the following command should work:</div><div><span class="Apple-tab-span" \
style="white-space:pre">	</span>man dhcrelay</div><div><br></div><div>Otherwise, you \
can try googling for the same thing:&nbsp;<a \
href="http://lmgtfy.com/?q=man+dhcrelay">http://lmgtfy.com/?q=man+dhcrelay</a></div><div><br></div><div>Best \
regards,</div><div><br></div><div>Hans</div><div><br><div><div>On 18 Mar 2013, at \
16:04, &lt;<a href="mailto:ameen.shajahan@wipro.com">ameen.shajahan@wipro.com</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span \
class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; \
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; \
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-IN" link="blue" \
vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div \
style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; \
font-size: 11pt; font-family: Calibri, sans-serif; "><span lang="EN-US">Hi \
all,<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; \
margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, \
sans-serif; "><span lang="EN-US">I would like to know how to use the options “-m \
append|replace|forward|discard” in dhcrelay. &nbsp;What is the purpose and when it \
will be needed?<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: \
0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: \
Calibri, sans-serif; "><span lang="EN-US">If somebody tested dhcp relay with this \
configuration please let me updated the configuration.<o:p></o:p></span></div><div \
style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; \
font-size: 11pt; font-family: Calibri, sans-serif; "><span \
lang="EN-US"><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0cm; margin-right: \
0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: \
Calibri, sans-serif; "><span lang="EN-US"># ./dhcrelay \
--help<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; \
margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, \
sans-serif; "><span lang="EN-US">Usage: dhcrelay [-4] [-d] [-q] [-a] \
[-D]<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; \
margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, \
sans-serif; "><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-A \
&lt;length&gt;] [-c &lt;hops&gt;] [-p &lt;port&gt;]<o:p></o:p></span></div><div \
style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; \
font-size: 11pt; font-family: Calibri, sans-serif; "><span \
lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
[-pf &lt;pid-file&gt;] [--no-pid]<o:p></o:p></span></div><div style="margin-top: 0cm; \
margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; \
font-family: Calibri, sans-serif; "><span \
lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
[-m append|replace|forward|discard]<o:p></o:p></span></div><div style="margin-top: \
0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; \
font-family: Calibri, sans-serif; "><span \
lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
[-i interface0 [ ... -i interfaceN]<o:p></o:p></span></div><div style="margin-top: \
0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; \
font-family: Calibri, sans-serif; "><span \
lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
server0 [ ... serverN]<o:p></o:p></span></div><div style="margin-top: 0cm; \
margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; \
font-family: Calibri, sans-serif; "><span \
lang="EN-US"><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0cm; margin-right: \
0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: \
Calibri, sans-serif; "><span lang="EN-US">Thanks,<o:p></o:p></span></div><div \
style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; \
font-size: 11pt; font-family: Calibri, sans-serif; "><span \
lang="EN-US">Ameen<o:p></o:p></span></div></div><p><strong><span style="font-size: \
10pt; font-family: 'Palatino Linotype', serif; color: green; ">Please do not print \
this email unless it is absolutely necessary.</span></strong><span \
style="font-family: Arial, sans-serif; "><o:p></o:p></span></p><p>The information \
contained in this electronic message and any attachments to this message are intended \
for the exclusive use of the addressee(s) and may contain proprietary, confidential \
or privileged information. If you are not the intended recipient, you should not \
disseminate, distribute or copy this e-mail. Please notify the sender immediately and \
destroy all copies of this message and any attachments.</p><p>WARNING: Computer \
viruses can be transmitted via email. The recipient should check this email and any \
attachments for the presence of viruses. The company accepts no liability for any \
damage caused by any virus transmitted by this email.</p><p><a \
href="http://www.wipro.com" style="color: blue; text-decoration: underline; \
">www.wipro.com</a></p>_______________________________________________<br>dhcp-users \
mailing list<br><a href="mailto:dhcp-users@lists.isc.org" style="color: blue; \
text-decoration: underline; ">dhcp-users@lists.isc.org</a><br><a \
href="https://lists.isc.org/mailman/listinfo/dhcp-users" style="color: blue; \
text-decoration: underline; \
">https://lists.isc.org/mailman/listinfo/dhcp-users</a></div></span></blockquote></div><br></div></body></html>




_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic