[prev in list] [next in list] [prev in thread] [next in thread]
List: dhcp-users
Subject: =?UTF-8?B?RndkOiBSZVs0XTogSG93IHRvIC0gREhDUCBSZWxheSBhbmQgU2VydmVyIG9u?= =?UTF-8?B?IHNhbWUgbWFjaGluZ
From: test24 <test24 () mail ! ru>
Date: 2015-06-17 15:49:24
Message-ID: 1434556164.736262196 () f317 ! i ! mail ! ru
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
[Attachment #4 (text/plain)]
Simon Hobson WROTE
test24 <test24 at mail.ru> wrote:
> man dhcp relay says:
> > -p PORT
> Listen and transmit on port PORT. This is mostly useful for
> debugging purposes. Default is port 67 for DHCPv4/BOOTP
That changes the port the relay agent uses - but **NOT** the port it assumes the \
server is using. Checking the man page I see nothing to suggest it can talk to a \
server via a non-standard port - you could try "nnn.nnn.nnn.nnn:77" for server IP, \
but I suspect that's not implemented.
If not, I imagine it might be "relatively" simple to edit the code and hard code a \
different server port to use.
For dhcp relay next server is written in rc.conf as the
dhcrelay_servers="10.10.10.1" # v4 dhcrelay server(s)
and option -P says ONLY ! one port - for clients and for next server
This port is the same for clients and for next server
In my case dhcp relay MUST listen one port (standart 67/68 for clients side) and send \
requests to NEXT server on OTHER port. It is one the SAME machine, than I can not say \
! dhcpD ! listen 67 port too. And as a result - dhcpd server not see requests on 77 \
port because dhcp relay uses only ONE port for clients side and for servers side.
It is generally unneded if the relay and server placed on different machines, but if \
machine is same - it is actual needed feature... because i want to add option 82 \
packets by relay and send replies on this requests by dhcpd server without using \
second machine.
Second reason - my machine acts as router and vlans back end. Than option 82 must be \
added on this machine (). And on this machine dhcpd must say replies for unknown \
client MACs but known client vlans
----------------------------------------------------------------------
[Attachment #5 (text/html)]
<HTML><BODY><br><br><br>
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div>
<base target="_self" href="https://e.mail.ru/">
<div id="style_14345556940000000595_BODY">
<pre><strong>Simon Hobson</strong> WROTE<br><br>test24 <<a \
href="https://lists.isc.org/mailman/listinfo/dhcp-users" \
data-mce-href="https://lists.isc.org/mailman/listinfo/dhcp-users" \
target="_blank">test24 at mail.ru</a>> wrote:
><em> man dhcp relay says:
</em>>><em> -p PORT
</em>><em> Listen and transmit on port PORT. This is mostly \
useful for </em>><em> debugging purposes. Default is port 67 for \
DHCPv4/BOOTP </em>
That changes the port the relay agent uses - but **NOT** the port it assumes the \
server is using. Checking the man page I see nothing to suggest it can talk to a \
server via a non-standard port - you could try "nnn.nnn.nnn.nnn:77" for server IP, \
but I suspect that's not implemented.
If not, I imagine it might be "relatively" simple to edit the code and hard code a \
different server port to use.<br><br><br>For dhcp relay next server is written in \
rc.conf as the<br><br>dhcrelay_servers="10.10.10.1" \
# v4 dhcrelay server(s)<br><br>and option -P says ONLY ! one port - for clients and \
for next server<br><br>This port is the same for clients and for next \
server<br><br><br>In my case dhcp relay MUST listen one port (standart 67/68 for \
clients side) and send requests to NEXT server on OTHER port.<br>It is one the SAME \
machine, than I can not say ! dhcpD ! listen 67 port too. And as a result - dhcpd \
server not see requests on 77 port because dhcp relay uses only ONE port<br>for \
clients side and for servers side.<br><br>It is generally unneded if the relay and \
server placed on different machines, but if machine is same - it is actual needed \
feature... because i want to add option 82 packets <br>by relay and send replies on \
this requests by dhcpd server without using second machine.<br><br>Second reason - my \
machine acts as router and vlans back end. Than option 82 must be added on this \
machine ().<br>And on this machine dhcpd must say replies for unknown client MACs but \
known client vlans<br><br><br><br><br><br></pre> </div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
<br><hr></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