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

    Public IP for device on LAN

    Scheduled Pinned Locked Moved DHCP and DNS
    14 Posts 3 Posters 1.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.
    • S
      stijnrosaer
      last edited by stijnrosaer

      At home i have a decoder that provides TV, TV on demand and playback options. This decoder has 2 mac-addresses. one should get an internal 192.168.1.* IP address, the other should get one from my ISP's DHCP (10.201..). Is there any way that i could achieve this?
      The only big struggle I have is that there is no direct connection between the to the decoder and no managed switches.

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • R
        renat_kaa
        last edited by

        It is quite a strange configuration. Is it plex server?

        1 Reply Last reply Reply Quote 0
        • S
          stijnrosaer
          last edited by

          No it is a digicorder delivered by my ISP for digital television

          1 Reply Last reply Reply Quote 0
          • R
            renat_kaa
            last edited by

            I see. So, if your ISP provides one cable only you have to put the box near your pfsense and connect ISP, pfsense WAN and TV box WAN port with unmanaged switch. And other TV box port to LAN switch. Is it possible?

            S 1 Reply Last reply Reply Quote 0
            • S
              stijnrosaer @renat_kaa
              last edited by

              @Renat That would be a wonderful solution. Unfortunately, there is only one port on the TV box

              R 1 Reply Last reply Reply Quote 0
              • R
                renat_kaa @stijnrosaer
                last edited by renat_kaa

                @stijnrosaer sorry, you said this box has two mac addresses. In this case you have to use port forwarding or reverse proxy.
                Please tell me what is the idea of public ip for this box. Maybe it will help to find the solution.

                S 1 Reply Last reply Reply Quote 0
                • S
                  stijnrosaer @renat_kaa
                  last edited by

                  @Renat The Public IP is in the range of 10.201.. and is given by a DHCP server from my ISP

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    renat_kaa @stijnrosaer
                    last edited by

                    @stijnrosaer I mean the reason. Why TV box should have public ip? Remote access or other reason?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      stijnrosaer @renat_kaa
                      last edited by

                      @Renat said in Public IP for device on LAN:

                      @stijnrosaer I mean the reason. Why TV box should have public ip? Remote access or other reason?

                      That is because my ISP only allows the extra's like playback-TV, sport channels, ... to be active when connected to their server using that 10.201.*. * address

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        renat_kaa @stijnrosaer
                        last edited by

                        @stijnrosaer hmm... so, if you connect your tv box to your lan and set the gateway it will connect to your ISP with your public 10... ip, the same as your main pfsense wan. Isn't it enough? Or you need to set different ip for tv box?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          stijnrosaer @renat_kaa
                          last edited by

                          @Renat For my router I get an public DHCP IP, accessable over the internet. The box uses another "private" IP (Given by dhcp by my ISP)

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            renat_kaa @stijnrosaer
                            last edited by

                            @stijnrosaer I see. Are you using PPP connection to the internet? I don't understand your ISP connections. Could you share a simple scheme of your connections with all key interfaces?

                            1 Reply Last reply Reply Quote 0
                            • S
                              stijnrosaer
                              last edited by stijnrosaer

                              1eef312b-fa34-45c9-b483-ebfb3f2d6861-image.png

                              This is what i need to achieve. The public IP is received by DHCP and is in the form om 81. * .* .*
                              The 10.201.* .* is also received by DHCP
                              Also the internal ip addresses are handled by the router

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

                                Buy a managed switch.. That is the only way your going to fix this so you can put the tv box on the L2 that is between them and your pfsense box.

                                Or just get another dumb switch to use between the modem and pfsense and tv box

                                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.