SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  What should I do to use the same VLAN by two or more VRF?

    Posted 04-04-2017 20:55

    It can do in following config to use multiple ip addresses for the same VLAN.

    vlans {
        Vlan100 {
            vlan-id 100;
            l3-interface vlan.100;
        }
    }
    interfaces {
        ge-0/0/0 {
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members [ 10 20 ];
                    }
                }
            }
        }
        ge-0/0/1 {
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members 100;
                    }
                }
            }
        }
        vlan {
            unit 10 {
                family inet {
                    address 172.16.10.1/24;
                }
            }
            unit 20 {
                family inet {
                    address 172.16.20.1/24;
                }
            }
            unit 100 {
                family inet {
                    address 192.168.0.1/24;
                    address 192.168.0.2/24;
                    address 192.168.0.3/24;
                }
            }
        }
    }

    However, it becomes an error to use each IP for every VRF.

    routing-instances {
        VR01 {
            description Customer01;
            instance-type virtual-router;
            interface vlan.10;
            interface vlan.100;
        }
        VR02 {
            description Customer02;
            instance-type virtual-router;
            interface vlan.20;
            interface vlan.100;
        }
    }

    [edit routing-instances VR02 interface]
      'vlan.100'
        RT Instance: Interface vlan.100 already configured under instance VR01

    What should I do to use the same VLAN by two or more VRF?



  • 2.  RE: What should I do to use the same VLAN by two or more VRF?
    Best Answer

    Posted 04-05-2017 00:38

    Hi,

     

    Unfortunately there is no way you can use an interface in 2 differnet routing-instance VRs.

    an interface can be part of one security zone and one virtual router.

    However you can use same Ip in differnet routing-instances configured on different interfaces.

     

     

    Regards,

    Guru Prasad



  • 3.  RE: What should I do to use the same VLAN by two or more VRF?

    Posted 04-05-2017 01:57

    Thank you for the rapid response.

    > there is no way you can use an interface in 2 differnet routing-instance VRs.
    Yes, understood.

    > However you can use same Ip in differnet routing-instances configured on different interfaces.
    I knew that this method enabled it

    Because I want to use the same physics interface, I seem to use different ip.



  • 4.  RE: What should I do to use the same VLAN by two or more VRF?

    Posted 04-05-2017 02:15

     

    config should be made as follows, but cannot do it.

     

    vlans {
        Vlan100 {
            vlan-id 100;
            l3-interface vlan.100-1;
            l3-interface vlan.100-2;
        }
    }