28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Finally, configure the domain’s IGP traffic to use the IPSec tunnel:<br />

[edit protocols ospf area 0.0.0.0]<br />

aviva@RouterA# set interface so-0/0/0<br />

aviva@RouterA# set interface lo0.0 passive<br />

aviva@RouterA# set interface sp-1/2/1<br />

<strong>Discussion</strong><br />

The JUNOS IPSec configuration for routers with AS PICs is quite a bit different than<br />

that for the ES PIC, because the PIC uses a different ASIC that has its own architecture.<br />

Instead of configuring at the [edit security] hierarchy, you configure IPSec at<br />

the [edit services] hierarchy, creating what the JUNOS software calls service sets,<br />

which define IPSec VPN rules for setting up the IPSec and IKE SAs. You also create<br />

service sets and rules for other services that require the AS PIC, such as Network<br />

Address Translation (NAT) and stateful firewalls. The M-series and T-series routers<br />

have built-in AS PICs. You use the same configuration on J-series routers, which<br />

don’t use an AS PIC but instead have built-in software emulation of the AS PIC<br />

functionality.<br />

The basic requirements for configuring IPSec on an interface with an AS PIC are the<br />

same as for the ES PIC. You define an IKE policy and negotiation proposal and create<br />

an IPSec policy and proposal. This recipe uses the default IKE and IPSec policy and<br />

proposal settings (see Table 3-1), so no configuration commands are necessary.<br />

Table 3-1. IPSec and IKE defaults with AS PIC<br />

Value IKE default IPSec default<br />

Proposal values<br />

Authentication algorithm SHA-1 HMAC SHA-1-96<br />

Authentication method Preshared keys Not applicable<br />

Diffie-Hellman keys<br />

group2 (1,024-bit Diffie-Hellman<br />

Not applicable<br />

scheme)<br />

Encryption algorithm Triple DES CBC Triple DES CBC<br />

Protocol Not applicable ESP<br />

SA lifetime 3,600 seconds 28,800 seconds<br />

Policy values<br />

Proposal name to reference Default Default<br />

PFS Diffie-Hellman keys Not applicable group2 (1,024-bit Diffie-Hellman<br />

scheme)<br />

Policy mode main Not applicable<br />

The first part of this recipe configures IKE. The set ike policy command defines an<br />

IKE policy. This recipe use the default policy settings. Because preshared keys is the<br />

default authentication method for IKE, you have to configure the key itself.<br />

Creating IPSec Dynamic SAs on J-Series Routers or Routers with AS PICs | 117<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!