Changes for 2.6.32 kernel
[nodemanager-topo.git] / setup-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