• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG installation issue - IP and router settings

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    5
    1.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kovals
      last edited by

      Hi All,

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

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

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        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 192.168.122.1 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 192.168.122.1 displayed? Is it on the target computer, FOG server web ui, some place else?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • K
          kovals
          last edited by kovals

          IP ADDR SHOW:

          [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 127.0.0.1/8 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 192.168.64.153/24 brd 192.168.64.255 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 192.168.122.1/24 brd 192.168.122.255 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…

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @kovals
            last edited by

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

            virbr0

            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 192.168.122.1 to the proper IP address. Those steps are outlined here for FOG 1.3.0: https://wiki.fogproject.org/wiki/index.php/Change_FOG_Server_IP_Address

            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.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • K
              kovals
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              146

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project