Switching

last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Juniper EX Series Inter Vlan

    Posted 02-16-2014 02:09

    Hi Everyone,

    It may great if you can help me with my problem.

     

    I have EX2200 switch (L3 switch) and I need to setup an Intervlan Routing so User from different vlan can communicate each other. My problem is i've already config my switch but still unable to achieve my goal. 

    Please see below my configuration.

     

    Vlan Interface:

    vlan {
             unit 10 {
                     family inet {
                     address 10.10.10.1/24;
                     }
             }
             unit 20 {
                    family inet {
                    address 20.20.20.1/24;
                     }
              }
              unit 259 {
                      family inet {
                      address 121.96.56.232/28;
                      }
              }
    }

     

    Interface Port Mode:

     

    interfaces {
               ge-0/0/0 {
                          unit 0 {
                              family ethernet-switching {
                                   port-mode access;
                                   vlan {
                                          members vlan10;
                                   }
                              }
                           }
                 }
                 ge-0/0/1 {
                          unit 0 {
                              family ethernet-switching {
                                    port-mode access;
                                    vlan {
                                           members vlan20;
                                    }
                               }
                          }
                 }
                ge-0/0/2 {
                         unit 0 {
                                family ethernet-switching {
                                     port-mode access;
                                     vlan {
                                          members vlan259;
                                     }
                                 }
                           }
                 }

    }

     

    Vlan Interface binding:

     

    vlans {
             vlan10 {
                     vlan-id 10;
                     interface {
                            ge-0/0/0.0;
                      }
                     l3-interface vlan.10;
             }
             vlan20 {
                    vlan-id 20;
                    interface {
                            ge-0/0/1.0;
                    }
                    l3-interface vlan.20;
             }
             vlan259 {
                   vlan-id 259;
                    interface {
                            ge-0/0/2.0;
                    }
                    l3-interface vlan.259;
             }
    }

     

    I'm not so sure if i missed anything else on my configuration. 

     

    best regards,

    JM Espanol



  • 2.  RE: Juniper EX Series Inter Vlan

    Posted 02-16-2014 03:12

    Yehp sure, you did not miss any thing but some time overdoing is not good. You have assigned interfaces to vlan at two different hierarchies , one under interfaces and under vlan, delete one of it I hope this will resolve your problem



  • 3.  RE: Juniper EX Series Inter Vlan

    Posted 02-16-2014 03:36
      |   view attached

    Hi Kashif Nawaz,

     

    I've already done with that but still not working.

     

    Please see my configuration attached on this.

     

    kind regards,

     

    JM Espanol

    Attachment(s)

    txt
    config_.txt   7 KB 1 version


  • 4.  RE: Juniper EX Series Inter Vlan

     
    Posted 02-16-2014 10:05

    output of show route could be helpful, as well as show interface terse.

     

    Not that it will affect L3 routing but you're tagging vlan 30 with id 259.

     

        vlan30 {
            vlan-id 259;
    

     



  • 5.  RE: Juniper EX Series Inter Vlan

    Posted 02-16-2014 18:30

    Hi smicker,

     

    Sorry I forgot to edit that one that would be vlan-id 30.

     

    kind regards,

    JM Espanol



  • 6.  RE: Juniper EX Series Inter Vlan

    Posted 02-17-2014 00:02

    Hi Guys,

     

    I found out whats wrong with my setup. I've configured my end device with wrong default gateway. However I'm still having a problem.

     

    vlan.png

     

    Image above will be my setup. As of now my DNS server is configured with IP and Gateway above. As you can see DNS server is not configured with Gateway IP 30.30.30.1 as my configuration on juniper switch that's the reason why vlan 10 and vlan 20 won't able to reach the dns server.

     

    To achieve my setup do i need to configure my juniper switch with routing? What is my route?

     

    set routing-option static route 0.0.0.0/0 next-hop 30.30.30.2

     

    or 

     

    set routing-option static route 0.0.0.0/0 next-hop 30.30.30.10 

     

    Please advise.

     



  • 7.  RE: Juniper EX Series Inter Vlan
    Best Answer

     
    Posted 02-17-2014 04:43

    It should be,

    set routing-option static route 0.0.0.0/0 next-hop 30.30.30.2

     

    Thanks,

    /Charlie



  • 8.  RE: Juniper EX Series Inter Vlan

    Posted 02-17-2014 13:33

    The DNS server and all clients on the vlan 30 would need to use the vlan.30 IP address 30.30.30.1 as the gateway, otherwise, how will the traffic leave the vlan? Unless you create a static route on the DNS server for destination 30.30.30.2 gateway 30.30.30.1

    And yes the GW or the switch to use should be

    set routing-option static route 0.0.0.0/0 next-hop 30.30.30.2



  • 9.  RE: Juniper EX Series Inter Vlan

    Posted 02-17-2014 21:59

    Hi lyndidon,

     

    I appreciate your explanation it  helps me.

     

    kind regards,

    JM