Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  How to assign an IP for a VLAN ?

    This message was posted by a user wishing to remain anonymous
    Posted 08-18-2022 11:47
    This message was posted by a user wishing to remain anonymous

    Hello,


    I was using Cisco for configuring Switches , now I have a juniper switch stacked with another one juniper virtual chassis, 

    Bother are connected to a Mikrotik router in the same segment but I can't ping the IP on Mikrotik or even I can't ping my self on the same switch !!!!

    I want to know if I can't ping myself on the same Juniper Switch so where is the problem ? 


    Best Regards


  • 2.  RE: How to assign an IP for a VLAN ?

    This message was posted by a user wishing to remain anonymous
    Posted 08-25-2022 09:22
    This message was posted by a user wishing to remain anonymous

    Hi,

    Did you assign atleast 1 active port to the vlan ?

    Regards


  • 3.  RE: How to assign an IP for a VLAN ?

    Posted 09-30-2022 13:52
    Hello,

    So Juniper works a little bit different. Typically you create a VLAN and then assign an IRB to which acts like a cisco switch with vlan routing. Try this:

    zones {
    security-zone trust {
    tcp-rst;
    interfaces {
    irb.10 {
    host-inbound-traffic {
    system-services {
    all;
    }
    protocols {
    all;




    [edit interfaces]

    fxp0 {
    unit 0;
    }
    irb {
    unit 10 {
    family inet {
    address 10.0.0.1/30;



    VLANS {
    vlan-id 10;
    l3-interface irb.10;





    This is the equivalent to configuring a l3 vlan in cisco

    ------------------------------
    MATTHEW LOVELAND
    ------------------------------