Merge branch 'gre_netns'
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 18:53:53 +0000 (14:53 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 18:53:53 +0000 (14:53 -0400)
Nicolas Dichtel says:

====================
gre: allow to switch netns during encap/decap

The goal of this serie is to add x-netns support for the module ip_gre and
ip6_gre, ie the encapsulation addresses and the network device are not owned by
the same namespace.

Example to configure an ipv4 gre tunnel:

modprobe ip_gre
ip netns add netns1
ip netns exec netns1 ip link set lo up
ip link add gre1 type gre remote 10.16.0.121 local 10.16.0.249 ikey 10 okey 10 csum
ip link set gre1 netns netns1
ip netns exec netns1 ip link set gre1 up
ip netns exec netns1 ip addr add dev gre1 192.168.0.249 remote 192.168.0.121
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge
This page took 0.024992 seconds and 5 git commands to generate.