diff options
author | David S. Miller <davem@davemloft.net> | 2014-04-23 14:53:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-23 14:53:53 -0400 |
commit | 2abf967b9304bdc0f6e2b42d4e7a25c3556c0fc4 (patch) | |
tree | 517df35a906e4ab98a0e9e4a7d746cf69c625e33 /drivers | |
parent | 893f66277799cd46bdf97429cc5d16a815a51273 (diff) | |
parent | 22f08069e8b415b827e910ad75ed55eeadc4a877 (diff) | |
download | linux-2abf967b9304bdc0f6e2b42d4e7a25c3556c0fc4.tar.bz2 |
Merge branch 'gre_netns'
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions