Junos OS

last person joined: 4 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Valid encapsulation for interface

    Posted 04-15-2010 05:05

    Hi all!

    I want to configure 2 logical interface at 1 logical interface without VLAN encapsulation. I need to both interfaces were located in the same VLAN. Something like this:

    ge-1/0/0 {
        description "External - DMZ0";
        unit 1 {
            family inet {
                address a.b.c.d/29;
            }
        }
        unit 2 {
            family inet {
                address w.x.y.z/27;
            }
        }
    }

    niko@gw03# commit check
    [edit interfaces ge-1/0/0]
      'unit 1'
        Only unit 0 is valid for this encapsulation
    error: configuration check-out failed

     

    How can this be done?


    Thanks,

    Niko



  • 2.  RE: Valid encapsulation for interface
    Best Answer

    Posted 04-15-2010 11:07

    Hello there,

    Without "vlan-tagging" knob, only one unit is allowed on GigE interface and it has to be unit 0.

    I think static IP Demux interface fits your requirement but it is supported on MX or M120 only

    http://www.juniper.net/techpubs/en_US/junos10.1/information-products/topic-collections/config-guide-network-interfaces/topic-25484.html

    As to other router models, you could do the following:

    -- if you need more than 1 IP address to be present in the same LAN, then please configure secondary IPs on unit 0 family inet.

    -- if you need 2 untagged Ethernet logical interfaces in the same LAN for the purposes of shaping/CoS etc then you could use 2 physical ports or alternatively look into "virtual-channels" feature on J-series routers.

    HTH

    Regards

    Alex



  • 3.  RE: Valid encapsulation for interface

    Posted 04-15-2010 12:52

    Thanks. I will use 2 ports on my J2320.

     

    Regards

    Niko