有时我们的网络中可能划分了好几个网段,需要同时为多个网段内的主机分配 ip 地址,这时候就需要用到 dhcp 中继了。 在连接多个子网的路由器上启用 dhcp 中继功能
实验环境 VPC1:192.168.1.1 VPC2:192.168.2.2 安装 openswan 1 [root@wglee ~]# yum install openswan 编辑 /etc/ipsec.conf 文件,启用 /etc/ipsec.d/*.conf 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [root@wglee ~]# sudo vi /etc/ipsec.conf # /etc/ipsec.conf - Openswan IPsec configuration file # # Manual: ipsec.conf.5 # # Please place your