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

    Multi-Static IP configuration using bridged Hitron

    Scheduled Pinned Locked Moved General pfSense Questions
    26 Posts 4 Posters 3.6k 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.
    • NogBadTheBadN
      NogBadTheBad
      last edited by

      @JKnott:

      You'll need to NAT.

      Why??  If he has enough addresses in his subnet, there's absolutely no reason to use NAT and reasons why not to use it.  He has 6 addresses available and no more than 5 devices.

      The address space he wants to use is sat on the WAN side of pfSense, the WAN interface has a /29 subnet mask.

      If you NAT the public IP address to a private one you can control what services can hit the end device.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

        @NogBadTheBad:

        @JKnott:

        You'll need to NAT.

        Why??  If he has enough addresses in his subnet, there's absolutely no reason to use NAT and reasons why not to use it.  He has 6 addresses available and no more than 5 devices.

        The address space he wants to use is sat on the WAN side of pfSense, the WAN interface has a /29 subnet mask.

        If you NAT the public IP address to a private one you can control what services can hit the end device.

        He said:

        My assigned address block is 62.x.x.176-183

        That means he has a block of 8 addresses, 6 usable.  A /29 mask means 8 addresses.  The ISP will route traffic for his addresses to his WAN interface and pfSense will filter appropriately.  This is basic networking.  Bottom line, addresses in this 62.x.x.176 /29 subnet is what pfSense had to deal with.  This is not the same as where someone has a single IPv4 address that has to be shared via NAT.

        It amazes me how much people's thinking has been poisoned by NAT being used so much, to the point they fail to understand how things really work.  NAT is a hack to get around the IPv4 address shortage and nothing more.

        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
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          @JKnott:

          @NogBadTheBad:

          @JKnott:

          You'll need to NAT.

          Why??  If he has enough addresses in his subnet, there's absolutely no reason to use NAT and reasons why not to use it.  He has 6 addresses available and no more than 5 devices.

          The address space he wants to use is sat on the WAN side of pfSense, the WAN interface has a /29 subnet mask.

          If you NAT the public IP address to a private one you can control what services can hit the end device.

          He said:

          My assigned address block is 62.x.x.176-183

          That means he has a block of 8 addresses, 6 usable.  A /29 mask means 8 addresses.  The ISP will route traffic for his addresses to his WAN interface and pfSense will filter appropriately.  This is basic networking.  Bottom line, addresses in this 62.x.x.176 /29 subnet is what pfSense had to deal with.  This is not the same as where someone has a single IPv4 address that has to be shared via NAT.

          It amazes me how much people's thinking has been poisoned by NAT being used so much, to the point they fail to understand how things really work.  NAT is a hack to get around the IPv4 address shortage and nothing more.

          So explain where this host is going to sit if he want's it to be accessible via a public IP address ?

          He also mentioned "Yes, that's the subnet mask on the WAN interface."

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            The piece of information missing here is where is this IP block terminated, in other words what is the target IP address for this /29 block. It looks very much like it's terminated at the ISP router but it's not completely clear. If it was routed to his pfSense he could just use that block on his LAN/OPTx network. If not and his ISP can't/doesn't want to change the arrangement then there is no other option than to use VIPs and NAT.

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

              How is this any different from what I do on IPv6?  I get a /56 prefix from my ISP.  PfSense filters it according to the rules and can even split that /56 into multiple /64s on various interfaces.  This is exactly the same thing, other than the much smaller address space.  His ISP delivers 62.x.x.176 /29 to him.  PfSense then passes those addresses onto the LAN, without NAT and without even routing.  All it has to do is filter the traffic.  Just imaging him directly connecting his network to the ISP, without pfSense.  Those addresses would be available to use as is.  PfSense, as a firewall, simply protects his network, without having to do any NAT or even routing.  As he mentioned, his modem is in bridge mode, with the /29 provided to him.

              While I don't know the specific capabilities pfSense has in this regard, pass through firewalls, that do not do NAT or route are common in businesses, in exactly the same situation as the OP has.  That is filter the traffic and do nothing else.

              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
              • NogBadTheBadN
                NogBadTheBad
                last edited by

                @JKnott:

                How is this any different from what I do on IPv6?  I get a /56 prefix from my ISP.

                He's just got a single IPv4 subnet from his ISP and the /29 is allocated to his WAN interface, so there's no choice other than to NAT public to private.

                Check out page 220 of the pfSense book, the Example Single IP Address 1:1 Configuration section.

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                1 Reply Last reply Reply Quote 0
                • K
                  kpa
                  last edited by

                  I quote what he wrote in his first message:

                  My assigned address block is 62.x.x.176-183. The Hitron router is sat on .177, leaving .178-183 as my usable address space

                  That's the "LAN" side of his Hitron router and that alone tells me that his ISP is not forwarding the /29 any further and the block is in fact terminated at the Hitron.

                  Just because you're given a subnet doesn't mean that your ISP is doing the right thing and forwarding the block to your own router, they will more often than not just give you their own router configured exactly as this Hitron here.

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

                    @kpa:

                    The piece of information missing here is where is this IP block terminated, in other words what is the target IP address for this /29 block. It looks very much like it's terminated at the ISP router but it's not completely clear. If it was routed to his pfSense he could just use that block on his LAN/OPTx network. If not and his ISP can't/doesn't want to change the arrangement then there is no other option than to use VIPs and NAT.

                    The OP says:

                    I've just had installed a Hitron router, currently operating in bridge mode, for my Virgin Media Business connection. My assigned address block is 62.x.x.176-183. The Hitron router is sat on .177, leaving .178-183 as my usable address space.

                    I suspect the .177 is not the router, but the ISP's gateway address.

                    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
                    • A
                      ankh
                      last edited by

                      @kpa:

                      The piece of information missing here is where is this IP block terminated, in other words what is the target IP address for this /29 block. It looks very much like it's terminated at the ISP router but it's not completely clear. If it was routed to his pfSense he could just use that block on his LAN/OPTx network. If not and his ISP can't/doesn't want to change the arrangement then there is no other option than to use VIPs and NAT.

                      I'm away from the hardware in question, so this is from memory, but…

                      The Hitron router uses a GRE tunnel to route traffic from itself to what I believe is the Virgin Media data centre. The target IP address is, I think 62.x.x.176 (at the far end of the tunnel), with the Hitron sat on .177.

                      .178-182 are my 5 IP address I've been allocated and .183 would be the broadcast address, as mentioned above. I don't know if this gives you any useful info. There's a mini-thread discussing the setup here http://community.virginmedia.com/t5/QuickStart-set-up-and/Configuring-5x-Static-IP-s/td-p/3355880

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

                        @kpa:

                        I quote what he wrote in his first message:

                        My assigned address block is 62.x.x.176-183. The Hitron router is sat on .177, leaving .178-183 as my usable address space

                        That's the "LAN" side of his Hitron router and that alone tells me that his ISP is not forwarding the /29 any further and the block is in fact terminated at the Hitron.

                        Just because you're given a subnet doesn't mean that your ISP is doing the right thing and forwarding the block to your own router, they will more often than not just give you their own router configured exactly as this Hitron here.

                        What the OP could do is check the MAC address for that .177 address.  If it doesn't match the sticker on the modem, it's the ISPs router.

                        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
                          last edited by

                          The target IP address is, I think .62.x.x.176 (at the far end of the tunnel), with the Hitron sat on .177.

                          What address do they give you for your default route?

                          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
                          • NogBadTheBadN
                            NogBadTheBad
                            last edited by

                            https://www.virginmediabusiness.co.uk/help-and-advice/products-and-services/hitron-router-guide/dynamic-modem-only-mode-user-guide/

                            They state that once in modem mode only 1 network port will work at a time.

                            Andy

                            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                            1 Reply Last reply Reply Quote 0
                            • A
                              ankh
                              last edited by

                              @JKnott:

                              The target IP address is, I think .62.x.x.176 (at the far end of the tunnel), with the Hitron sat on .177.

                              What address do they give you for your default route?

                              When setting up a laptop plugged into one of the Hitron LAN ports to test connectivity, they suggested an IP address of 62.x.x.178, a netmask of 255.255.255.248 and a Default GW of 62.x.x.177

                              1 Reply Last reply Reply Quote 0
                              • NogBadTheBadN
                                NogBadTheBad
                                last edited by

                                @ankh:

                                @JKnott:

                                The target IP address is, I think .62.x.x.176 (at the far end of the tunnel), with the Hitron sat on .177.

                                What address do they give you for your default route?

                                When setting up a laptop plugged into one of the Hitron LAN ports to test connectivity, they suggested an IP address of 62.x.x.178, a netmask of 255.255.255.248 and a Default GW of 62.x.x.177

                                If you do an arp -a from the laptop does the mac address of 62.x.x.177 tie in with anything marked on the Hitron ?

                                Andy

                                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                                  @NogBadTheBad:

                                  https://www.virginmediabusiness.co.uk/help-and-advice/products-and-services/hitron-router-guide/dynamic-modem-only-mode-user-guide/

                                  They state that once in modem mode only 1 network port will work at a time.

                                  I have a Hitron GCN3ACSMR, which is in bridge mode.  I can plug a 2nd device into it and get another IPv4 address, as is the norm with my ISP.  However, this has nothing to do with the issue, that is how the subnet is provided.

                                  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
                                    last edited by

                                    When setting up a laptop plugged into one of the Hitron LAN ports to test connectivity, they suggested an IP address of 62.x.x.178, a netmask of 255.255.255.248 and a Default GW of 62.x.x.177

                                    That fits in with them providing a /29 to you.  You can use any address between .178 and .183, which means pfSense only had to filter and not route or use NAT.

                                    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
                                    • A
                                      ankh
                                      last edited by

                                      @NogBadTheBad:

                                      @ankh:

                                      @JKnott:

                                      The target IP address is, I think .62.x.x.176 (at the far end of the tunnel), with the Hitron sat on .177.

                                      What address do they give you for your default route?

                                      When setting up a laptop plugged into one of the Hitron LAN ports to test connectivity, they suggested an IP address of 62.x.x.178, a netmask of 255.255.255.248 and a Default GW of 62.x.x.177

                                      If you do an arp -a from the laptop does the mac address of 62.x.x.177 tie in with anything marked on the Hitron ?

                                      Almost! arp -a lists .177 as having 1c-ab-c0-f1-26-b2, the sticker on the hitron lists the MAC address as 1c-ab-c0-f1-26-b0 (note difference in last segment).

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kpa
                                        last edited by

                                        The Hitron will have two or more network interfaces and the one in the sticker might be the MAC address of the internet facing "WAN" interface.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          ankh
                                          last edited by

                                          @kpa:

                                          The Hitron will have two or more network interfaces and the one in the sticker might be the MAC address of the internet facing "WAN" interface.

                                          The -b0 MAC address seems to be listed as the HFC (Hybrid fibre-coax) MAC address.

                                          ![vmb-ip-status - Copy.PNG](/public/imported_attachments/1/vmb-ip-status - Copy.PNG)
                                          ![vmb-ip-status - Copy.PNG_thumb](/public/imported_attachments/1/vmb-ip-status - Copy.PNG_thumb)

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