3Com Switch 8800 Family IPsec Module Configuration and Command reference Guide

IPsec Configuration Example 167
IPsec Configuration
Example
Network requirements
An IPsec Tunnel is established between the IPsec module and the Router. Therefore
the data stream between PC_A and PC_B is protected when it is transferred by a
unsecured network.
Network diagram
Figure 38 Network diagram for IPsec
Configuration procedure
1 PC_A
IP address: 10.0.0.1/24
Gateway: 10.0.0.254
2 PC_B
IP address: 20.0.0.1/24
Gateway: 20.0.0.254
3 Router
# Configure the interface IP address.
<Router> system-view
[Router] interface GigabitEthernet 0/0
[Router-GigabitEthernet0/0] ip address 50.0.0.1 24
[Router-GigabitEthernet0/0] quit
[Router] interface GigabitEthernet 0/1
[Router-GigabitEthernet0/0] ip address 20.0.0.254 24
[Router-GigabitEthernet0/0] quit
# Configure ACL rules.
Switch 8800