I've setup a DHCP server on one of my centos boxes, and I have several computers that are going to connect (also centos) and hopefully make use of the DHCP. On start-up I'd like to check whether a DHCP server is available, or if the computer will have to fall back onto a static IP.
My first idea is to modify the file under /etc/sysconfig/network
via a script that would run on startup...is there an easier way to do this though? I would have hoped somewhere in the DHCP config there would be a way to specify a fallback point in the event no DHCP server is found. Thanks!