I wan't to add this to network-script, but I think that network-script don't have a key option?:
Code: Select all
ip tunnel add vti0 local 222.222.22.222 remote 33.333.333.333 mode vti key 41
ip link set vti0 up
ip addr add 169.254.42.206/30 dev vti0
Code: Select all
DEVICE=vti0
TYPE=IPIP
MY_OUTER_IPADDR=222.222.22.222
PEER_OUTER_IPADDR=33.333.333.333
MY_INNER_IPADDR=169.254.42.206/30
ONBOOT=yes
#XXX=41?????????
And here is what key option do: http://man7.org/linux/man-pages/man8/ip-tunnel.8.html
It is important for me because I wan to use it with Strongswan IpSec whitch has a mark number 41.
Can You help me?