1 2 Previous Next 29 Replies Latest reply on Feb 27, 2012 5:06 PM by lhoong

    Strange  - Get ( SystemIPAddress)

    DrewTenenholz

      All --

       

      Why would a machine (Mac OSX 10.7) give the answer to Get ( SystemIPAddress ) as 67.215.65.132?

       

      When I check the system preferences, I get 192.168.2.200 for the ethernet card and 192.168.2.225 for the AirPort card.

       

      Nowhere in the preferences for Mac OS X or for VMWare do I see this publicly routable IP, which actually seems to belong to OpenDNS.com.

       

      Any thoughts?

       

      -- Drew Tenenholz

        • 1. Re: Strange  - Get ( SystemIPAddress)
          BruceHerbach

          Drew,

           

          This is a puzzel.  I checked my system and like you I am getting an address that doesn't really go to my system.

          My router has an address of 67.248.178.X  with a subnet mask of 255.255.224.0  In running this through a Subnet calculator with the widest possible range for the subnet mask,  I get the range of 67.248.176.1 - 67.248.191.254

           

          FileMaker reports 67.215.X.X.  Which isn't even in the range.  So it doesn't seem as thought FileMaker is getting the DHCP assigned address, which on my system is 192.168.2.11 and it's not getting my Wifi routers's address or the Internet routers's address.

           

          So I'm at a loss. Posibly it should be reported as a bug????

           

          Bruce

          • 2. Re: Strange  - Get ( SystemIPAddress)
            deninger

            I noticed that the IP's you expected are in the private domains (192.xxx.xxx.xxx). The function is probably giving you a resolved world ip. That is to say you are probablyl seeing your outside IP address (what the world sees you as). Try http://whatismyip.com and see if that matches.

            • 3. Re: Strange  - Get ( SystemIPAddress)
              BruceHerbach

              Hi

               

              At least in my example FileMaker came up with an address on a different network from the one my router is on.  Very strange.

               

              Bruce

              • 4. Re: Strange  - Get ( SystemIPAddress)
                Vaughan

                You mention VMWare: is FMP running in a virtual machine? If so then the hypervisor could be simulating a router insde the VM.

                • 5. Re: Strange  - Get ( SystemIPAddress)
                  BruceHerbach

                  I have no idea how FileMaker is getting the IPaddress.  I have two MacBook Pros on the same network.  One connect via Gigbit cable and the other connected via WiFi.  Actual system addresses are on my internal network and are 192.168.2.11 and 192.168.2.22.  On both systems (at the same time) FileMaker's Get(SystemIPAddress) reports an address of 67.215.65.132.  Which is the same address reported in the original posting.

                   

                  My Airport unit reports its internet connection/address as 67.248.X.X   with it's router being 67.248.160.1.  So the reported address isn't on the same network.  It may belong to the internet provider.

                   

                  So this is very odd.  My Airport reports that it need an update.  I'll do this and see if it changes what fileMaker reports.

                   

                  Bruce

                  • 6. Re: Strange  - Get ( SystemIPAddress)
                    BruceHerbach

                    Hi,

                     

                    Tried two things,  updated Airport and changed subnet for internal network.  Niether had any affect.  FileMaker still reports the same IP address. In this case the OS is Mac OsX 10.6.8 running on a MacBook Pro.  The system is not running VMware or Parallels at the moment.  It does have Parallels installed.

                     

                    Bruce

                    • 7. Re: Strange  - Get ( SystemIPAddress)
                      BruceHerbach

                      Well a couple more tid bits..  Tried this in a Window 2008 terminal server session, and it reports the correct address for the system. I also tried in on a Mac Mini running Snow Leopard server OS X server 10.6.8 and there it also reports the correct address.

                       

                      So this raises the question is it Hardware or OS specific?  On the two systems that came up with the 67.215.65.132 address,  they were running OS X 10.6.8 and running on MacBook Pro.  One is about a year old the other about 5 years old.

                       

                      Bruce

                      • 8. Re: Strange  - Get ( SystemIPAddress)
                        lhoong

                        Bruce,

                         

                        I also got the same result when using Get ( SystemIPAddress ) on my iMac running OS X 10.6.8. It appears that you will get the result 67.215.65.132 if you are using OpenDNS as your DNS server (check System Preferences>Network and your connection settings) for your machines. Removing OpenDNS as your DNS server restores the expected behavior when calling Get ( SystemIPAddress ). Google's DNS server does NOT result in the unexpected result, so that may be an alternative to OpenDNS.

                         

                        HTH.

                         

                        Lee.

                        =================

                        Binary Assist

                        220 Gaines Oak Way

                        Suwanee, GA 30024

                        Voice: (678) 313-5604

                        Internet: lhoong@binaryassist.com

                        Website: www.binaryassist.com

                         

                        FileMaker Certified Developer

                        • 9. Re: Strange  - Get ( SystemIPAddress)
                          lhoong

                          Additional tidbit about using the OpenDNS DNS server - it appears that all unknown domains resolve to 67.215.65.132. Details and problems encountered by this:

                           

                          http://seclists.org/fulldisclosure/2010/Jul/409

                           

                          Looks like it's time to move away from OpenDNS. Thanks to Drew Tennenholz and Bruce Herbach for bringing this to my attention via this forum.

                           

                           

                          Lee.

                           

                          =================

                          Binary Assist

                          220 Gaines Oak Way

                          Suwanee, GA 30024

                          Voice: (678) 313-5604

                          Internet: lhoong@binaryassist.com

                          Website: www.binaryassist.com

                          FileMaker Certified Developer

                          • 10. Re: Strange  - Get ( SystemIPAddress)
                            BruceHerbach

                            Hi Lee,

                             

                            I tried both my internet providers DNS and Googles,  and when I did this,  get(SystemIPAddress) returned the correct private IP address plus 2 more Private IP addresses using the 10.X.X.X range.  Not sure how it came up with the last two addresses. 

                             

                             

                            Thanks

                            Bruce

                            • 11. Re: Strange  - Get ( SystemIPAddress)
                              lhoong

                              Hi Bruce,

                               

                              I have those too. Do you have a virtual machine (e.g. Parallels) installed? Those IP addresses are added by the virtual machine to the route network traffic to your gateway.

                               

                              Lee.

                              =================

                              Binary Assist

                              220 Gaines Oak Way

                              Suwanee, GA 30024

                              Voice: (678) 313-5604

                              Internet: lhoong@binaryassist.com

                              Website: www.binaryassist.com

                               

                              FileMaker Certified Developer

                              • 12. Re: Strange  - Get ( SystemIPAddress)
                                MicheleOlson

                                Bruce & Lee,

                                 

                                I, too, show three local IP addresses and I have Parallels Desktop installed, but not running at the moment.

                                 

                                Within Parallels, I have two Virtual Machines: Windows 7 and Windows XP.

                                 

                                My guess is Parallels has claimed those addresses for the virtual machines.

                                 

                                Michele

                                • 13. Re: Strange  - Get ( SystemIPAddress)
                                  lhoong

                                  Michele,

                                   

                                  Yes, Parallels doesn't have to be actively running - the IPs are added to the routing table when the Mac boots. This is captured in the system logs, accessible via the Console app.

                                   

                                  Lee.

                                  =================

                                  Binary Assist

                                  220 Gaines Oak Way

                                  Suwanee, GA 30024

                                  Voice: (678) 313-5604

                                  Internet: lhoong@binaryassist.com

                                  Website: www.binaryassist.com

                                   

                                  FileMaker Certified Developer

                                  • 14. Re: Strange  - Get ( SystemIPAddress)
                                    MicheleOlson

                                    Thanks, Lee.

                                     

                                    My *guess* was good and you added more information as well. Now I know when they are *claimed*.

                                     

                                    Michele

                                    1 2 Previous Next