SOLVED FOG installation issue - IP and router settings

  • Hi All,

    I’m trying to install FOG server on a CentOS7 server. The IP address of the Server itself is When starting the installation procedure, the default IP of the FOG server is set to

    When i’m trying to change the default IP address to address in the subnet, i can’t reach it, but i also can’t reach the default address… what am i missing? Shouldn’t the FOG server address be the same as the server address?

    Thanks in advance.

  • Changing the interface to enp2s0 solved the problem - many thanks George, really appreciate your support.

  • Moderator

    @kovals said in FOG installation issue - IP and router settings:


    Well now we know where that IP address is coming from. Virbr is a virtual bridge adapter and it not needed unless you are doing NAT or something else non-typical. During the FOG install it must have picked that network adapter by default.

    Lets see if we can fix this.
    First lets edit the hidden config file called /opt/fog/.fogsettings You will need to edit it as root or sudo launch your editor. There is a line in there that says interface=, my bet is it lists virbir0 as the parameter. We need to change that to enp2s0. Save the config file and then rerun the installer from the fogproject/bin directory. The last steps is that you will need to go into the web ui and update the storage node and fog settings parameter changing to the proper IP address. Those steps are outlined here for FOG 1.3.0:

    Once that has been changed reboot your fog server. IF that 122.1 IP address comes back then we will have to dig a bit deeper. But that process should fix it.


    [root@fog ~]# ip addr show
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 6c:4b:90:4c:95:63 brd ff:ff:ff:ff:ff:ff
    inet brd scope global noprefixroute dynamic enp2s0
    valid_lft 688709sec preferred_lft 688709sec
    inet6 fe80::dfb8:d2dd:3db4:8427/64 scope link noprefixroute
    valid_lft forever preferred_lft forever
    3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:76:58:61 brd ff:ff:ff:ff:ff:ff
    inet brd scope global virbr0
    valid_lft forever preferred_lft forever
    4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:76:58:61 brd ff:ff:ff:ff:ff:ff

    i see the virbr0 (?) had the IP i mentioned before, but i have no idea what it is… The server has one physical network adapter - enp2s0.

    Apologies, this is my first Linux installation…

  • Moderator

    AFAIK the fog installer doesn’t change the IP address of the linux server during installation. That is not something normal. I wonder where its getting the value from? Was the fog server ever at that address?

    If you look at the hidden fog configuration file in /opt/fog/.fogsettings do you see that IP address in there?

    What is the output of this command ip addr show

    Just so I’m clear, where are you seeing the ip address of displayed? Is it on the target computer, FOG server web ui, some place else?