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
using, e.g.:

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

And then I can assign an ipv4 address using:

nmcli con mod ip-tunnel-tun0 ipv4.address

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

ip addr add peer dev tun0

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



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?


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]