Henning, Brian wrote:

> i am running udhcp on my leaf box and i was wondering where i
> could find the
> dns lease info.

The DNS server's IP address is written to /etc/resolv.conf, which should be
updated automatically by the dhcp client

> what i want to know is what my dhcp server's ip address is and i want to
> know how many hops i have to make to get to it.

Check out the log files and /etc. I don't know about udhcp, but dhcpcd
writes all info about the lease to /etc/dhcpc.

I think that your dhcp server should not be any hops away, i.e. it has to be
on the same subnet as you are. Otherwise, how should the answer reach you
while you don't have an IP address?

Cheers
Alex



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to