Re: IPIP tunnel peer ipv4 address



On Fri, 2017-04-07 at 13:43 +0100, Radu Rendec wrote:
I'm trying to setup an IPIP tunnel using nmcli. I can create the
tunnel
using, e.g.:

nmcli con add type ip-tunnel mode ipip ifname tun0 remote 10.0.4.1
local 10.0.8.1

And then I can assign an ipv4 address using:

nmcli con mod ip-tunnel-tun0 ipv4.address 192.168.9.1

However, I'm not able to set the peer ipv4 address (the "inner"
address
of the remote end of the tunnel). What I'm looking for is the NM
equivalent of this:

ip addr add 192.168.9.1 peer 192.168.9.2 dev tun0

What is the NM way to configure something similar to the above?

Thanks!

Hi,


NM doesn't support setting peers for IP addresses.

You might be able to use a dispatcher script (man NetworkManager),
but that is not great workaround.


Could you elaborate why you need that?


Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]