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

    PfSense can ping all but one specific IP address in range

    Scheduled Pinned Locked Moved General pfSense Questions
    40 Posts 6 Posters 11.1k Views
    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.
    • E
      eeverglades
      last edited by

      Hi Steve,

      Yes, all machines in the range can ping the VM in the sandbox.

      No, the pfSense has been in production for over 1 year.

      I'm not an network expert, since it's almost 10 years since i've studied ARP etc., and have forgotten all about it.

      I've tryed different IP's for static mapping to the VM in the sandbox, and all the servers can find the VM right away. But pfSense won't.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        @eeverglades:

        I've tryed different IP's for static mapping to the VM in the sandbox, and all the servers can find the VM right away. But pfSense won't.

        I think if you want more specific help you will need to provide much more detail on your configuration. In particular, how pfSense is supposed to communicate with the "problem" VM. I don't know vSphere but I consider it suspicious that your previously posted vSphere configuration screenshot doesn't show the problem VM on the same VLAN as the pfSense x.x.x.254 interface.

        1 Reply Last reply Reply Quote 0
        • E
          eeverglades
          last edited by

          Ok, i've tryed to make a drawing using paint (yes good old paint :) )

          Does this give you guys any possible soulutions or ideas for tools for problemsolving?

          drawing1.png
          drawing1.png_thumb

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm. I would try creating a different server in the sandbox and see if the results are any different.

            You haven't shown any VLANs on the diagram, I assume everything there is in the same VLAN?

            Check the MAC of the sandbox server against the real NIC and anything else in the chain. .20 .22 and .15 are presumably using the same physical NIC. There may be more than one device using the same MAC which is causing pfSense a problem. Do you have any other FreeBSD boxes to test with?

            Steve

            1 Reply Last reply Reply Quote 0
            • R
              rakeshvijayan
              last edited by

              FORM YOU PICTURE SHOW THAT YOU CONFIGURED IPS IN SAME RANGE NO NATING IS DOING THERE . MY SUGGESTION IS  TRY TO REMOVE  THE TICK FROM  Block private networks  Block bogon networks FROM THE INTERFACE . THIS MAY SOLVE YOU PROBLEM

              1 Reply Last reply Reply Quote 0
              • E
                eeverglades
                last edited by

                Been on a long weekend vacation…...

                Rake, good suggestion, but unfortunately the boxes are unticked :(

                Stephen, the MAC's of the sandbox proxy and real NIC are different.

                I have checked the ARP table on the pfSense, and the IP of the sandbox proxy is in the table, although the IP of the VM in the sandbox is not.

                Note: I am NOT able to ping the ip of the sandbox proxy from the pfSense firewall either. All other servers in the range can ping the sandbox proxy IP.

                I am ever so close to jumping out the window (don't worry, only a 2 feet drop). This problem is just not logical.........

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  So if pfsense is not on the same segment??

                  The firewall is the one called 254.domain.lan.
                  A server is the one called 102.domain.lan.
                  102 can ping VM, but 254 can not.

                  As mentioned above by wallabybob where is this 88.15 box connected to that vswitch?  If that vswitch is the 192.168.88.0/24 ??

                  Show us this box your trying to ping on your vsphere setup.  And its ipconfig /all – I am guessing its a windows box?

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • E
                    eeverglades
                    last edited by

                    Hi John,

                    thank you for joining.

                    If you check the drawing I made on top of page 2 in this tread, you might get the overview you need.

                    The sandbox proxy is created by the backupserver, and is a linux as far as I know. I have no linux experience.

                    Let me know if there is any other info you might need.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      You didn't say whether you have any other FreeBSD machines on your network?
                      One possibility is that FreeBSD, and hence pfSense, adhere strictly to the rules regarding IPs, routing, subnets etc. Other OSs not so much. Hence it's possible to have a setup that works from Windows and not FreeBSD.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • E
                        eeverglades
                        last edited by

                        No, there are no other FreeBSD machines in that IP range. So maybe this could be relevant. You have any suggestions as to how I might check this? A complete novice with FreeBSD.

                        I will just point out once more that pfSense can ping the backup server at .20 and all other machines in the range. Only the proxy/VM are 'unpingable'

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          What do you mean by proxy for sandbox?  is that just another esxi host?  Or other vm, then show us its vwswitch setup, like you did with the esxi host containing the pfsense and 102 VMs

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            @eeverglades:

                            You have any suggestions as to how I might check this?

                            No not really. You could setup a FreeBSD (or some derivative of it) machine and see how that behaves but that's not a quick and easy test. To be honest I doubt that this is the cause but I thought I'd mention it since we seem to be running out of options. The only time I've heard of it was a Windows box that was using a gateway outside of its subnet something that pfSense refused to do in the same situation.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              can we see the ipconfig /all from the 102 box that you say can ping this 88.15 box

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • E
                                eeverglades
                                last edited by

                                To Johnpoz (the ipconfig /all of the 102, which can ping VM):

                                Ethernet adapter DOMAIN.LAN:

                                Connection-specific DNS Suffix  . :
                                  Description . . . . . . . . . . . : Broadcom BCM5716C NetXtreme II GigE (NDIS
                                VBD Client) #36
                                  Physical Address. . . . . . . . . : 78-2B-CB-49-76-5F
                                  DHCP Enabled. . . . . . . . . . . : No
                                  Autoconfiguration Enabled . . . . : Yes
                                  Link-local IPv6 Address . . . . . : fe80::31dd:2adc:9c3a:9b1e%13(Preferred)
                                  IPv4 Address. . . . . . . . . . . : 192.168.88.10(Preferred)
                                  Subnet Mask . . . . . . . . . . . : 255.255.255.0
                                  Default Gateway . . . . . . . . . : 192.168.88.254
                                  DHCPv6 IAID . . . . . . . . . . . : 309865419
                                  DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-C8-11-52-78-2B-CB-49-76-60

                                The default gateway is the pfSense, and all this works perfectly. The pfSense can also ping 102.

                                The proxy for the sandbox is created by the backupserver, and is not part of the VMWare enviroment. Please view drawing on top of tread page 2.

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  I expected the above to show 192.168.88.102 not .10 is that just a typo?

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    eeverglades
                                    last edited by

                                    Hi Steve,

                                    you are absoluty right. Wrong server ipconfig. This is the config for 102:
                                    Ethernet adapter Domain.lan:

                                    Connection-specific DNS Suffix  . :
                                      Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #
                                    2
                                      Physical Address. . . . . . . . . : 00-50-56-96-42-07
                                      DHCP Enabled. . . . . . . . . . . : No
                                      Autoconfiguration Enabled . . . . : Yes
                                      Link-local IPv6 Address . . . . . : fe80::c52d:5bbd:1909:a310%14(Preferred)
                                      IPv4 Address. . . . . . . . . . . : 192.168.88.102(Preferred)
                                      Subnet Mask . . . . . . . . . . . : 255.255.255.0
                                      Default Gateway . . . . . . . . . : 192.168.88.254
                                      DHCPv6 IAID . . . . . . . . . . . : 318787670
                                      DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-36-15-5A-00-50-56-96-42-06

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by

                                      I saw your paint drawing.. And it makes no sense to what you mean by Proxy??

                                      What proxy software?  Do you mean its doing NAT?  How does it proxy?

                                      If you saying 88.102 can talk to 88.15 how does it do it via the proxy?

                                      From your drawing there is no difference between the interface connected to the vswitch for your 88.102 box and pfsense at 88.102

                                      Ok just took a look real quick!!

                                      http://www.veeam.com/vmware-esx-backup.html

                                      And its doing NAT into your sandbox, clearly states the stuff in the sandbox are isolated and you connect to them via a masqueraded IP

                                      http://forums.veeam.com/viewtopic.php?f=24&t=9329&start=15#p40131
                                      Q: How is it possible to access temporary VMs in the isolated network from production network, if VMs in both networks have the same IP addresses?
                                      A: Each temporary VM is assigned so called "masquerade address" from selected masquerade network (part of virtual lab settings). Routing table on Veeam Backup server is automatically updated, and proxy appliance IP address in the production network is assigned as gateway for masquerade network. Acting as gateway, the proxy appliance performs address translation and substitutes masquerade IP address with real IP address in the isolated network. Although this sounds pretty complex, all happens transparently for you as a user.

                                      So what was the NAT setup you created when you installed this veem backup - it says you create that scheme when you setup.

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        eeverglades
                                        last edited by

                                        Yes, correct. The masqrade IP range isolates the enviroment in the sandbox from production, and the masqrade IP range is only accessible from the Veeam server itself. In my case the masqrade range is 188.x.

                                        I have a server .88.101 in production. I then recreate this server in the sandbox, which means it gets the masqrade IP of 188.101 to the world outside of the sandbox.

                                        To be able to access the VM which is created in the sandbox from the production enviroment, you can map an unused IP adress in the production through to a VM in the Isolated enviroment.

                                        Ergo I have mapped IP 88.15 in production to 88.101 in sandbox, which means that when I try to ping 88.15, I am actually trying to reach the VM in the sandbox, which has an IP of 88.101.

                                        Hope you understanding my attempt at explaining.

                                        To sum up the pinging status:
                                        pfSense: .88.254
                                        production server 102: .88.102
                                        Veeam server: .88.20
                                        Proxy gateway 'inside' of veeam server: .88.22
                                        Masqrade IP for VM in sandbox: .188.101
                                        Production IP for VM in sandbox: .88.15

                                        source:     Dest:          Result:
                                        .88.20       .188.101      OK       (Veeam server is only server to be able to ping masqrade IP, since it is the only server that knows of the .188.x IP range)
                                        .88.102     .88.22          OK      (server 102 can ping proxy gw)
                                        .88.102     .88.15          OK      (server 102 can ping VM in sandbox)
                                        .88.254     .88.20          OK      (pfSense can ping Veeam server)
                                        .88.254     .88.22          NEG    (pfSense can NOT ping proxy)
                                        .88.254    .88.16          NEG    (pfSense can NOT ping VM in sandbox)

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by

                                          So from a quick breeze over of the UG for the veem backup 6.5, I don't think your understanding how it works to be honest.

                                          So these labs or how you call them sandboxes?  Are created on VM HOST, so your saying in your drawing that this esx host is your backup server?

                                          Or is the LAB(sandbox) on your same ESXi host as your pfsense box?  Or s different host?

                                          While I agree your never going to get to this isolated VM in your lab/sandbox if you can not talk to the proxy - understanding your environment is a requirement in helping you find your problem.

                                          –
                                          44 | Veeam Backup & Replication | VMware Environments | USER GUIDE | REV 5

                                          To enable communication between the outer world and VMs in the virtual lab, Veeam Backup & Replication uses a proxy appliance that is created and registered in the folder and resource pool of the virtual lab. The proxy appliance is a VM that acts as a gateway routing requests from the production network to the isolated network.
                                          To connect to isolated networks, Veeam Backup & Replication adds to the proxy appliance a vNIC adapter for each network. Each vNIC adapter gets an IP address from the network to which it is connected, which is typically the same as the IP address of a default gateway in the corresponding production network.
                                          –

                                          So from this above statement - and your pic of your vswitch, where was this proxy/router VM connected to the vswitch that your pfsense 88.254 interface connected?  If you proxy VM and sandbox are on a different ESX host, lets see the vswitch setup there where you proxy and VM in your lab is connected.

                                          so if you have

                                          esxi host (production) <88.3> --- 192.168.88.0/24 --- <88.20> other esxi host (veem backup with labs and vms)

                                          Lets see the vm network from this other esxi host with the 88.20 address in your real world physical network.

                                          lab.jpg
                                          lab.jpg_thumb
                                          vmlabproxy.jpg
                                          vmlabproxy.jpg_thumb

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Whilst this is clearly quite complex it doesn't really explain why a VM in the same host as the pfSense VM is able to reach the server VM in the lab/sandbox whilst pfSense is not.
                                            However there must be a load of settings that could be wrong or at least not what you thought they were. Why is it not responding to ARP requests from the pfSense box? I would seem that the proxy is either not responding or sending responses to wrong place.
                                            Perhaps because the pfSense box is at the end of the IP range, .254.  :-\

                                            Steve

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