API for identifying the DHCP server's IP address.

lawrieleo_at_gmail.com
Date: 07/25/05


Date: 25 Jul 2005 05:01:50 -0700

Hi all,

Here we are writing an application, which basically shows the network
configuration parameters of our linux box.
A dhcp client is working which fetches the ip address from the DHCP
server operating in our network. There could be morethan one server
operating. This application also needs to display the DHCP server's IP
address the one that assigned an IP address to our box?
How can our application program identify the DHCP server's IP address?
Any specific API or IOCTL for this purpose?
Please suggest.

Thanks,
Lawrie.



Relevant Pages

  • Re: networking private and public hosts questions
    ... some systmes in storage to create a test network. ... a WS to the child and attempted to pull an IP from the DHCP server, ...
    (microsoft.public.win2000.networking)
  • Re: A little FYI
    ... > fix for a different problem or end up making the same configuration ... Maybe faulty network equipment, ... > to look at what might interfere with DHCP. ... you were not here as I was trying to get the card to stay ...
    (comp.security.firewalls)
  • Re: Preventing DHCP from allocating IPs
    ... Each segment is physically separate with a Linux ... unknown MAC addresses firstly don't get a DHCP ... >> wants access to your network, they will have to come to you to obtain ...
    (Security-Basics)
  • Cable Connectivity
    ... address for the Network Card with network address 00402B2F688C. ... The DHCP Client service on your computer did not receive a response ... If connection with the network is not established using this APIP ... the DHCP Client service will try to contact the DHCP server ...
    (microsoft.public.windowsxp.general)
  • Re: Exchange not loading properly, since updates?
    ... No other DHCP services running on the network. ... >> here is the changelog text, ... >> Old Subnet Mask: 255.255.255.0 ...
    (microsoft.public.windows.server.sbs)