Networking :: how to identify dhcp server ?



HI,

How can I identify the ip of the dhcp server that gave my dsl box its ip address? Its done by ipconfig in Windows but ifconfig doesn't seem to give you that info.

Have Googled the question but none of the general linux responses seem to apply to dsl. Or I am dumb.


Thanks,

Brian H.
Uxbridge Ont

Pump is the dhcp client on dsl 3/4.
pump -i eth0 --status
to get the dhcp info on the eth0 interface.

If udhcpc is being used instead (Busybox dhcp client) then there is no easy way (that I can find). Quickest is to look at what the default gateway is with the "route" command. More often then not, the gateway will also be the dhcp server.


original here.