2.
On each ERX router, create preshared keys for the three routers to use to authenticate
each other:
erx1(config)#
ipsec key manual pre-share 100.2.0.1
erx1(config-manual-key)#
key customerASecret
erx1(config-manual-key)#
exit
erx1(config)#
ipsec key manual pre-share 100.3.0.1
erx1(config-manual-key)#
key customerASecret
erx1(config-manual-key)#
exit
erx2(config)#
ipsec key manual pre-share 100.1.0.1
erx2(config-manual-key)#
key customerASecret
erx2(config-manual-key)#
exit
erx2(config)#
ipsec key manual pre-share 100.3.0.1
erx2(config-manual-key)#
key customerASecret
erx2(config-manual-key)#
exit
erx3(config)#
ipsec key manual pre-share 100.1.0.1
erx3(config-manual-key)#
exit
erx3(config-manual-key)#
key customerASecret
erx3(config)#
ipsec key manual pre-share 100.2.0.1
erx3(config-manual-key)#
key customerASecret
erx3(config-manual-key)#
exit
3.
On erx1 create two IPSec tunnels, one to carry customer A's traffic between Ottawa
and Boston and another to carry the traffic between Ottawa and Boca:
Tunnel 1:
erx1(config)#
interface tunnel ipsec:Aottawa2boston
erx1(config-if)#
tunnel transform-set customerAprotection
erx1(config-if)#
tunnel local-identity subnet 200.1.0.0 255.255.0.0
erx1(config-if)#
tunnel peer-identity subnet 200.3.0.0 255.255.0.0
erx1(config-if)#
tunnel source 100.1.0.1
erx1(config-if)#
tunnel destination 100.3.0.1
erx1(config-if)#
ip address 200.3.0.0 255.255.0.0
erx1(config-if)#
exit
Tunnel 2:
erx1(config)#
interface tunnel ipsec:Aottawa2boca
erx1(config-if)#
tunnel transform-set customerAprotection
erx1(config-if)#
tunnel local-identity subnet 200.1.0.0 255.255.0.0
erx1(config-if)#
tunnel peer-identity subnet 200.2.0.0 255.255.0.0
erx1(config-if)#
tunnel source 100.1.0.1
erx1(config-if)#
tunnel destination 100.2.0.1
erx1(config-if)#
ip address 200.2.0.0 255.255.0.0
erx1(config-if)#
exit
4.
On erx2 create two IPSec tunnels, one to carry customer A's traffic between Boca
and Ottawa and another to carry the traffic between Boca and Boston:
Tunnel 1:
erx2(config)#
interface tunnel ipsec:Aboca2ottawa
erx2(config-if)#
tunnel transform-set customerAprotection
erx2(config-if)#
tunnel local-identity subnet 200.2.0.0 255.255.0.0
erx2(config-if)#
tunnel peer-identity subnet 200.1.0.0 255.255.0.0
erx2(config-if)#
tunnel source 100.2.0.1
erx2(config-if)#
tunnel destination 100.1.0.1
Copyright © 2010, Juniper Networks, Inc.
154
JunosE 11.2.x IP Services Configuration Guide
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...