Link to home
Start Free TrialLog in
Avatar of dkraut
dkraut

asked on

ifconfig - how to determine if IP address is static or dhcp?

In Windows an ipconfig /all shows a field that says DHCP Enabled = Yes/No
Is there a comparable linux command to determine if the IP address was assigned via DHCP or Static?  Also, is there a way to have ifconfig display its information one screen at a time?

thanks!  
SOLUTION
Avatar of Doasli
Doasli

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No, it does not tell you, you have to look in the configs, what is your distribution? redhat, debian, ubuntu?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dkraut
dkraut

ASKER

thanks all, it's RHEL btw.