Configure an address and install a route (Fedora/RHEL/Centos site-to-site)
An example of how to configure a loop-back interface, address and route for the IPsec site-to-site VPN use case.
$ ip link add lo1 type dummy
$ ip link set lo1 up
$ ip address add 10.200.0.1/24 dev lo1
$ ip address add 172.16.0.4/24 dev ens1
$ ip route add 10.10.2.0/29 via 172.16.0.254
this example: ens1
is an interface that points to a remote peer (Vyatta NOS hub); lo1
is a dummy interface, as the server acts as standalone app server.