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

IP address issue

Scheduled Pinned Locked Moved General pfSense Questions
17 Posts 4 Posters 2.7k 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.
  • D
    d4t4str34m
    last edited by Sep 27, 2016, 7:53 PM

    Attached is the output to ifconfig. The numbers 10.0.0.230, 10.0.0.232, and 10.0.0.234 will not get out. The only thing that I see in common are that they are Apple servers. I can give it a different address like 10.0.190.242 and it will get out just fine. I have a Windows server that has 10.0.0.241 and it works just fine.

    If I statically assign that 230 address to a Windows machine it won't work either. I have also tried setting up the 230 address in DHCP as a reserve for that server instead of being statically assigned at the machine so I made sure it was getting all of the other network settings like other machines and it still doesn't work.

    network.txt

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Sep 27, 2016, 8:31 PM

      Are you sure there isn't an IP conflict with .230?  Change the .230 box to something else and then try to ping .230, or delete its entry from the ARP table and then check it in a minute or so to see if a different MAC appears with .230.  Usually client connectivity is one of the easiest things to get working right out of the box.  What happens if you statically configure the client NIC as follows:

      IP: 10.0.0.230
      Mask: 255.255.255.0
      Gateway: 10.0.0.254
      DNS: 8.8.8.8

      1 Reply Last reply Reply Quote 0
      • D
        Derelict LAYER 8 Netgate
        last edited by Sep 27, 2016, 10:38 PM

        Loves me some 10.0.0.0/8.

        Running anything like snort/suricata?

        Anything in the firewall log for .230 when you try to get out?

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Sep 28, 2016, 10:08 AM

          Well if pfsense interface is with a /8 mask, how would setting the client to /24 work??

          What happens if you statically configure the client NIC as follows:

          IP: 10.0.0.230
          Mask: 255.255.255.0
          Gateway: 10.0.0.254
          DNS: 8.8.8.8

          So you have 2 interfaces en0 and en1 - en1 looks down, but you sure its not trying to use that and not your en0 that has the IP and is connected?

          So your saying it gets an IP via dhcp, but does not work with it?  Can pfsense see that mac in in its arp table, can the apple server see the mac of pfsense interface in that network.  Do these match up.. As mentioned duplicate IP can cause you problems for sure.

          Again, going to stress this use of a /8 on a network other than a summary route in a router is completely borked!!!  Maybe your apple server says - what a /8 mask - that makes no sense.. Whoever setting me up is completely clueless.  I will just not work until I get a realistic mask for a interface..  /8 masks routes, ok, firewall rules sure.  Interfaces for hosts in a network - no not so much.  Makes no sense to use such a network..

          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.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • K
            KOM
            last edited by Sep 28, 2016, 1:17 PM

            Well if pfsense interface is with a /8 mask, how would setting the client to /24 work??

            What does one have to do with the other, as long as they can see each other?  The client doesn't need to see all of his massive network just to test connectivity with the gateway.  And like you said after perhaps there is some weird Apple thing going on that is choking on the /8.

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Sep 28, 2016, 1:21 PM

              Setting the mask to /24 as long as that network includes the actual gateway IP in the same mask ok that is a good point.  But not normal troubleshooting technique ;)  But guess it would reflect on some ODD issue with apple not liking a /8 without changing the whole network.

              I would like to know it gets dhcp or not, and it works with that?  If so then really points to a conflict with the IPs that are not working.

              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.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • D
                Derelict LAYER 8 Netgate
                last edited by Sep 28, 2016, 3:04 PM

                Because one side's broadcast address would be 10.255.255.255 and the other side would be 10.0.0.255.

                Strange things can break in strange ways when you do that. Pick a subnet mask for the interface and stick with it.

                There are a couple good reasons not to use 10/8 but it should work fine.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • K
                  KOM
                  last edited by Sep 28, 2016, 3:15 PM

                  Just to be clear, I'm not advocating running with mismatched subnet masks in general.  It was just to do a quick test while ruling something out without him having to change his network.

                  1 Reply Last reply Reply Quote 0
                  • D
                    d4t4str34m
                    last edited by Dec 7, 2016, 9:33 PM

                    Sorry I haven't gotten back and worked on this issue. I haven't been using those servers to the point they needed an outside connection. I worked on it today and ended up setting a Virtual IP for those IP addresses and they started working. I must have halfway did the mapping to the IP addresses? Just wanted to update you guys on what I did to fix it. Thanks for you help.

                    1 Reply Last reply Reply Quote 0
                    • K
                      KOM
                      last edited by Dec 7, 2016, 9:56 PM

                      You can create a NAT with anything you want as the Destination address, but pfSense has to know to listen for it.  It automatically knows to listen on the WAN IP.  All others must be explicitly set via Virtual IP.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received