Eugene can please comment in my below scenario,it would be really helpful.<div>.........<br><span style="color:rgb(34,34,34);font-size:14px"> i am writing an application on host machine that reads the data from client which is connected serially via COM port to host machine where dhcp server is running,so i read the dhcp solicit from the serial interface from client and my application writes to the TAP0 interface where dhcp server is running.</span><div style="color:rgb(34,34,34);font-size:14px">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 style="color:rgb(34,34,34);font-size:14px"><br></div><div style="color:rgb(34,34,34);font-size:14px">Purpose is to provide Dhcp address to the serially connected Client?</div><div style="color:rgb(34,34,34);font-size:14px"><br></div><div style="color:rgb(34,34,34);font-size:14px">Sumant</div>On Tuesday, August 22, 2017, Eugene Grosbein <<a href="mailto:eugen@grosbein.net">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:51, Sumant Gupta wrote:<br>
> I didnt understand the below:<br>
> You will need another DHCP server reachable via eth0.<br>
><br>
> Also i have another query that is it possible to run dhcp server and dhcp client on same machine on same interface tap0?<br>
<br>
If you want same machine to be dhcp server for itself and client for this server,<br>
this depends on your operating system and not on DHCP software.<br>
<br>
Some operating systems allow you to virtualize network stack instances,<br>
so you could have two distinct network stacks within single kernel (FreeBSD's VNETs).<br>
<br>
Or you could use full-blown Virtual Machine that has its own network stack.<br>
<br>
You generally cannot run both of DHCP client and server within single network stack<br>
using same interface.<br>
<br>
> Also do u have information that does dhcp server validate that source MAC address of in coming dhcp solicit packet?<br>
<br>
This depends of DHCP server software and its version too. You did not specify it.<br>
<br>
<br>
______________________________<wbr>_________________<br>
dhcp-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'dhcp-users@lists.isc.org')">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>