DHCP Server and Client on same interface
sumantgupta at gmail.com
Tue Aug 22 16:19:24 UTC 2017
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.
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?.
Purpose is to provide Dhcp address to the serially connected Client?
Am i thinking the right way..
Hoping that you got my view
On Tuesday, August 22, 2017, Patrick Trapp <ptrapp at nex-tech.com> wrote:
> 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
> 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.
> On Aug 22, 2017, at 10:53 AM, Sumant Gupta <sumantgupta at gmail.com
> Thanks Eugene for quick response.
> I didnt understand the below:
> You will need another DHCP server reachable via eth0.
> Also i have another query that is it possible to run dhcp server and dhcp
> client on same machine on same interface tap0?
> Also do u have information that does dhcp server validate that source MAC
> address of in coming dhcp solicit packet?
> On Tuesday, August 22, 2017, Eugene Grosbein <eugen at grosbein.net
>> 22.08.2017 22:26, Sumant Gupta wrote:
>> > Hi,
>> > My machine has 2 interfaces tap0 and eth0.
>> > Is it possible to run the dhcp server on tap0 interface and client on
>> Of course it is possible, why not? You will need another DHCP server
>> reachable via eth0.
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
> dhcp-users mailing list
> dhcp-users at lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users