Skip to main content
Scott103
New Member
Sep 28, 2021 6:04 PM UTC
Question

Multiple IP networks on a single L2?

I have always followed the unofficial best practice of putting only one L3 net (IP network) on a L2 network. If I added a network, I added a VLAN.

However, technically there is requirement for this: one can not just assign multiple IP addresses to an interface but the IPs can have different prefixes (and hence constitute different IP networks).

I am considering the following scenario: I have two sub nets routed over two different providers. I have some machines which should be accessible on both addresses. So I am considering creating a single VLAN called “WAN” that includes both networks. A node on this VLAN can then add either an IP from ISP1, an IP from ISP2 or both, depending on requirements.

Is there anything wrong with this? Should I ALWAYS create a separate L2 network for each IP network?

    1 reply

    Toshi_Esumi
    SuperUser
    SuperUser
    Sep 28, 2021 7:33 PM UTC

    I feel something isn't right with your description. First without a switch in front of your FGT (I'm assuming you're talking about arrangement around a FGT), you can't terminate two physical ISP circuits on one device.

    Then, with FGT's VLANs, they're not independent L2 interfaces unlike L3 switches. Each VLAN is bound to an L3 interface. So you can't have multiple L3 interfaces on a VLAN.

    Or are you NOT talking about FGT at all?

     

     

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT