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

    Avoid deliberate IP conflicts

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    5 Posts 4 Posters 2.3k 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.
    • P
      polhallen
      last edited by

      Hi all,  I'd like understand how avoid deliberate IP conflicts.

      An example: pfsense is wan gw to 192.168.1.0/24 and with lan0 192.168.2.0/24 and IP 192.168.2.1 and dhcp server active.

      Now, I put my laptop on that network and manually I set it with 192.168.2.1 and I block the network or create problems.

      How can I resolve this situation? How avoid this problem?

      I know that Cisco has a modality to filter this circumstances.

      thanks for help

      Pol

      1 Reply Last reply Reply Quote 0
      • JailerJ
        Jailer
        last edited by

        Stop giving your laptop the same IP address as your gateway. Problem solved.

        Is there some reason you don't let the DHCP server assign it an IP?

        1 Reply Last reply Reply Quote 0
        • P
          polhallen
          last edited by

          Useless reply :)

          An example: pfsense is wan gw to 192.168.1.0/24 and with lan0 192.168.2.0/24 and IP 192.168.2.1 and dhcp server active.

          Now, a fool child customers of hotel puts the laptop on that network and manually he sets it with 192.168.2.1 and he blocks the network or create problems.

          Pol

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer
            last edited by

            Jailer's answer was quite relevant based on the information you first gave.

            Use a managed switch

            There is all kinds of pertinent information you are not sharing here which could influence anyone's answer.

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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

              So you want to stop someone from causing problem by purposely setting a dupe IP for your gateway?  Yeah use a NAC/NAP to prevent such people from getting on your network.

              I don't even have to set a dupe to cause problems, just need to flood the network with gratuitous arps pointing to the wrong mac for the IP, or answering arps very quickly with the wrong info, etc.

              There is nothing you can do on pfsense to stop this if that is your question.. Since pfsense has nothing to do with traffic that happens on the network of a specific segment it might have an interface in - it is just the gateway off that segment and yeah it can firewall traffic it sees on its that interface for somewhere else.

              On a host level you could setup static arps for your gateway or any other IPs on your network, so if someone was giving out bad info you wouldn't pay attention to it, etc.

              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
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.