Can you use DHCP to assign an address to the downstream interface used by dhcrelay?

"Vallevand, Mark K" <[email protected]> Thu, 2 Nov 2023 17:13:33 +0000
Newsgroups gmane.network.dhcp.isc.dhcp-client
Message-ID <CH2PR07MB669330FB0F97463C548244BAEAA6A@CH2PR07MB6693.namprd07.prod.outlook.com>
--===============1643560089578957511==
Content-Language: en-US
Content-Type: multipart/related;
	boundary="_004_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_";
	type="multipart/alternative"

--_004_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_
Content-Type: multipart/alternative;
	boundary="_000_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_"

--_000_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello DHCP users.

Using Ubuntu 22.04.
I have configured dhcrelay upstream and downstream interfaces and a server =
address.
DHCP addresses are correctly relayed from machines on the downstream side t=
o the upstream side and back.
Rather than using a static address in the downstream interface, I would lik=
e to assign a DHCP address using dhclient to the downstream interface.
Dhcrelay does not seem to handle this case.  If the origin of the request i=
s the actual downstream interface, it is not relayed.
Is this possible?  Can I use dhclient to get an address for the downstream =
interface used by dhcrelay?

Thanks for any suggestions.


Regards.

Mark K Vallevand
Unisys 651-635-7708 | [email protected]<mailto:mark.vallevand@unisy=
s.com>

[cid:[email protected]]<http://www.unisys.com/>


--_000_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-ligatures:standardcontextual;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello DHCP users.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Using Ubuntu 22.04.<o:p></o:p></p>
<p class=3D"MsoNormal">I have configured dhcrelay upstream and downstream i=
nterfaces and a server address.<o:p></o:p></p>
<p class=3D"MsoNormal">DHCP addresses are correctly relayed from machines o=
n the downstream side to the upstream side and back.<o:p></o:p></p>
<p class=3D"MsoNormal">Rather than using a static address in the downstream=
 interface, I would like to assign a DHCP address using dhclient to the dow=
nstream interface.<o:p></o:p></p>
<p class=3D"MsoNormal">Dhcrelay does not seem to handle this case.&nbsp; If=
 the origin of the request is the actual downstream interface, it is not re=
layed.<o:p></o:p></p>
<p class=3D"MsoNormal">Is this possible?&nbsp; Can I use dhclient to get an=
 address for the downstream interface used by dhcrelay?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks for any suggestions.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"mso-ligatures:none"><o:p>&nbsp;</o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"mso-ligatures:none"><o:p>&nbsp;</o:p>=
</span></p>
<div style=3D"mso-element:para-border-div;border:none;border-top:solid #CCC=
CCC 1.0pt;padding:4.0pt 0in 0in 0in">
<p class=3D"MsoNormal" style=3D"margin-bottom:3.0pt;border:none;padding:0in=
"><span style=3D"font-family:&quot;Arial&quot;,sans-serif;color:#444444;mso=
-ligatures:none">Regards.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:3.0pt;border:none;padding:0in=
"><b><span style=3D"font-family:&quot;Arial&quot;,sans-serif;color:#444444;=
mso-ligatures:none"><o:p>&nbsp;</o:p></span></b></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:3.0pt;border:none;padding:0in=
"><b><span style=3D"font-family:&quot;Arial&quot;,sans-serif;color:#444444;=
mso-ligatures:none">Mark K Vallevand</span></b><span style=3D"font-family:&=
quot;Arial&quot;,sans-serif;color:#444444;mso-ligatures:none"><o:p></o:p></=
span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:3.0pt"><span style=3D"font-si=
ze:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#444444;mso-ligatur=
es:none">Unisys 651-635-7708 |
</span><span style=3D"font-size:9.0pt;font-family:&quot;Arial&quot;,sans-se=
rif;mso-ligatures:none"><a href=3D"mailto:[email protected]">mark.v=
[email protected]</a><span style=3D"color:#444444">
<o:p></o:p></span></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:3.0pt"><span style=3D"font-si=
ze:8.0pt;color:#2072BC;mso-ligatures:none"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:3.0pt"><a href=3D"http://www.=
unisys.com/"><span style=3D"color:windowtext;text-decoration:none"><img bor=
der=3D"0" width=3D"124" height=3D"27" style=3D"width:1.2916in;height:.2812i=
n" id=3D"Picture_x0020_49" src=3D"cid:[email protected]"></spa=
n></a><span style=3D"mso-ligatures:none"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_--

--_004_CH2PR07MB669330FB0F97463C548244BAEAA6ACH2PR07MB6693namp_
Content-Type: image/png; name="image001.png"
Content-Description: image001.png
Content-Disposition: inline; filename="image001.png"; size=2709;
	creation-date="Thu, 02 Nov 2023 17:13:33 GMT";
	modification-date="Thu, 02 Nov 2023 17:13:33 GMT"
Content-ID: <[email protected]>
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAAHMAAAAZCAYAAAACLBHaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
bWFnZVJlYWR5ccllPAAAA4lpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp
bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6
eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMC1jMDAwIDc5LjE3
MWMyN2ZhYiwgMjAyMi8wOC8xNi0yMjozNTo0MSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRm
PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNj
cmlwdGlvbiByZGY6YW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H2PR07MB6693namp_--

--===============1643560089578957511==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users

--===============1643560089578957511==--