Junos
Reply
Contributor
niko
Posts: 13
Registered: ‎01-24-2010
0
Accepted Solution

Valid encapsulation for interface

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

Distinguished Expert
aarseniev
Posts: 1,631
Registered: ‎08-21-2009
0

Re: Valid encapsulation for interface

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-...

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

___________________________________
Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Contributor
niko
Posts: 13
Registered: ‎01-24-2010
0

Re: Valid encapsulation for interface

Thanks. I will use 2 ports on my J2320.

 

Regards

Niko

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.