Changes for 2.6.32 kernel master svn/trunk
authorAndy Bavier <acb@cs.princeton.edu>
Tue, 17 May 2011 19:24:53 +0000 (19:24 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Tue, 17 May 2011 19:24:53 +0000 (19:24 +0000)
setup-egre-link
teardown-egre-link

index 7264bb3..dc31496 100755 (executable)
@@ -16,7 +16,7 @@ modprobe ip_gre
 
 ### Setup EGRE tunnel
 EGRE=d$LINK
-ip tunnel add $EGRE  mode gre type eth remote $REMOTE key $KEY ttl 64
+ip link add $EGRE type gretap remote $REMOTE key $KEY ttl 64
 ip link set $EGRE up
 
 ### Setup macvlan
index 46debc1..5de8447 100755 (executable)
@@ -7,5 +7,5 @@ LINK=${KEY}x${NODEID}
 EGRE=d$LINK
 
 # Get rid of EGRE tunnel and MACVLAN interface
-ip tunnel del $EGRE
+ip link del $EGRE