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

    /30 network - This IPv4 address is the network address

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    15 Posts 5 Posters 828 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.
    • A
      admin_axx @mcury
      last edited by

      @mcury
      And where do/can I set the network?

      For the IPSec tunnel a need a Local Subnet 240/30 = network.

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

        @admin_axx set your address to .241 vs .240, .240 is the wire/network if you set an address of .241/30 you are on the .240/30 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.8, 24.11

        1 Reply Last reply Reply Quote 1
        • JKnottJ
          JKnott @mcury
          last edited by

          @mcury

          Actually, for a point to point link, even a /31 should be valid.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          M 1 Reply Last reply Reply Quote 1
          • M
            mcury Rebel Alliance @JKnott
            last edited by

            @JKnott said in /30 network - This IPv4 address is the network address:

            Actually, for a point to point link, even a /31 should be valid.

            I think only TNSR works with /31, please correct me if I'm wrong about this.
            If not, we could ask for a feature request, it will save some IPs for p2p links.

            dead on arrival, nowhere to be found.

            Bob.DigB johnpozJ JKnottJ 3 Replies Last reply Reply Quote 0
            • Bob.DigB
              Bob.Dig LAYER 8 @mcury
              last edited by Bob.Dig

              @mcury said in /30 network - This IPv4 address is the network address:

              I think only TNSR works with /31, please correct me if I'm wrong about this.

              pfSense does work too, at least with WireGuard. But no one else does, so I wouldn't do it.

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

                @mcury said in /30 network - This IPv4 address is the network address:

                it will save some IPs for p2p links.

                why would it matter if your just using rfc1918?

                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

                M 1 Reply Last reply Reply Quote 0
                • M
                  mcury Rebel Alliance @johnpoz
                  last edited by

                  @johnpoz said in /30 network - This IPv4 address is the network address:

                  why would it matter if your just using rfc1918?

                  Easier to organize..
                  I have a lot of ipsec tunnels in a hub and spoke that would be easier to manage, but yes, I don't think it's really necessary, or worth the open of a FR.

                  dead on arrival, nowhere to be found.

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

                    @mcury assign a /24 for your tunnels and that gives you 64 /30s, or use a /23 ;) that is a lot of tunnels hehehe

                    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

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      mcury Rebel Alliance @johnpoz
                      last edited by

                      @johnpoz said in /30 network - This IPv4 address is the network address:

                      assign a /24 for your tunnels and that gives you 64 /30s, or use a /23 ;)

                      you are right :) absolutely not necessary..

                      dead on arrival, nowhere to be found.

                      1 Reply Last reply Reply Quote 0
                      • JKnottJ
                        JKnott @mcury
                        last edited by

                        @mcury said in /30 network - This IPv4 address is the network address:

                        I think only TNSR works with /31

                        I don't know about pfSense, but it certainly works with Linux & Cisco. IIRC, Windows still chokes on it though. On point to point links you don't need a broadcast or network address. In fact, you can get by with as little and the interface of the link.

                        PfSense running on Qotom mini PC
                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                        UniFi AC-Lite access point

                        I haven't lost my mind. It's around here...somewhere...

                        1 Reply Last reply Reply Quote 0
                        • JKnottJ
                          JKnott @Bob.Dig
                          last edited by

                          @Bob-Dig said in /30 network - This IPv4 address is the network address:

                          But no one else does

                          Linux & Cisco do.

                          PfSense running on Qotom mini PC
                          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                          UniFi AC-Lite access point

                          I haven't lost my mind. It's around here...somewhere...

                          johnpozJ Bob.DigB 2 Replies Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @JKnott
                            last edited by

                            @JKnott /31 can make sense if you have limited amount of public IPs - but seems pretty pointless to worry about it if your using rfc1918 for them..

                            Who cares if you loose 2 IPs when you create a /30 when its rfc1918..

                            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
                            • Bob.DigB
                              Bob.Dig LAYER 8 @JKnott
                              last edited by

                              @JKnott said in /30 network - This IPv4 address is the network address:

                              Linux & Cisco do.

                              I had no luck with that on Debian but maybe I did something wrong. And I did not try elsewhere so you are most probably right. 😉

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