diff --git a/xCAT/postscripts/routeop b/xCAT/postscripts/routeop index 8fb22fc6f..c0297364f 100755 --- a/xCAT/postscripts/routeop +++ b/xCAT/postscripts/routeop @@ -439,7 +439,7 @@ if [ "$op" = "add" ]; then else if [ "$(uname -s)" = "Linux" ]; then if [ "$gw" = "" -o "$gw" = "0.0.0.0" ] ; then - cmd="route add -net $net netmask $mask dev $iface" + cmd="route add -net $net netmask $mask dev $ifname" else cmd="route add -net $net netmask $mask gw $gw" fi