Re: [PATCH iproute2] ip_tunnel: determine tunnel address family from the tunnel type

2015-11-26 Thread Konstantin Shemyak
On 24.11.2015 02:26, Stephen Hemminger wrote: On Thu, 12 Nov 2015 21:10:08 + Konstantin Shemyak wrote: When creating an IP tunnel over IPv6, the address family must be passed in the option, e.g. ip -6 tunnel add mode ip6gre local 1::1 remote 2::2 This makes it impossible to create both I

Re: [PATCH iproute2] ip_tunnel: determine tunnel address family from the tunnel type

2015-11-23 Thread Stephen Hemminger
On Thu, 12 Nov 2015 21:10:08 + Konstantin Shemyak wrote: > When creating an IP tunnel over IPv6, the address family must be passed in > the option, e.g. > > ip -6 tunnel add mode ip6gre local 1::1 remote 2::2 > > This makes it impossible to create both IPv4 and IPv6 tunnels in one batch. >

[PATCH iproute2] ip_tunnel: determine tunnel address family from the tunnel type

2015-11-12 Thread Konstantin Shemyak
When creating an IP tunnel over IPv6, the address family must be passed in the option, e.g. ip -6 tunnel add mode ip6gre local 1::1 remote 2::2 This makes it impossible to create both IPv4 and IPv6 tunnels in one batch. In fact the address family option is redundant here, as each tunnel mode is