Switching

Expand all | Collapse all

Unable to connect ex2200 to the internet

Jump to Best Answer
  • 1.  Unable to connect ex2200 to the internet

    Posted 08-02-2019 04:36
      |   view attached

    Hello experts

     

    I am trying to set up a lab for my juniper ex2200 practice. I wish to connect to the internet through the switch. I have attached my lab topology as well. I used a nano router/modem to connect to my home access point in client mode and connected ethernet from nano router(TP-Link TL-WR802N Wireless N300 ) to the port ge-0/0/0 of the ex switch.  The port ge-0/0/0 is in access mode and their VLAN members are 10. The port ge-0/0/1 is on trunk mode with vlan members 10 and 20. I connected my laptop to this port and configured IP manually on the same subnet as the nano router. The ping to the nano router fails. I took a packet capture on the ge-0/0/1, i don't see any ICMP request coming in the interface of the switch or arp request from my laptop. No traffic at all. I don't know what I am missing here. I would appreciate all inputs guys!!   

     

    Interfaces used :

    ge-0/0/0 vlan 10

    ge-0/0/1 Vlan 20 vlan 10

     

    This is the configuration on my switch

    root@Juniper-lab> show interfaces terse

    Interface               Admin Link Proto    Local                 Remote

    ge-0/0/0                up    up

    ge-0/0/0.0              up    up   eth-switch

    ge-0/0/1                up    up

    ge-0/0/1.0              up    up   eth-switch

    ge-0/0/2                up    down

    ge-0/0/2.0              up    down eth-switch

    ge-0/0/3                up    down

    ge-0/0/3.0              up    down eth-switch

    ge-0/0/4                up    down

    ge-0/0/4.0              up    down eth-switch

    ge-0/0/5                up    down

    ge-0/0/5.0              up    down eth-switch

    ge-0/0/6                up    down

    ge-0/0/6.0              up    down eth-switch

    ge-0/0/7                up    down

    ge-0/0/7.0              up    down eth-switch

    ge-0/0/8                up    down

    ge-0/0/8.0              up    down eth-switch

    ge-0/0/9                up    down

    ge-0/0/9.0              up    down eth-switch

    ge-0/0/10               up    down

    ge-0/0/10.0             up    down eth-switch

    ---(more)---

                                           

    ge-0/0/11               up    down

    ---(more)---

                                           

    ge-0/0/11.0             up    down eth-switch

    ge-0/0/12               up    down

    ge-0/0/12.0             up    down eth-switch

    ge-0/0/13               up    down

    ge-0/0/13.0             up    down eth-switch

    ge-0/0/14               up    down

    ge-0/0/14.0             up    down eth-switch

    ge-0/0/15               up    down

    ge-0/0/15.0             up    down eth-switch

    ge-0/0/16               up    down

    ge-0/0/16.0             up    down eth-switch

    ge-0/0/17               up    down

    ge-0/0/17.0             up    down eth-switch

    ge-0/0/18               up    down

    ge-0/0/18.0             up    down eth-switch

    ge-0/0/19               up    down

    ge-0/0/19.0             up    down eth-switch

    ge-0/0/20               up    down

    ge-0/0/20.0             up    down eth-switch

    ge-0/0/21               up    down

    ge-0/0/21.0             up    down eth-switch

    ge-0/0/22               up    down

    ge-0/0/22.0             up    down eth-switch

    ---(more 64%)---

                                            

    ge-0/0/23               up    down

    ge-0/0/23.0             up    down eth-switch

    bme0                    up    up

    bme0.32768              up    up   inet     128.0.0.1/2    

                                                128.0.0.16/2   

                                                128.0.0.32/2   

                                       tnp      0x10           

    dsc                     up    up

    gre                     up    up

    ipip                    up    up

    lo0                     up    up

    lo0.16384               up    up   inet     127.0.0.1           --> 0/0

    lsi                     up    up

    me0                     up    down

    me0.0                   up    down inet   

    mtun                    up    up

    pimd                    up    up

    pime                    up    up

    tap                     up    up

    vlan                    up    up

    vlan.0                  up    down inet   

    vlan.10                 up    up   inet     192.168.2.10/24

    vlan.11                 up    down

    ---(more 95%)---

                                           

    vlan.20                 up    up   inet     192.168.2.20/24

    vlan.30                 up    down

    vme                     up    down

     

     

    {master:0}[edit]

    root@Juniper-lab# show

    ## Last changed: 2019-08-02 00:18:05 EDT

    version 12.3R12-S12;

    system {

        host-name Juniper-lab;

        time-zone EST;

        root-authentication {

            encrypted-password "$1$y/2BcmgP$5skNbJmzk2qaXl4svvU2k."; ## SECRET-DATA

        }

        services {

            finger;

            ftp;

            ssh;

            telnet;

            netconf {

                ssh;

            }

        }

        syslog {

            user * {

                any emergency;

            }

            file messages {

                any notice;

    ---(more)---

                                           

                authorization info;

    ---(more)---

                                           

            }

            file interactive-commands {

                interactive-commands any;

            }

        }

    }

    chassis {

        auto-image-upgrade;

    }

    interfaces {

        ge-0/0/0 {

            unit 0 {

                family ethernet-switching {

                    vlan {

                        members red;

                    }

                }

            }

        }

        ge-0/0/1 {

            unit 0 {

                family ethernet-switching {

                    port-mode trunk;

    ---(more 16%)---

                                           

                    vlan {

                        members [ blue red ];

                    }

                }

            }

        }

        ge-0/0/2 {

            unit 0 {

                family ethernet-switching {

                    vlan {

                        members support;

                    }

                }

            }

        }

        ge-0/0/3 {

            unit 0 {

                family ethernet-switching {

                    vlan {

                        members zone11;

                    }

                }

            }

    ---(more 25%)---

                                           

        }

        ge-0/0/4 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/5 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/6 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/7 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/8 {

            unit 0 {

    ---(more 33%)---

                                           

                family ethernet-switching;

            }

        }

        ge-0/0/9 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/10 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/11 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/12 {

            unit 0 {

                family ethernet-switching;

            }

        }

    ---(more 41%)---

                                           

        ge-0/0/13 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/14 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/15 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/16 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/17 {

            unit 0 {

                family ethernet-switching;

    ---(more 49%)---

                                           

            }

        }

        ge-0/0/18 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/19 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/20 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/21 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/22 {

    ---(more 58%)---

                                           

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/0/23 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/1/0 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/1/1 {

            unit 0 {

                family ethernet-switching;

            }

        }

        ge-0/1/2 {

            unit 0 {

                family ethernet-switching;

            }

    ---(more 66%)---

                                           

        }

        ge-0/1/3 {

            unit 0 {

                family ethernet-switching;

            }

        }

        me0 {

            unit 0 {

                family inet {

                    dhcp {

                        vendor-id Juniper-ex2200-24p-4g;

                    }

                }

            }

        }

        vlan {

            unit 0 {

                family inet {

                    dhcp {

                        vendor-id Juniper-ex2200-24p-4g;

                    }

                }

            }

    ---(more 74%)---

                                           

            unit 10 {

                family inet {

                    address 192.168.2.10/24;

                }

            }

            unit 11;

            unit 20 {

                family inet {

                    address 192.168.2.20/24;

                }

            }

            unit 30;

        }

    }

    forwarding-options {

        helpers {

            bootp {

                server 192.168.2.254;

                interface {

                    vlan.20;

                }

            }

        }

    ---(more 82%)---

                                            

    }

    routing-options {

        static {

            route 0.0.0.0/0 {

                next-hop 192.168.2.254;

                qualified-next-hop 192.168.2.1;

            }

        }

    }

    protocols {

        igmp-snooping {

            vlan all;

        }

        rstp;

        lldp {

            interface all;

        }

        lldp-med {

            interface all;

        }

    }

    ethernet-switching-options {

        storm-control {

    ---(more 91%)---

                                           

            interface all;

        }

    }

    vlans {

        blue {

            vlan-id 20;

            l3-interface vlan.20;

        }

        default {

            l3-interface vlan.0;

        }

        red {

            vlan-id 10;

            l3-interface vlan.10;

        }

        support {

            vlan-id 30;

        }

        zone11 {

            vlan-id 11;

        }

    }

    poe {

    ---(more 99%)---

                                           

        interface all;

    }

     

     

     

     

    Attachment(s)

    pdf
    Lab topology.pdf   322K 1 version


  • 2.  RE: Unable to connect ex2200 to the internet
    Best Answer

     
    Posted 08-02-2019 04:54

    You have connected your laptop to a trunk port with vlan tagging.  Did you also change the interface settings on your laptop from the default access untagged operation to look for the assigned vlan tag?

     

    Also I note that you have two vlans configured using the same broadcast domain ip range.  This would be non-standard and could also unintentially isolate traffic in that same ip range from each other.

     



  • 3.  RE: Unable to connect ex2200 to the internet

    Posted 08-02-2019 11:51

    Thank you for your reply. You are right, I noticed that I have not tagged the interface on my laptop, this caused the issue. After I tagged the ethernet interface on the laptop, I was able to connect to the internet.