Tzafrir Cohen <[EMAIL PROTECTED]> writes:
> On Tue, 27 Mar 2001, Daniel Feiglin wrote:
>
> > I am connected to a LAN via DHCP. Is there a utility or API which
> > returns my current IP address? Where is it "stored" in the system? An
> > RTFM would be fine.
>
> It depends on your client...
>
> For instance, for the standard dhcpcd of redhat, and using eth0, this is:
>
> /etc/dhcpc/dhcpcd-eth0.info
When I saw Daniel's message yesterday, I checked that, and
ifconfig/netstat, and was surprised to see different IP addresses.
Any explanation?
--
Oleg Goldshmidt | [EMAIL PROTECTED]
"I'd rather write programs to write programs than write programs."
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]