Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Question about vlan routing on an EX 3300

    Posted 08-26-2016 20:01
      |   view attached

    I'm setting up a test environment/lab and am not able to get routing from a host on a vlan to off of the switch on to a separate network.

     

    Vlan33 ( cloud )

    Host A ( 192.168.33.10 )

    The switch is 192.168.33.1

     

    Vlan5 ( wan )

    I have an old router at 192.168.5.1

    The switch has an ip 192.168.5.2

     

    HostA can ping 192.168.5.2, but never 192.168.5.1 which leads to the outside world.

     

    I can ping from outside to 192.168.5.2.  And on the 192.168.5.x network I can ping 192.168.5.1.

     

    I have set up other vlans ( 172.16.2 ) and put hosts on them and all the hosts can ping between themselves ( 192.168.33.x  to/from 172.16.2.x ) across vlans with no issues.

     

    I upgraded to 12.3R12.4 tonight but that didn't make a difference.

     

    I have a static route set up:

    routing-options {
        static {
            route 0.0.0.0/0 next-hop 192.168.5.1;
        }
    }
    root@switch1> show route
    
    inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    0.0.0.0/0          *[Static/5] 02:11:19
                        > to 192.168.5.1 via vlan.5
    172.16.1.5/32      *[Local/0] 02:14:31
                          Reject
    172.16.2.1/32      *[Local/0] 02:14:27
                          Reject
    192.168.5.0/24     *[Direct/0] 02:05:45
                        > via vlan.5
    192.168.5.2/32     *[Local/0] 02:05:45
                          Local via vlan.5
    192.168.33.0/24    *[Direct/0] 02:14:15
                        > via vlan.33
    192.168.33.1/32    *[Local/0] 02:14:27
                          Local via vlan.33
    

    show interfaces terse

    vlan                    up    up
    vlan.2                  up    down inet     172.16.2.1/24
    vlan.5                  up    up   inet     192.168.5.2/24
    vlan.33                 up    up   inet     192.168.33.1/24
    root@switch1:RE:0% ping -c 3 192.168.5.1
    PING 192.168.5.1 (192.168.5.1): 56 data bytes
    64 bytes from 192.168.5.1: icmp_seq=0 ttl=64 time=2.581 ms
    64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=1.864 ms
    64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=2.074 ms
    
    --- 192.168.5.1 ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 1.864/2.173/2.581/0.301 ms
    
    
    root@switch1:RE:0% ping -c 3 -F 192.168.33.1 192.168.5.1
    PING 192.168.5.1 (192.168.5.1): 56 data bytes
    ^C
    --- 192.168.5.1 ping statistics ---
    3 packets transmitted, 0 packets received, 100% packet loss

    I'm guessing it's something really simple but any help would be greatly appreciated.

    Attachment(s)

    txt
    switch.config.txt   4 KB 1 version


  • 2.  RE: Question about vlan routing on an EX 3300
    Best Answer

     
    Posted 08-26-2016 20:18

    Hello,

     

    On the Router with IP 192.168.5.1, do you have a route to 192.168.33.0/24 pointing tp 192.168.5.2 i.e. EX3300?

    I think that should be the problem.

     

    Regards,

     

    Rushi



  • 3.  RE: Question about vlan routing on an EX 3300

    Posted 08-27-2016 10:25

    I think you are absolutely correct!  I woke up this morning thinking that might be it and I'll test it as soon as I can.

     

    Thanks for the pointer!!