HP Elitebook 840 G7
-
@george1421 Same issue results. When I run your netstat command nothing is returned.
-
@joyboy11111 Well I would look at the /var/log directory either messages or syslog in there to see what the dhcp server is compaining about.
tail -30 /var/log/messages
or
tail -30 /var/log/syslog
-
-
@joyboy11111 OK the no subnet error is a bit strange but move that into the subnet 192.168.1.0 section. That is what its complaining about. It should be global at that level, but whatever.
Now did you fiddle with the configuration in /etc/sysconfig/dhcp? If not I need to see the output of these two commands
ip a s
cat /etc/sysconfig/dhcp
-
@george1421
only way I would have done anything to sysconfig/dhcp is if you asked.Your second command for sysconfig/dhcp was not correct.
-
@joyboy11111 ok so it was dhcpd not dhcp
So from your top picture you have 4 network adapters but only one is configured. That is OK I just wanted to make sure you didn’t have 2 interfaces active at one time.
Before you do this net bit, restart the dhcp server with
systemct restart dhcpd
and then confirm if its running with the ps and netstat commands. If its not running again look at the log file.If the above fails or its complaining about an interface to bind to then do the following.
If you look at the dhcpd file, in there should be a line like
DHCPDARGS="";
Change it to bind to the dhcp server to only eth0
DHCPDARGS="eth0";
-
The command to restart dhcp did not work, but the information is what you wanted. SO yes eht0 is configured only for FOG, eth1 is configured for internet traffic. Eth1 is rarely up, only for updates.
-
@joyboy11111 Since you are using Centos 6, that is Sys-V compliant OS so that would be
service dhcpd restart
orservice dhcp restart
. Or just reboot your server.Almost all modern Linux OS use systemd commands, which is what I gave you previously.
-
rebooted, same results.
-
After making all these changes FOG was not operational. I reinstalled FOG just so I could get some machines ready. Now that we are back at square one, do you have any ideas on a direction we can go?
-
@joyboy11111 So what did you install?
Has your installed version(s) (FOG host server and FOG version) changed? -
@george1421Nothing changed, reinstalled 1.5.7. Sorry for the delay.