Actually i am writing an application that reads the data from client which is connected serially to linux machine where dhcp server is running,so i read the dhcp solicit from the serial interface and write to the TAP0 interface where dhcp server is running.<div>Now to write the data to TAP0 interface my application needs to populate the source MAC ,destination MAC i .Destination MAC I can populate but how to fill the Source MAC?.</div><div><br></div><div>Purpose is to provide Dhcp address to the serially connected Client?</div><div>Am i thinking the right way..</div><div><br></div><div>Hoping that you got my view<br><br>On Tuesday, August 22, 2017, Patrick Trapp <<a href="mailto:ptrapp@nex-tech.com">ptrapp@nex-tech.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto">
<div></div>
<div>It sounds like you want the DHCP server to be getting its address from itself - if that's correct, I have to ask what you are hoping to accomplish, because I'm not creative enough to understand why that would be desirable.</div>
<div><br>
</div>
<div>I believe Eugene is assuming that you want the server to obtain an address from a different DHCP server on one interface while providing DHCP service on a second interface.</div>
<div><br>
On Aug 22, 2017, at 10:53 AM, Sumant Gupta <<a href="javascript:_e(%7B%7D,'cvml','sumantgupta@gmail.com');" target="_blank">sumantgupta@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Thanks Eugene for quick response.
<div><br>
<div>I didnt understand the below:<br>
<div>You will need another DHCP server reachable via eth0.<br>
<div><br>
</div>
<div>Also i have another query that is it possible to run dhcp server and dhcp client on same machine on same interface tap0?</div>
<div>Also do u have information that does dhcp server validate that source MAC address of in coming dhcp solicit packet?<br>
-sumant</div>
<div><br>
On Tuesday, August 22, 2017, Eugene Grosbein <<a href="javascript:_e(%7B%7D,'cvml','eugen@grosbein.net');" target="_blank">eugen@grosbein.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
22.08.2017 22:26, Sumant Gupta wrote:<br>
<br>
> Hi,<br>
> My machine has 2 interfaces tap0 and eth0.<br>
> Is it possible to run the dhcp server on tap0 interface and client on eth0.<br>
<br>
Of course it is possible, why not? You will need another DHCP server reachable via eth0.<br>
<br>
<br>
______________________________<wbr>_________________<br>
dhcp-users mailing list<br>
<a>dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>______________________________<wbr>_________________</span><br>
<span>dhcp-users mailing list</span><br>
<span><a href="javascript:_e(%7B%7D,'cvml','dhcp-users@lists.isc.org');" target="_blank">dhcp-users@lists.isc.org</a></span><br>
<span><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/dhcp-users</a></span></div>
</blockquote>
</div>

</blockquote></div>