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

    Multiple Interfaces With the Same VLAN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 1.9k 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.
    • SoloamS Offline
      Soloam
      last edited by

      Hello, sorry if this is a stupid question, but is it possible to have more that one interface using the same VLAN? I will explay.

      In my ISP I replaced the router by the pfsense box. The signal arrives at my home on VLAN 10. I set my WAN to type VLAN 10 and all works fine.  The situation is that I'm able to use more that one public IP address. For example, if I connect my ISP cable, and then to multiple routers, I get one public IP address for eatch router.

      On my home network my pfsense box is managing all the network, but I still need my ISP router to have IPTV, so my current network is:

      The Switch Sends VLAN10 To both ISP Router and PFsense

      My idea is:
      PFSense recives VLAN10, and makes a bridge to a LAN Port (VLAN10), next the switch splits the VLAN's, and IF possible Use PFsense to use 2 public IP's inseted of one.

      Is this possible.

      I tried a solution, created 2 Interfaces, ISP_IN (em0_VLAN10) ISP_out(em1_VLAN10), a bridge (bridge0) connecting ISP_IN, ISP_OUT. WAN Assign to bridge 0. In this configuration, I have IP address on PFSense, and It passes traffic to the ISP Router, but my IPTV doesn't work, probaly some packages being lost. And only one IP in Pfsense

      Can any one help me?

      Best Regards

      1 Reply Last reply Reply Quote 0
      • SoloamS Offline
        Soloam
        last edited by

        Ok, I solved my problem with passing the wan by pfsense to my isp router.

        Now the other problem. How can I use the 3rd IP that my ISP provides to me? I looked at VIP, but they don't seem to work in DHCP. So is there any way to assign a second IP to my WAN interface by DHCP?

        Thank you in advance

        1 Reply Last reply Reply Quote 0
        • DerelictD Offline
          Derelict LAYER 8 Netgate
          last edited by

          Someone else can correct me but I don't believe there's any way to tell pfSense to obtain a second IP via DHCP.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • SoloamS Offline
            Soloam
            last edited by

            That is my conclusion too, that is a real shame. Any idea if I can accomplish ths via a VLAN capable switch. The main problem is the ISP VLAN set to 10. I would need something like:

            In port VLAN10, and the pfsense link to transport 2 VLAN's, one for etch IP. Is this possible with VLAN tagging?

            Thank You

            1 Reply Last reply Reply Quote 0
            • L Offline
              lonevipr
              last edited by

              @Derelict:

              Someone else can correct me but I don't believe there's any way to tell pfSense to obtain a second IP via DHCP.

              I'm sure this seems too simple, but assuming you had multiple NICs. 2 inbound (from ISP connecting to your modem) & 1 or 2 out to your switch. You should just be able to add a new interface for your other NIC. Interface -> Assign. You should then be able to select that new interface coming in from modem & set the IPv4 config type to DHCP just like the regular WAN interface. Now you may need more than 1 outbound to your switch. You may need 2, one for each IP. I don't know if data from 2 public IPs can be piped over 1 NIC to your network.

              Running pfSense 2.2-RELEASE (amd64)

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