[j-nsp] Packet mode "mpls" (was Layer 2 feature on srx)

ashish verma ashish.scit at gmail.com
Wed Apr 11 21:56:32 EDT 2012


Here is some explanation.

Branch SrX Series Services Gateways process packets using flow-based
forwarding by default. For the next several releases, the flow module will
support only IP traffic. When MPLS is configured, there is no way of
knowing if an IP packet entering the services gateway will require MPLS
encapsulation until the packet is processed, so enabling MPLS can be used
to force an SrX Series or J Series device to forward all IPv4 traffic in
packet mode.

security {

}

forwarding-options {
   family {

mpls {

          mode packet-based;
       }

} }

On Tue, Apr 10, 2012 at 5:37 PM, Pavel Lunin <plunin at senetsy.ru> wrote:

> Phil Mayers wrote:
>
> On 04/10/2012 06:17 AM, Doug Hanks wrote:
> >
> >> In the context of packet-mode, the family mpls is analogous to inet.
>  This
> >> is correct.
> >>
> >>
> > Not sure I understand this.
> >
> > "analogous" implies what, here? That enabling packet-mode for MPLS
> > implicitly enables it for IPv4?
> >
>
> Yep. Same for ISO.
>
>
> >
> > If that's the case, why is there also a "family inet" option?
> >
>
> Looks like first they meant to have different options for different
> families allowing to simultaneously have some in flow and some in packet
> mode. But it's already about… 4 years passed, I think, and it's still this
> way. Any family turned into packet mode turns the whole box. Sort of the
> same stuff as 'say per-packet mean per-flow' LB.
>
> There might be a difference for inet6 (I am not sure) since some version,
> in which the stateful processing for IPv6 was added. I just remember I
> needed to explicitly set the packet mode for it playing around something
> implied IPv6, otherwise it didn't work (or rather worked in flow-mode but I
> had no zones/policies). Must repeat, I'm not sure.
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list