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

    How to define odd and even IP address in CIDR(solved)

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    3
    2.8k
    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.
    • 9
      955xbk
      last edited by

      2.0betaAMD64 built on 12/18/2010

      I have 2 WAN 1 LAN, i don do load balance due to some security website and online games issue

      i want to use odd number IP address like 192.168.0.1, 192 168.0.3 192.168.0.5….. to go WAN1

      even number IP address like 192.168.0.2, 192.168.0.4, 192.168.0.6.... to go WAN2

      how to define in CIDR?

      there is 192.168.0.1/255.255.255.1 for odd number IP address(my old router setting)

      192.168.0.0/255.255.255.1 for even number IP address(my old router setting)

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        I don't think you can.  While I believe a non-contiguous subnet is theoretically allowed by the RFCs, I've never heard of a TCP stack that implements it.  Find a different solution :)

        1 Reply Last reply Reply Quote 0
        • 9
          955xbk
          last edited by

          well load balancer is the only choice to make both WAN to run.

          in server listening port : wich port?

          in server IP address :  what i have to fill in? wan ip?

          after that just add to pool enable and save it?

          no need to do anything in firewall rules?

          I am newbie in pf2.0, look confusing in setting.

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