Configuring GRE Site to Site with
Step 5: Configure the Cisco side:
cisco > config t cisco(config)#interface Ethernet2/0
cisco(config)#interface Tunnel 0
cisco(config)#ip route 0.0.0.0 0.0.0.0 192.168.55.254 cisco(config)#ip route 10.3.1.0 255.255.255.0 Tunnel0
18.4 Configuring GRE Site to Site with IPSec
This example extends the first example by adding encryption to the tunnel.
Step 1:Prepare the WAN link:
Blackbox> configure terminal |
|
Blackbox/ configure> interface bundle wan1 |
|
Blackbox/ configure/interface/bundle wan1> | link t1 1 |
Blackbox/ configure/interface/bundle wan1> | encapsulation ppp |
Blackbox/ configure/interface/bundle wan1> | ip address 192.168.94.220 255.255.255.0 |
Blackbox/ configure/interface/bundle wan1> | crypto untrusted |
Blackbox/ configure/interface/bundle wan1> | exit |
Step 2: Configure the tunnel:
Blackbox/ configure> interface tunnel t0 |
|
Blackbox/ configure/interface/tunnel t0> | ip address 103.1.1.2 24 |
Blackbox/ configure/interface/tunnel t0> | tunnel source 192.168.94.220 |
Blackbox/ configure/interface/tunnel t0> | tunnel destination 192.168.55.75 |
Blackbox/ configure/interface/tunnel t0> | tunnel protection grecisco secretkeyfortest |
Blackbox/ configure/interface/tunnel t0> | crypto untrusted |
Blackbox/ configure/interface/tunnel t0> | exit |
Step 3: Configure the routes:
Blackbox/ configure> ip route 0.0.0.0 0.0.0.0 192.168.94.254
Blackbox/ configure> ip route 40.1.1.0 24 t0
Step 4: Define the policy:
105