• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Unable to update servers

General pfSense Questions
3
14
1.5k
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.
  • V
    viragomann @Misinthe
    last edited by Dec 18, 2021, 10:09 AM

    @misinthe
    Seems the server cannot resolve host names.
    I assume, pfSense acts as your DNS server. So is the Proxmox servers DNS client configured properly to use it?

    1 Reply Last reply Reply Quote 0
    • P
      Patch @Misinthe
      last edited by Patch Dec 18, 2021, 10:54 AM Dec 18, 2021, 10:51 AM

      @misinthe said in Unable to update servers:

      does anyone know what could the issue be?

      If running Proxmox 7.1 with pfsense running as a VM so when Proxmox boots there is no DHCP, DNS, gateway to the internet:

      1. Leave the IP address of Proxmox set in Proxmox
      2. Add a DHCP entry in your DHCP server to set the IP address of Proxmox to the same value set in 1. above

      See See https://forum.proxmox.com/threads/host-network-access-lost-after-proxmox-upgrade-7-0-to-7-1-router-vm-with-pass-through-nic.100091/#post-435007

      M 1 Reply Last reply Dec 18, 2021, 6:49 PM Reply Quote 0
      • M
        Misinthe @Patch
        last edited by Dec 18, 2021, 6:49 PM

        @patch said in Unable to update servers:

        @misinthe said in Unable to update servers:

        does anyone know what could the issue be?

        If running Proxmox 7.1 with pfsense running as a VM so when Proxmox boots there is no DHCP, DNS, gateway to the internet:

        1. Leave the IP address of Proxmox set in Proxmox
        2. Add a DHCP entry in your DHCP server to set the IP address of Proxmox to the same value set in 1. above

        See See https://forum.proxmox.com/threads/host-network-access-lost-after-proxmox-upgrade-7-0-to-7-1-router-vm-with-pass-through-nic.100091/#post-435007

        So I have a link aggregation running on Proxmox, I already set up the manual IP and Gateway, how do I set up the DNS server?
        🔒 Log in to view

        V P 2 Replies Last reply Dec 18, 2021, 7:54 PM Reply Quote 0
        • V
          viragomann @Misinthe
          last edited by Dec 18, 2021, 7:54 PM

          @misinthe
          You can simply set it in the web GUI:
          🔒 Log in to view

          or edit /etc/resolv.conf

          M 1 Reply Last reply Dec 18, 2021, 8:17 PM Reply Quote 0
          • M
            Misinthe @viragomann
            last edited by Dec 18, 2021, 8:17 PM

            @viragomann said in Unable to update servers:

            @misinthe
            You can simply set it in the web GUI:
            🔒 Log in to view

            or edit /etc/resolv.conf

            alt text

            So, I did it the hard way, I did this in my test proxmox on my DMZ because I didn't want to be playing with Production until I'm sure what the issue is. It, still didn't work, here are my settings.

            🔒 Log in to view

            🔒 Log in to view

            🔒 Log in to view

            V 1 Reply Last reply Dec 18, 2021, 8:46 PM Reply Quote 0
            • V
              viragomann @Misinthe
              last edited by Dec 18, 2021, 8:46 PM

              @misinthe
              Is the DNS access allowed on pfSense??

              If it is check with dig if you can resolve anything.

              M 1 Reply Last reply Dec 18, 2021, 10:48 PM Reply Quote 0
              • M
                Misinthe @viragomann
                last edited by Dec 18, 2021, 10:48 PM

                @viragomann I have the DNS Resolver on, and the rules on the Firewall to allow port 53 towards 127.0.0.1, I'm not sure what else to check. As for the Dig, it comes up with this.

                🔒 Log in to view

                V 1 Reply Last reply Dec 18, 2021, 11:32 PM Reply Quote 0
                • V
                  viragomann @Misinthe
                  last edited by Dec 18, 2021, 11:32 PM

                  @misinthe
                  So you've changed the network settings in Proxmox, removed the bond and use a single network port in vmbr0?

                  And you have a pfSense interface connected to this bridge and configured properly? And you have opened port 53 for UDP/TCP packets?
                  Can you ping the pfSense IP at all? Ensure to allow it.

                  M 1 Reply Last reply Dec 18, 2021, 11:45 PM Reply Quote 0
                  • M
                    Misinthe @viragomann
                    last edited by Dec 18, 2021, 11:45 PM

                    @viragomann said in Unable to update servers:

                    @misinthe
                    So you've changed the network settings in Proxmox, removed the bond and use a single network port in vmbr0?

                    And you have a pfSense interface connected to this bridge and configured properly? And you have opened port 53 for UDP/TCP packets?
                    Can you ping the pfSense IP at all? Ensure to allow it.

                    On the test server I don't have a bond, it's just 1 connection from the PfSense VM to the Host, so there's only 1 connection on vmbr0.

                    This is the network config.
                    🔒 Log in to view

                    This is the DNS on Proxmox.
                    🔒 Log in to view

                    This is my NAT Forwarding
                    🔒 Log in to view

                    And I have this Rule on the OPT1 Firewall
                    🔒 Log in to view

                    1 Reply Last reply Reply Quote 0
                    • P
                      Patch @Misinthe
                      last edited by Dec 18, 2021, 11:59 PM

                      @misinthe said in Unable to update servers:

                      So I have a link aggregation running on Proxmox, I already set up the manual IP and Gateway, how do I set up the DNS server

                      For Proxmox 7.1 for me to be able to ping the hypervisor and for the hypervisor to be able to download updates, the work around I have used is

                      1. Leave the Hypervisor IP address set to a fixed value in Proxmox. This is normally set during Proxmox installation but can be changed by Proxmox -> Datacentre -> <pve> -> Network -> vmbr0 -> Edit -> IPv4/CIDR.

                      2. In pfsense set a static IPv4 address for Proxmox. Login to pfsense -> Services -> DHCP Server -> Select the interface you access Proxmox from -> Scroll to the bottom of the page to "DHCP Static Mappings for this Interface" -> Add -> enter Proxmox IPv4 address and it's mac address.

                      Step 1 is a normal requirement. Step 2 is a work around for Proxmox 7.1 running the networks router (which means when Proxmox boots there is no DHCP server, DNS, or gateway to the Internet). There are probably other ways of working around this issue, which I would prefer as I don't like programs interacting like this. However I'm using this work around until a better solution is found. Btw I pass through all NIC pfsense uses however when making a pfsense VM without pass through made no difference the this behavior.

                      M 1 Reply Last reply Dec 19, 2021, 3:58 AM Reply Quote 0
                      • M
                        Misinthe @Patch
                        last edited by Dec 19, 2021, 3:58 AM

                        @patch said in Unable to update servers:

                        @misinthe said in Unable to update servers:

                        So I have a link aggregation running on Proxmox, I already set up the manual IP and Gateway, how do I set up the DNS server

                        For Proxmox 7.1 for me to be able to ping the hypervisor and for the hypervisor to be able to download updates, the work around I have used is

                        1. Leave the Hypervisor IP address set to a fixed value in Proxmox. This is normally set during Proxmox installation but can be changed by Proxmox -> Datacentre -> <pve> -> Network -> vmbr0 -> Edit -> IPv4/CIDR.

                        2. In pfsense set a static IPv4 address for Proxmox. Login to pfsense -> Services -> DHCP Server -> Select the interface you access Proxmox from -> Scroll to the bottom of the page to "DHCP Static Mappings for this Interface" -> Add -> enter Proxmox IPv4 address and it's mac address.

                        Step 1 is a normal requirement. Step 2 is a work around for Proxmox 7.1 running the networks router (which means when Proxmox boots there is no DHCP server, DNS, or gateway to the Internet). There are probably other ways of working around this issue, which I would prefer as I don't like programs interacting like this. However I'm using this work around until a better solution is found. Btw I pass through all NIC pfsense uses however when making a pfsense VM without pass through made no difference the this behavior.

                        Thank you for the reply, that's one more step closer! Sadly, it did not fix my issue. I also spun up a VM in that host to see how the IP looked, and this is what I get. I'm not sure what that virbr0 connection is all about but it's getting a 192.168.0.0/24 instead of the 10.30.0.0/24

                        🔒 Log in to view

                        P 1 Reply Last reply Dec 19, 2021, 4:18 AM Reply Quote 0
                        • P
                          Patch @Misinthe
                          last edited by Dec 19, 2021, 4:18 AM

                          @misinthe
                          in a Proxmox console try

                          systemctl restart networking
                          

                          Doing so also fixes Proxmox networking for me but corrupts

                          reboot
                          

                          But if you have a physical console connected to Proxmox you can get and idea of what is happening and after reboot is done a few times it seams to settle down again until the next change to network configuration involving Proxmox.

                          M 1 Reply Last reply Dec 19, 2021, 4:25 AM Reply Quote 0
                          • M
                            Misinthe @Patch
                            last edited by Dec 19, 2021, 4:25 AM

                            @patch said in Unable to update servers:

                            @misinthe
                            in a Proxmox console try

                            systemctl restart networking
                            

                            Doing so also fixes Proxmox networking for me but corrupts

                            reboot
                            

                            But if you have a physical console connected to Proxmox you can get and idea of what is happening and after reboot is done a few times it seams to settle down again until the next change to network configuration involving Proxmox.

                            I was messing around on PfSense, trying the network to get the DNS server. And now I got a different error when trying the apt-get update.

                            🔒 Log in to view

                            I will try the restart networking in the morning. Appreciate all the help.

                            1 Reply Last reply Reply Quote 0
                            11 out of 14
                            • First post
                              11/14
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.